diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-22 18:59:12 +0300 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-22 18:59:12 +0300 |
| commit | fd3f0b9f1bfce7459d2681498670c31cde0f3091 (patch) | |
| tree | 8cc8fa7750f14438a0e0b73eba0744aa05fd62d1 /src/components/widgets/Footer.astro | |
| parent | a730e05645128224be7b49b36bd15f4f81303caa (diff) | |
dark background
Diffstat (limited to 'src/components/widgets/Footer.astro')
| -rw-r--r-- | src/components/widgets/Footer.astro | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/widgets/Footer.astro b/src/components/widgets/Footer.astro index 55501ff..3008984 100644 --- a/src/components/widgets/Footer.astro +++ b/src/components/widgets/Footer.astro @@ -24,10 +24,10 @@ export interface Props { const { socialLinks = [], footNote = '', theme = 'light' } = Astro.props; --- -<footer class:list={[{ dark: theme === 'dark' }, 'relative border-t border-gray-200 dark:border-slate-800 not-prose']}> - <div class="dark:bg-dark absolute inset-0 pointer-events-none" aria-hidden="true"></div> +<footer class:list={[{ dark: theme === 'dark' }, 'relative border-t border-gray-200 dark:border-slate-800 not-prose bg-black text-white']}> + <div class="absolute inset-0 pointer-events-none" aria-hidden="true"></div> <div - class="relative max-w-7xl mx-auto px-4 sm:px-6 dark:text-slate-300 intersect-once intersect-quarter intercept-no-queue motion-safe:md:opacity-0 motion-safe:md:intersect:animate-fade" + class="relative max-w-7xl mx-auto px-4 sm:px-6 text-white intersect-once intersect-quarter intercept-no-queue motion-safe:md:opacity-0 motion-safe:md:intersect:animate-fade" > <div class="md:flex md:items-center md:justify-between py-6 md:py-8"> { @@ -36,7 +36,7 @@ const { socialLinks = [], footNote = '', theme = 'light' } = Astro.props; {socialLinks.map(({ ariaLabel, href, text, icon }) => ( <li> <a - class="text-muted dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5 inline-flex items-center" + class="text-gray-300 hover:bg-gray-800 focus:outline-none focus:ring-4 focus:ring-gray-700 rounded-lg text-sm p-2.5 inline-flex items-center" aria-label={ariaLabel} href={href} > @@ -51,7 +51,7 @@ const { socialLinks = [], footNote = '', theme = 'light' } = Astro.props; ) } - <div class="text-sm mr-4 dark:text-muted"> + <div class="text-sm mr-4 text-gray-300"> <Fragment set:html={footNote} /> </div> </div> |
