Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ashcroft08/provesa-web/llms.txt
Use this file to discover all available pages before exploring further.
Overview
TheFooter component displays company information, quick links, contact details, and branch locations. It adapts its layout based on the data provided, making it flexible for different configurations.
Import
Props
Footer configuration object containing company information and branch locations.Structure:
Custom logo URL. If not provided, defaults to the built-in PROVESA logo. The logo is displayed with reduced opacity and grayscale effect.
Usage
Basic Usage
With Footer Data
Real Example from +layout.svelte
Layout Structure
The footer is divided into 4 responsive columns:Column 1: Brand
- Company logo (grayscale with hover effect)
- Company description (if provided)
Column 2: Quick Links
- Inicio (
/) - Catálogo de Productos (
/productos) - Nuestra Historia (
/nosotros) - Concursos y Eventos (
/concursos) - Trabaja con Nosotros (
/empleo)
Column 3: Main Office (Conditional)
Displays only ifinfo contains any data:
- Address (with MapPin icon)
- Phone (with Phone icon)
- Mobile (with Smartphone icon)
- Email (with Mail icon)
Column 4: Branches (Conditional)
Displays only ifbranches array has items:
- List of branch locations
- Each branch shows name and address
- Store icon for each branch
Icons
The component uses icons fromlucide-svelte:
| Icon | Usage |
|---|---|
MapPin | Address locations |
Phone | Landline phone number |
Smartphone | Mobile phone number |
Mail | Email address |
Store | Branch locations |
Conditional Rendering
Info Section Visibility
The main office column only appears if there’s contact information:Branches Section Visibility
Branches column only appears if there are branch locations:Bottom Section
The footer includes a bottom section with:- Copyright notice with dynamic year:
© {new Date().getFullYear()} Provesa SCC - Links to legal pages:
- Privacy Policy (
/politicas/privacidad) - Terms of Service (
/politicas/terminos)
- Privacy Policy (
Styling
Logo Effect
Responsive Grid
Link Hover Effects
All links feature a smooth transition to the primary color on hover:Example Data Structure
Accessibility
- Uses semantic
<footer>element - Proper heading hierarchy (h4 for section titles)
- Descriptive icon labels
- Keyboard-accessible links
- High contrast text colors
Dependencies
lucide-svelte- MapPin, Phone, Smartphone, Mail, Store icons$lib/assets/images/provesa-logo.png- Default logo
Related Components
- Navbar - Site navigation component
- RedesSociales - Social media links component
