-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e933868
commit 75fe05b
Showing
11 changed files
with
69 additions
and
57 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
14 changes: 14 additions & 0 deletions
14
ui/src/pages/Footer/CookieConsent/components/CookieConsentText/index.tsx
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 { Link } from "react-router-dom"; | ||
|
||
const CookieConsentText = () => ( | ||
<> | ||
This website uses cookies to enhance the user experience. If you are | ||
interested to know about our cookie policy then{" "} | ||
<Link to="/cookie-policy" style={{ color: "white" }}> | ||
check out | ||
</Link>{" "} | ||
here | ||
</> | ||
); | ||
|
||
export default CookieConsentText; |
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,24 @@ | ||
const GOOGLE_ANALYTICS_ID = "G-9K8N22TZZS"; | ||
const GOOGLE_ANALYTICS_COOKIES = ["_ga", "_gat", "_gid"]; | ||
const HIT_TYPE = "pageview"; | ||
|
||
const COOKIE_CONSENT_STYLES = { | ||
maxWidth: "350px", | ||
margin: "20px", | ||
borderRadius: "10px", | ||
fontSize: "17px", | ||
}; | ||
|
||
const BUTTON_STYLES = { | ||
padding: "8px 20px", | ||
fontSize: "17px", | ||
borderRadius: "2px", | ||
}; | ||
|
||
export { | ||
GOOGLE_ANALYTICS_ID, | ||
GOOGLE_ANALYTICS_COOKIES, | ||
HIT_TYPE, | ||
COOKIE_CONSENT_STYLES, | ||
BUTTON_STYLES, | ||
}; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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