@@ -3,7 +3,8 @@ import FooterLink from "@/components/footer/footer-link.astro";
33import { socialLinks } from " @/lib/constants" ;
44import { shouldHideCta } from " @/utils/hideCta" ;
55import clsx from " clsx" ;
6- import DarkModeToggle from " ../dark-mode-toggle.astro" ;
6+
7+ import DarkModeToggle from " ../dark-mode-toggle" ;
78import {
89 DiscordIcon ,
910 GithubIcon ,
@@ -190,7 +191,7 @@ const shouldHide = shouldHideCta(pathname);
190191 shouldHide && " border-t mt-20" ,
191192 overrideClassName
192193 ? overrideClassName
193- : " bg-white dark:bg-background container" ,
194+ : " bg-white dark:bg-background container"
194195 )}
195196>
196197 <div class =" border-b pb-6 md:pb-20" >
@@ -202,7 +203,7 @@ const shouldHide = shouldHideCta(pathname);
202203 {
203204 ! hideDarkToggle && (
204205 <>
205- <DarkModeToggle />
206+ <DarkModeToggle footer client : load />
206207 <div class = " h-7 w-[1.5px] bg-[#3B3B3B]" />
207208 </>
208209 )
@@ -233,28 +234,36 @@ const shouldHide = shouldHideCta(pathname);
233234 >
234235 <path
235236 d =" M17.1542 16.4897L21.1887 23.5858H13.039L8.96191 16.4897H17.1542Z"
237+ class =" fill-foreground"
236238 fill =" url(#paint0_linear_125_570)" ></path >
237239 <path
238240 d =" M21.1865 23.5869L25.2568 16.4909L17.1094 2.29541H8.96191L21.1865 23.5869Z"
239- fill =" white" ></path >
241+ class =" fill-foreground"
242+ fill =" currentColor" ></path >
240243 <path
241244 d =" M4.88828 9.38965H13.0358L4.89167 23.5851L0.814575 16.4891L4.88828 9.38965Z"
242- fill =" white" ></path >
245+ class =" fill-foreground"
246+ fill =" currentColor" ></path >
243247 <path
244248 d =" M41.669 9.39684L41.4662 11.5876C40.5975 9.88687 38.5994 8.96447 36.4565 8.96447C32.4313 8.96447 29.7382 11.8758 29.7382 16.3438C29.7382 20.7829 32.1707 24.0113 36.4275 24.0113C38.7442 24.0113 40.4527 22.8871 41.3504 21.417L41.5821 23.6366H44.8833V9.39684H41.669ZM41.2925 16.5167C41.2925 19.0822 39.6998 20.8405 37.2383 20.8405C34.7769 20.8405 33.2711 19.0533 33.2711 16.5167C33.2711 13.9801 34.8059 12.1641 37.2673 12.1641C39.7288 12.1641 41.2925 13.9512 41.2925 16.5167Z"
245- fill =" white" ></path >
249+ class =" fill-foreground"
250+ fill =" currentColor" ></path >
246251 <path
247252 d =" M50.8944 23.6366V19.8028L52.9794 17.6409L56.715 23.6366H60.7691L55.4408 15.0466L60.885 9.39684H56.4544L50.8944 15.3637V2.60986H47.3904V23.6366H50.8944Z"
248- fill =" white" ></path >
253+ class =" fill-foreground"
254+ fill =" currentColor" ></path >
249255 <path
250256 d =" M72.6334 9.39684L72.4307 11.5876C71.5619 9.88687 69.5638 8.96447 67.4209 8.96447C63.3957 8.96447 60.7026 11.8758 60.7026 16.3438C60.7026 20.7829 63.1351 24.0113 67.3919 24.0113C69.7086 24.0113 71.4171 22.8871 72.3148 21.417L72.5465 23.6366H75.8477V9.39684H72.6334ZM72.2569 16.5167C72.2569 19.0822 70.6642 20.8405 68.2028 20.8405C65.7413 20.8405 64.2355 19.0533 64.2355 16.5167C64.2355 13.9801 65.7703 12.1641 68.2317 12.1641C70.6932 12.1641 72.2569 13.9512 72.2569 16.5167Z"
251- fill =" white" ></path >
257+ class =" fill-foreground"
258+ fill =" currentColor" ></path >
252259 <path
253260 d =" M77.6355 19.3128C77.6355 22.1088 79.8942 24.0113 83.4561 24.0113C86.989 24.0113 89.4504 22.2241 89.4504 19.3416C89.4504 17.1509 88.2342 16.0555 85.8307 15.5078L83.2534 14.9025C82.0371 14.6142 81.4001 14.0954 81.4001 13.2883C81.4001 12.2217 82.2109 11.5876 83.6009 11.5876C84.9619 11.5876 85.7727 12.3659 85.8017 13.5765H89.1609C89.1319 10.8093 86.96 8.96447 83.7457 8.96447C80.4444 8.96447 78.0699 10.6363 78.0699 13.4324C78.0699 15.7096 79.3151 16.9203 81.8923 17.4968L84.4696 18.1021C85.7438 18.3904 86.1202 18.9092 86.1202 19.6298C86.1202 20.6676 85.2225 21.3305 83.5719 21.3305C81.9503 21.3305 81.0236 20.5523 80.9946 19.3128H77.6355Z"
254- fill =" white" ></path >
261+ class =" fill-foreground"
262+ fill =" currentColor" ></path >
255263 <path
256264 d =" M94.9515 23.6366V15.8537C94.9515 13.7206 96.2547 12.1641 98.4844 12.1641C100.28 12.1641 101.467 13.3171 101.467 15.7096V23.6366H105V14.8737C105 11.184 103.147 8.96447 99.6138 8.96447C97.5578 8.96447 95.8782 9.85805 94.9805 11.2417V2.60986H91.4186V23.6366H94.9515Z"
257- fill =" white" ></path >
265+ class =" fill-foreground"
266+ fill =" currentColor" ></path >
258267 <defs >
259268 <linearGradient
260269 id =" paint0_linear_125_570"
@@ -264,9 +273,11 @@ const shouldHide = shouldHideCta(pathname);
264273 y2 =" 16.2255"
265274 gradientUnits =" userSpaceOnUse"
266275 >
267- <stop stop-color =" white" ></stop >
268- <stop offset =" 1" stop-color =" white" stop-opacity =" 0.127613"
269- ></stop >
276+ <stop stop-color =" currentColor" ></stop >
277+ <stop
278+ offset =" 1"
279+ stop-color =" currentColor"
280+ stop-opacity =" 0.127613" ></stop >
270281 </linearGradient >
271282 </defs >
272283 </svg >
@@ -280,8 +291,8 @@ const shouldHide = shouldHideCta(pathname);
280291 {
281292 ! hideDarkToggle && (
282293 <>
283- <DarkModeToggle />
284- <div class = " h-7 w-[1.5px] bg-[#3B3B3B]" />
294+ <DarkModeToggle footer />
295+ <div class = " h-7 w-[1.5px] bg-gray-300 dark:bg- [#3B3B3B] " />
285296 </>
286297 )
287298 }
0 commit comments