From 3e0d75b73ee53c776356f9636228dafa34b0ed22 Mon Sep 17 00:00:00 2001 From: cori hudson Date: Fri, 7 Apr 2023 14:26:08 -0400 Subject: [PATCH] feat(cookie policy): add cookies to footer, analytics cookies started --- src/components/footer/www/footer.jsx | 5 ++ src/l10n.json | 1 + src/views/cookies/cookies.jsx | 100 +++++++++++++++++++++++++-- src/views/cookies/cookies.scss | 2 +- src/views/cookies/l10n.json | 2 + 5 files changed, 105 insertions(+), 5 deletions(-) diff --git a/src/components/footer/www/footer.jsx b/src/components/footer/www/footer.jsx index 72f676193..bfded26f8 100644 --- a/src/components/footer/www/footer.jsx +++ b/src/components/footer/www/footer.jsx @@ -169,6 +169,11 @@ const Footer = props => ( +
+ + + +
diff --git a/src/l10n.json b/src/l10n.json index 41ce896c0..1d1b62d6a 100644 --- a/src/l10n.json +++ b/src/l10n.json @@ -17,6 +17,7 @@ "general.contactUs": "Contact Us", "general.getHelp": "Get Help", "general.contact": "Contact", + "general.cookies": "Cookies", "general.done": "Done", "general.downloadPDF": "Download PDF", "general.emailUs": "Email Us", diff --git a/src/views/cookies/cookies.jsx b/src/views/cookies/cookies.jsx index ecf5587ee..5f78bdcf3 100644 --- a/src/views/cookies/cookies.jsx +++ b/src/views/cookies/cookies.jsx @@ -74,7 +74,7 @@ const Cookies = injectIntl(() => ( scratchsessionid Scratch - Session + @@ -102,13 +102,13 @@ const Cookies = injectIntl(() => ( explore_by Scratch - Session + minilogSettings Scratch - Persistent + scratchlanguage @@ -120,7 +120,7 @@ const Cookies = injectIntl(() => ( wistia-video-progress-# Wistia - Persistent + @@ -135,6 +135,98 @@ const Cookies = injectIntl(() => ( }} />
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_gaGoogle Analytics2 years
_gatGoogle Analytics1 day
_gidGoogle Analytics1 day
__utmaGoogle Analytics2 years
__utmbGoogle Analytics1 day
__utmcGoogle Analytics
__utmtGoogle Analytics1 day
__utmzGoogle Analytics6 months
loglevelWistia
DEVICE_INFOYouTube180 days
LogsDatabaseV2:[unique ID number]YouTube180 days
VISITOR_INFO1_LIVEYouTube180 days
remote_sidYouTube180 days
+
diff --git a/src/views/cookies/cookies.scss b/src/views/cookies/cookies.scss index 2786d42a8..3c4b5ae10 100644 --- a/src/views/cookies/cookies.scss +++ b/src/views/cookies/cookies.scss @@ -5,7 +5,7 @@ border-collapse: collapse; td, th { - padding: .7 5rem; + padding: .75rem; border: 1px solid $ui-border; text-align: left; } diff --git a/src/views/cookies/l10n.json b/src/views/cookies/l10n.json index 8a6407bc3..c23039fa6 100644 --- a/src/views/cookies/l10n.json +++ b/src/views/cookies/l10n.json @@ -10,6 +10,8 @@ "cookies.table.provider": "Provider", "cookies.table.purpose": "Purpose", "cookies.table.expiration": "Expiration", + "cookies.table.session": "Session", + "cookies.table.persistent": "Persistent", "cookies.types.title": "What types of Cookies are used on the Scratch Website?", "cookies.types.essentialTitle": "Essential Cookies", "cookies.types.essentialIntro": "These are Cookies that are necessary to make the Scratch Website available to the user or ensure security. We use this Personal Information, for example, to ensure that the Scratch Website functions properly, or to prevent fraud. We use the following essential Cookies:",