Skip to content

Commit

Permalink
Merge pull request #108 from OpenAMP/fix-cookies-links
Browse files Browse the repository at this point in the history
Fix cookies links
  • Loading branch information
louismorgan-linaro committed Oct 11, 2023
2 parents 7564533 + 7584d6b commit 3801ee0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@
"@astrojs/check": "^0.2.0",
"@astrojs/tailwind": "^5.0.0",
"@astrolib/analytics": "^0.4.2",
"@solid-primitives/broadcast-channel": "^0.0.103",
"@solid-primitives/media": "^2.2.5",
"astro": "^3.1.1",
"astro": "3.1.1",
"astro-icon": "^0.8.1",
"astro-navbar": "^2.2.1",
"astro-seo": "^0.8.0",
"dayjs": "^1.11.10",
"solid-icons": "^1.0.12",
"solid-js": "^1.4.3",
"tailwindcss": "^3.0.24",
"typescript": "^5.2.2",
"vanilla-cookieconsent": "^2.9.2"
Expand Down
1 change: 1 addition & 0 deletions src/components/About/Members.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { Image } from "astro:assets";
import { getEntry } from "astro:content";
const members = await getEntry("data", "members");
console.log(members);
---

<section>
Expand Down
12 changes: 3 additions & 9 deletions src/components/Head/Cookies.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ import "../../styles/cookies.scss";
gui_options: {
consent_modal: {
layout: "cloud", // box/cloud/bar
position: "bottom center", // bottom/middle/top + left/right/center
position: "bottom right", // bottom/middle/top + left/right/center
transition: "slide", // zoom/slide
swap_buttons: false, // enable to invert buttons
},
settings_modal: {
layout: "box", // box/bar
// position: 'left', // left/right
transition: "slide", // zoom/slide
},
},
Expand Down Expand Up @@ -45,7 +44,7 @@ import "../../styles/cookies.scss";
en: {
consent_modal: {
title: "Cookies & Privacy Policy",
description: `Enabling cookies allows you to use our website to its full extent and to personalize your experience on our sites. They tell us which parts of our websites people have visited, help us measure the effectiveness of ads and web searches and give us insights into user behavior so we can improve our communications with you. <a aria-label="Cookies Policy-Privacy Policy" href="/cookies/">Cookies Policy-Privacy Policy</a>`,
description: `Enabling cookies allows you to use our website to its full extent and to personalize your experience on our sites. They tell us which parts of our websites people have visited, help us measure the effectiveness of ads and web searches and give us insights into user behavior so we can improve our communications with you. <a class="cc-link" aria-label="Cookies Policy-Privacy Policy" href="/cookies/">Cookies Policy-Privacy Policy</a>`,
primary_btn: {
text: "Accept all Cookies",
role: "accept_all", //'accept_selected' or 'accept_all'
Expand All @@ -70,7 +69,7 @@ import "../../styles/cookies.scss";
{
title: "Cookie usage",
description:
'We use cookies to ensure the basic functionalities of the website and to enhance your online experience. You can choose for each category to opt-in/out whenever you want. For more details about cookies and how we use them, read the full <a href="../privacy-policy.html" class="cc-link">cookie policy</a>.',
'We use cookies to ensure the basic functionalities of the website and to enhance your online experience. You can choose for each category to opt-in/out whenever you want. For more details about cookies and how we use them, read the full <a href="/cookies" class="cc-link">cookie policy</a>.',
},
{
title: "Analytics cookies",
Expand Down Expand Up @@ -105,11 +104,6 @@ import "../../styles/cookies.scss";
},
],
},
{
title: "More information",
description:
'For any queries in relation to our policy on cookies and your choices, please <a class="cc-link" href="mailto:privacy@skylands.io">contact me</a>.',
},
],
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/content/pages/cookies.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Cookies Policy
main_title: Cookies Policy
slug: cookies
description: |-
Update and remove cookies from your browser set by our site.
Expand Down

0 comments on commit 3801ee0

Please sign in to comment.