-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added possibility for imprint and privacy statement on front footer
- Loading branch information
1 parent
dd907ea
commit ccc8d35
Showing
5 changed files
with
58 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.footer-container { | ||
display: flex; | ||
justify-content: space-between; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
import type { FC } from 'react'; | ||
|
||
const Imprint: FC = () => { | ||
if (process.env.REACT_APP_EOP_IMPRINT) { | ||
return ( | ||
<a href={process.env.REACT_APP_EOP_IMPRINT}>Imprint</a> | ||
); | ||
} | ||
return (<></>); | ||
|
||
} | ||
|
||
export default Imprint; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from 'react'; | ||
import type { FC } from 'react'; | ||
|
||
const Privacy: FC = () => { | ||
if (process.env.REACT_APP_EOP_PRIVACY) { | ||
return ( | ||
<a href={process.env.REACT_APP_EOP_PRIVACY}>Privacy</a> | ||
); | ||
} | ||
return (<></>); | ||
} | ||
|
||
export default Privacy; |