How imobrb/site works
Project type and purpose
• This is a content-driven, marketing and listing website for “Imobiliária Rio Branco.”
• It uses Astro as a Static Site Generator (SSG) with partial hydration via Vue for interactive widgets.
• The end result is deployed to a CDN (Azion Edge) to serve as a fast, global static site with client-side interactivity.
File structure
• Top level: configuration files (.editorconfig, .gitignore, tsconfig.json, tailwind.config.js, astro.config.mjs, vue.config.js)
• env/: environment constants for dev, stage, prod (build-time variables)
• public/: static assets (PDF manual, videos, images)
• src/
• pages/: Astro page entries → builds a page per route
• layouts/: site-wide wrappers (BaseLayout, Default)
• components/astro/: pure Astro components used in templates
• components/vue/: Vue components that hydrate for dynamic behavior
• content/: JSON files that feed static content into pages
• services/: JS modules that fetch real-estate data (or mock data)
• stores/ & composables/: client-side state management (Vue store)
• styles/: global CSS and PrimeVue theme files
• utils/: helper functions for formatting and parsing
Key insights from README
• Production vs. development URLs
• No mention of a custom backend—data either comes from external APIs or mock files at build time or runtime