Overview
The Footer component provides a consistent footer across all pages with navigation links and copyright information. It features a responsive layout with the Velaria brand name and key navigation items.Component code
src/components/Footer.astro
Features
Responsive layout
The footer uses Flexbox for responsive arrangement, stacking vertically on mobile and displaying horizontally on larger screens.Navigation links
Currently includes a link to the “Nosotros” (About) page with hover effects.Dark mode support
The footer includes dark mode styling:- Light mode:
bg-orange-100background - Dark mode:
dark:bg-yellow-950background - Text colors adapt automatically
Brand presentation
The Velaria brand name is displayed prominently in the footer with semibold 2xl typography.Styling
- Light:
bg-orange-100 - Dark:
dark:bg-yellow-950
- Brand name:
text-orange-900/dark:text-orange-100 - Links:
text-orange-900/dark:text-orange-100 - Copyright:
text-amber-800/dark:text-gray-400
border-amber-800 / dark:border-amber-100Usage
The Footer component is imported and placed at the bottom of the Layout component, ensuring it appears on all pages:src/layouts/Layout.astro
The footer includes a copyright notice crediting DevelopCrew as the website developer.
Customization
To add more navigation items to the footer:- Add new
<li>elements to the navigation list - Include the link path and text
- Apply the hover effect class:
hover:underline
