Made Imprint optional

This commit is contained in:
Bastian Meissner 2020-09-08 15:49:11 +02:00
parent a8f2136736
commit 8614b71e94

View file

@ -88,6 +88,8 @@ const Imprint = () => {
} = useImprintData(); } = useImprintData();
return ( return (
<>
{error ? (
<ListContainer> <ListContainer>
<Hl>About</Hl> <Hl>About</Hl>
<ItemList> <ItemList>
@ -111,96 +113,45 @@ const Imprint = () => {
<Headline>Disclaimer</Headline> <Headline>Disclaimer</Headline>
<ModalSubHeadline>Accountability for content</ModalSubHeadline> <ModalSubHeadline>Accountability for content</ModalSubHeadline>
<Text> <Text>
The contents of our pages have been created with the utmost care. The contents of our pages have been created with the utmost
However, we cannot guarantee the contents' accuracy, completeness care. However, we cannot guarantee the contents' accuracy,
or topicality. According to statutory provisions, we are completeness or topicality. According to statutory provisions,
furthermore responsible for our own content on these web pages. In we are furthermore responsible for our own content on these
this matter, please note that we are not obliged to monitor the web pages. In this matter, please note that we are not obliged
transmitted or saved information of third parties, or investigate to monitor the transmitted or saved information of third
circumstances pointing to illegal activity. Our obligations to parties, or investigate circumstances pointing to illegal
remove or block the use of information under generally applicable activity. Our obligations to remove or block the use of
laws remain unaffected by this as per §§ 8 to 10 of the Telemedia information under generally applicable laws remain unaffected
Act (TMG). by this as per §§ 8 to 10 of the Telemedia Act (TMG).
</Text> </Text>
<ModalSubHeadline>Accountability for links</ModalSubHeadline> <ModalSubHeadline>Accountability for links</ModalSubHeadline>
<Text> <Text>
Responsibility for the content of external links (to web pages of Responsibility for the content of external links (to web pages
third parties) lies solely with the operators of the linked pages. of third parties) lies solely with the operators of the linked
No violations were evident to us at the time of linking. Should pages. No violations were evident to us at the time of
any legal infringement become known to us, we will remove the linking. Should any legal infringement become known to us, we
respective link immediately. will remove the respective link immediately.
</Text> </Text>
<ModalSubHeadline>Copyright</ModalSubHeadline> <ModalSubHeadline>Copyright</ModalSubHeadline>
<Text> <Text>
Our web pages and their contents are subject to German copyright Our web pages and their contents are subject to German
law. Unless expressly permitted by law, every form of utilizing, copyright law. Unless expressly permitted by law, every form
reproducing or processing works subject to copyright protection on of utilizing, reproducing or processing works subject to
our web pages requires the prior consent of the respective owner copyright protection on our web pages requires the prior
of the rights. Individual reproductions of a work are only allowed consent of the respective owner of the rights. Individual
for private use. The materials from these pages are copyrighted reproductions of a work are only allowed for private use. The
and any unauthorized use may violate copyright laws. materials from these pages are copyrighted and any
unauthorized use may violate copyright laws.
</Text> </Text>
</Modal> </Modal>
</ItemContainer> </ItemContainer>
</ItemList> </ItemList>
</ListContainer> </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; export default Imprint;