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.
Overview
Proyecto Renacer is built with Astro, a modern static site generator optimized for content-focused websites. The project uses Astro’s file-based routing, component architecture, and Tailwind CSS for styling.Directory Structure
Core Directories Explained
/public/
Static assets served directly without processing. Files here are copied to the build output as-is.
Contents:
favicon.icoandfavicon.svg- Site iconsimg/- Image directory for static images
/src/
All source code, components, and pages. This is where development happens.
/src/assets/
Optimized assets processed by Astro’s image optimization. Use for images that need optimization.
Contents:
mockImg.webp- Mock imagery for cardsastro.svg,background.svg- Vector graphics
/src/components/
Reusable UI components. See Components for details.
/src/data/
Application state and shared data.
Example - state.ts:
/src/layouts/
Page layout templates. See Layouts for details.
/src/pages/
File-based routing pages. See Pages for details.
/src/styles/
Global CSS and styling configurations.
Configuration Files
astro.config.mjs
Astro configuration with Tailwind CSS integration:
- Tailwind CSS integration via Vite plugin
- Standard Astro configuration
- TypeScript support enabled
package.json
Project dependencies and scripts:
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production build
tsconfig.json
TypeScript configuration for the project. Enables type checking for .ts files and provides IDE support.
Build Output
When you runnpm run build, Astro generates a static site in the dist/ directory:
Development Workflow
Key Technologies
Astro
Static site generator with component islands architecture
Tailwind CSS
Utility-first CSS framework for rapid UI development
TypeScript
Type-safe JavaScript for better developer experience
Material Symbols
Icon font from Google for UI elements
Next Steps
Pages
Learn about the routing system and page structure
Components
Explore reusable UI components
Layouts
Understand layout templates and page wrapping