Documentation Index
Fetch the complete documentation index at: https://mintlify.com/DavidEspinozaRomero/Proyecto-de-vivienda-social-renacer/llms.txt
Use this file to discover all available pages before exploring further.
Layout
TheLayout.astro component is the main layout wrapper for all pages in Proyecto Renacer. It provides the HTML structure, meta tags, font loading, and integrates SEO components.
Location
src/layouts/Layout.astro
Props
Page title displayed in browser tab and used for SEO
Page description used for meta description tag and SEO
Default image URL for social media sharing (used as fallback for OGImage)
Custom OpenGraph title. Falls back to
title if not providedCustom OpenGraph description. Falls back to
description if not providedCustom OpenGraph image. Falls back to
image if not providedFeatures
Font Loading
The layout loads Google Fonts:- Public Sans (weights: 300-900) - Primary font family
- Material Symbols Outlined - Icon font used throughout the site
Global Styles
Importssrc/styles/global.css with Tailwind configuration and custom utilities.
Analytics
Integrates Ahrefs Analytics with async loading for performance.SEO Components
Automatically includes:<Head />- Basic meta tags, favicon, and SEO setup<OpenGraph />- Social media meta tags for sharing
Dark Mode Support
Body classes include Tailwind dark mode variants:Usage
Basic Example
With Custom OpenGraph Data
Implementation Details
HTML Structure
Custom Styles
The layout includes custom styles for Material Symbols:Best Practices
- Always provide title and description - These are required for SEO
- Use custom OG props for social sharing - Optimize titles and descriptions for different contexts
- Include Header and Footer - Use consistent navigation across pages
- Leverage dark mode classes - The layout supports dark mode via Tailwind classes