From e4183c2f21c467b6591619ac7c40f0539b8aac06 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Tue, 17 Jun 2025 23:44:50 +0100 Subject: [PATCH] Add cookie settings --- src/components/CookieSettingsButton.tsx | 31 +++++++++++++++++++++++++ src/components/Footer.astro | 22 ++++++++++++------ 2 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 src/components/CookieSettingsButton.tsx diff --git a/src/components/CookieSettingsButton.tsx b/src/components/CookieSettingsButton.tsx new file mode 100644 index 000000000..231e28f04 --- /dev/null +++ b/src/components/CookieSettingsButton.tsx @@ -0,0 +1,31 @@ +import { cn } from '../lib/classname'; +import { Cookie } from 'lucide-react'; + +export function CookieSettingsButton() { + return ( +
+ +
+ ); +} diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 8bfe67c40..d98dd2745 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,6 +1,7 @@ --- import AstroIcon from './AstroIcon.astro'; import Icon from './AstroIcon.astro'; +import { CookieSettingsButton } from './CookieSettingsButton'; ---
@@ -35,7 +36,7 @@ import Icon from './AstroIcon.astro'; >

-
+

- Community created roadmaps, best practices, projects, articles, resources and journeys to help - you choose your path and grow in your career. + Community created roadmaps, best practices, projects, articles, + resources and journeys to help you choose your path and grow in your + career.

@@ -73,7 +75,10 @@ import Icon from './AstroIcon.astro'; class='hover:text-white' target='_blank' > - +

- The top DevOps resource for Kubernetes, cloud-native computing, and large-scale development and deployment. + The top DevOps resource for Kubernetes, cloud-native computing, and + large-scale development and deployment.

@@ -146,5 +152,7 @@ import Icon from './AstroIcon.astro';

+ +