mirror of
https://github.com/frontendnetwork/vegancheck.me
synced 2024-11-10 06:24:13 +00:00
parent
142376e408
commit
f1e8f73298
5 changed files with 16 additions and 12 deletions
|
@ -10,5 +10,13 @@ module.exports = withPWA({
|
|||
i18n: {
|
||||
locales: ['de', 'en', 'fr', 'es'],
|
||||
defaultLocale: 'en',
|
||||
},
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: '/datenschutz',
|
||||
destination: '/privacy-policy',
|
||||
},
|
||||
]
|
||||
}
|
||||
});
|
|
@ -66,16 +66,8 @@ export default function Nav() {
|
|||
<meta name="mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="msapplication-starturl" content="/" />
|
||||
<meta
|
||||
name="theme-color"
|
||||
media="(prefers-color-scheme: light)"
|
||||
content="#7f8fa6"
|
||||
/>
|
||||
<meta
|
||||
name="theme-color"
|
||||
media="(prefers-color-scheme: dark)"
|
||||
content="#141414"
|
||||
/>
|
||||
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#7f8fa6"/>
|
||||
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#141414" />
|
||||
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ const PrivacyPolicy = () => {
|
|||
<p className="small">
|
||||
{t('germanonly')}
|
||||
</p>
|
||||
<div dangerouslySetInnerHTML={{ __html: datenschutz }} />
|
||||
<div className="privacy" dangerouslySetInnerHTML={{ __html: datenschutz }} />
|
||||
</Container>
|
||||
</>
|
||||
);
|
||||
|
|
4
src/styles/_pages/more.scss
Normal file
4
src/styles/_pages/more.scss
Normal file
|
@ -0,0 +1,4 @@
|
|||
.privacy {
|
||||
word-wrap: break-word;
|
||||
hyphens: auto;
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
@import '_globals/normalize', '_globals/animate', '_globals/vegancheckicons', '_globals/mixins', '_globals/fonts', '_globals/roots';
|
||||
|
||||
/* Import scss pages */
|
||||
@import '_pages/body', '_pages/frontpage';
|
||||
@import '_pages/body', '_pages/frontpage', '_pages/more';
|
||||
|
||||
/* Import modules */
|
||||
@import '_modules/modals', '_modules/form', '_modules/label', '_modules/scanner', '_modules/overlays', '_modules/buttons', '_modules/banner', '_modules/navbar', '_modules/nutriscore';
|
||||
|
|
Loading…
Reference in a new issue