diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/widgets/Footer.astro | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/components/widgets/Footer.astro b/src/components/widgets/Footer.astro index 1e51d2a..70cac54 100644 --- a/src/components/widgets/Footer.astro +++ b/src/components/widgets/Footer.astro @@ -31,49 +31,6 @@ const { socialLinks = [], secondaryLinks = [], links = [], footNote = '', theme <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" > - <div class="grid grid-cols-12 gap-4 gap-y-8 sm:gap-8 py-8 md:py-12"> - <div class="col-span-12 lg:col-span-4"> - <div class="mb-2"> - <a class="inline-block font-bold text-xl" href={getHomePermalink()}>{SITE?.name}</a> - </div> - <div class="text-sm text-muted flex gap-1"> - { - secondaryLinks.map(({ text, href }, index) => ( - <> - {index !== 0 ? ' ยท ' : ''} - <a - class="text-muted hover:text-gray-700 dark:text-gray-400 hover:underline transition duration-150 ease-in-out" - href={href} - set:html={text} - /> - </> - )) - } - </div> - </div> - { - links.map(({ title, links }) => ( - <div class="col-span-6 md:col-span-3 lg:col-span-2"> - <div class="dark:text-gray-300 font-medium mb-2">{title}</div> - {links && Array.isArray(links) && links.length > 0 && ( - <ul class="text-sm"> - {links.map(({ text, href, ariaLabel }) => ( - <li class="mb-2"> - <a - class="text-muted hover:text-gray-700 hover:underline dark:text-gray-400 transition duration-150 ease-in-out" - href={href} - aria-label={ariaLabel} - > - <Fragment set:html={text} /> - </a> - </li> - ))} - </ul> - )} - </div> - )) - } - </div> <div class="md:flex md:items-center md:justify-between py-6 md:py-8"> { socialLinks?.length ? ( |
