Made Imprint optional
This commit is contained in:
parent
a8f2136736
commit
8614b71e94
1 changed files with 63 additions and 112 deletions
|
@ -88,119 +88,70 @@ const Imprint = () => {
|
|||
} = useImprintData();
|
||||
|
||||
return (
|
||||
<ListContainer>
|
||||
<Hl>About</Hl>
|
||||
<ItemList>
|
||||
<ItemContainer>
|
||||
<SHl>Imprint</SHl>
|
||||
<Modal element="text" text="View Imprint">
|
||||
<Headline>Legal Disclosure</Headline>
|
||||
{error && <ErrorMessage>{error}</ErrorMessage>}
|
||||
<ModalSubHeadline>
|
||||
Information in accordance with section 5 TMG
|
||||
</ModalSubHeadline>
|
||||
{!error && (
|
||||
<>
|
||||
<Link href={name.link}>{name.text}</Link>
|
||||
<Link href={address.link}>{address.text}</Link>
|
||||
<Link href={phone.link}>{phone.text}</Link>
|
||||
<Link href={email.link}>{email.text}</Link>
|
||||
<Link href={url.link}>{url.text}</Link>
|
||||
</>
|
||||
)}
|
||||
<Headline>Disclaimer</Headline>
|
||||
<ModalSubHeadline>Accountability for content</ModalSubHeadline>
|
||||
<Text>
|
||||
The contents of our pages have been created with the utmost care.
|
||||
However, we cannot guarantee the contents' accuracy, completeness
|
||||
or topicality. According to statutory provisions, we are
|
||||
furthermore responsible for our own content on these web pages. In
|
||||
this matter, please note that we are not obliged to monitor the
|
||||
transmitted or saved information of third parties, or investigate
|
||||
circumstances pointing to illegal activity. Our obligations to
|
||||
remove or block the use of information under generally applicable
|
||||
laws remain unaffected by this as per §§ 8 to 10 of the Telemedia
|
||||
Act (TMG).
|
||||
</Text>
|
||||
<ModalSubHeadline>Accountability for links</ModalSubHeadline>
|
||||
<Text>
|
||||
Responsibility for the content of external links (to web pages of
|
||||
third parties) lies solely with the operators of the linked pages.
|
||||
No violations were evident to us at the time of linking. Should
|
||||
any legal infringement become known to us, we will remove the
|
||||
respective link immediately.
|
||||
</Text>
|
||||
<ModalSubHeadline>Copyright</ModalSubHeadline>
|
||||
<Text>
|
||||
Our web pages and their contents are subject to German copyright
|
||||
law. Unless expressly permitted by law, every form of utilizing,
|
||||
reproducing or processing works subject to copyright protection on
|
||||
our web pages requires the prior consent of the respective owner
|
||||
of the rights. Individual reproductions of a work are only allowed
|
||||
for private use. The materials from these pages are copyrighted
|
||||
and any unauthorized use may violate copyright laws.
|
||||
</Text>
|
||||
</Modal>
|
||||
</ItemContainer>
|
||||
</ItemList>
|
||||
</ListContainer>
|
||||
<>
|
||||
{error ? (
|
||||
<ListContainer>
|
||||
<Hl>About</Hl>
|
||||
<ItemList>
|
||||
<ItemContainer>
|
||||
<SHl>Imprint</SHl>
|
||||
<Modal element="text" text="View Imprint">
|
||||
<Headline>Legal Disclosure</Headline>
|
||||
{error && <ErrorMessage>{error}</ErrorMessage>}
|
||||
<ModalSubHeadline>
|
||||
Information in accordance with section 5 TMG
|
||||
</ModalSubHeadline>
|
||||
{!error && (
|
||||
<>
|
||||
<Link href={name.link}>{name.text}</Link>
|
||||
<Link href={address.link}>{address.text}</Link>
|
||||
<Link href={phone.link}>{phone.text}</Link>
|
||||
<Link href={email.link}>{email.text}</Link>
|
||||
<Link href={url.link}>{url.text}</Link>
|
||||
</>
|
||||
)}
|
||||
<Headline>Disclaimer</Headline>
|
||||
<ModalSubHeadline>Accountability for content</ModalSubHeadline>
|
||||
<Text>
|
||||
The contents of our pages have been created with the utmost
|
||||
care. However, we cannot guarantee the contents' accuracy,
|
||||
completeness or topicality. According to statutory provisions,
|
||||
we are furthermore responsible for our own content on these
|
||||
web pages. In this matter, please note that we are not obliged
|
||||
to monitor the transmitted or saved information of third
|
||||
parties, or investigate circumstances pointing to illegal
|
||||
activity. Our obligations to remove or block the use of
|
||||
information under generally applicable laws remain unaffected
|
||||
by this as per §§ 8 to 10 of the Telemedia Act (TMG).
|
||||
</Text>
|
||||
<ModalSubHeadline>Accountability for links</ModalSubHeadline>
|
||||
<Text>
|
||||
Responsibility for the content of external links (to web pages
|
||||
of third parties) lies solely with the operators of the linked
|
||||
pages. No violations were evident to us at the time of
|
||||
linking. Should any legal infringement become known to us, we
|
||||
will remove the respective link immediately.
|
||||
</Text>
|
||||
<ModalSubHeadline>Copyright</ModalSubHeadline>
|
||||
<Text>
|
||||
Our web pages and their contents are subject to German
|
||||
copyright law. Unless expressly permitted by law, every form
|
||||
of utilizing, reproducing or processing works subject to
|
||||
copyright protection on our web pages requires the prior
|
||||
consent of the respective owner of the rights. Individual
|
||||
reproductions of a work are only allowed for private use. The
|
||||
materials from these pages are copyrighted and any
|
||||
unauthorized use may violate copyright laws.
|
||||
</Text>
|
||||
</Modal>
|
||||
</ItemContainer>
|
||||
</ItemList>
|
||||
</ListContainer>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
/*
|
||||
<ImprintContainer>
|
||||
<Hl>About</Hl>
|
||||
<ModalContainer>
|
||||
<SHl>Imprint</SHl>
|
||||
<Modal element="text" text="View Imprint">
|
||||
<Headline>Legal Disclosure</Headline>
|
||||
{error && <ErrorMessage>{error}</ErrorMessage>}
|
||||
<ModalSubHeadline>
|
||||
Information in accordance with section 5 TMG
|
||||
</ModalSubHeadline>
|
||||
{!error && (
|
||||
<>
|
||||
<Link href={name.link}>{name.text}</Link>
|
||||
<Link href={address.link}>{address.text}</Link>
|
||||
<Link href={phone.link}>{phone.text}</Link>
|
||||
<Link href={email.link}>{email.text}</Link>
|
||||
<Link href={url.link}>{url.text}</Link>
|
||||
</>
|
||||
)}
|
||||
<Headline>Disclaimer</Headline>
|
||||
<ModalSubHeadline>Accountability for content</ModalSubHeadline>
|
||||
<Text>
|
||||
The contents of our pages have been created with the utmost care.
|
||||
However, we cannot guarantee the contents' accuracy, completeness or
|
||||
topicality. According to statutory provisions, we are furthermore
|
||||
responsible for our own content on these web pages. In this matter,
|
||||
please note that we are not obliged to monitor the transmitted or
|
||||
saved information of third parties, or investigate circumstances
|
||||
pointing to illegal activity. Our obligations to remove or block the
|
||||
use of information under generally applicable laws remain unaffected
|
||||
by this as per §§ 8 to 10 of the Telemedia Act (TMG).
|
||||
</Text>
|
||||
<ModalSubHeadline>Accountability for links</ModalSubHeadline>
|
||||
<Text>
|
||||
Responsibility for the content of external links (to web pages of
|
||||
third parties) lies solely with the operators of the linked pages.
|
||||
No violations were evident to us at the time of linking. Should any
|
||||
legal infringement become known to us, we will remove the respective
|
||||
link immediately.
|
||||
</Text>
|
||||
<ModalSubHeadline>Copyright</ModalSubHeadline>
|
||||
<Text>
|
||||
Our web pages and their contents are subject to German copyright
|
||||
law. Unless expressly permitted by law, every form of utilizing,
|
||||
reproducing or processing works subject to copyright protection on
|
||||
our web pages requires the prior consent of the respective owner of
|
||||
the rights. Individual reproductions of a work are only allowed for
|
||||
private use. The materials from these pages are copyrighted and any
|
||||
unauthorized use may violate copyright laws.
|
||||
</Text>
|
||||
</Modal>
|
||||
</ModalContainer>
|
||||
</ImprintContainer>
|
||||
*/
|
||||
|
||||
export default Imprint;
|
||||
|
|
Loading…
Reference in a new issue