Documentation Resources
Quick Start Guide
Get your development environment set up
Astro Framework
Learn how Astro powers this project
Content Collections
Understand the content structure
Component Architecture
Explore component patterns
Official Astro Resources
Since this project is built with Astro, the official Astro documentation is your best friend:Astro Documentation
Astro Docs
Comprehensive documentation for Astro framework
- Core Concepts - Understanding Astro’s architecture
- Content Collections - Official guide to content collections
- Routing - File-based routing system
- Components - Creating and using Astro components
- Integrations - Working with Tailwind, MDX, and other integrations
Astro Community
Discord Server
Join the Astro Discord community for real-time help
GitHub Discussions
Ask questions and share ideas
Technology Stack Resources
The project uses several key technologies. Here are official resources for each:Tailwind CSS
Tailwind CSS Documentation
Complete utility-first CSS framework documentation
- Utility Classes - Core Tailwind concepts
- Responsive Design - Mobile-first breakpoints
- Customization - Configuring Tailwind
MDX
MDX Documentation
Markdown with JSX - used for blog posts and content
Astro Icon
Astro Icon
Icon system documentation - using Material Design Icons (MDI)
This project uses the
@iconify-json/mdi package for Material Design Icons. You can browse available icons at Iconify.Common Questions
How do I add a new page?
How do I add a new page?
Pages in Astro use file-based routing. Create a new The page will be available at
.astro file in src/pages/:src/pages/my-page.astro
/my-page.How do I add a new blog post?
How do I add a new blog post?
Create a new Markdown or MDX file in The post will automatically be available at
src/content/blog/:src/content/blog/my-post.md
/blog/my-post.Where are styles defined?
Where are styles defined?
Styles in this project come from multiple sources:
- Tailwind CSS - Utility classes used throughout components
- Global styles -
src/styles/global.cssandsrc/styles/estiloBase.css - Component styles - Scoped
<style>blocks in.astrofiles - Google Fonts - Inter and Outfit fonts loaded in Layout.astro
How do I work with images?
How do I work with images?
Images should be placed in the The project uses WebP format for optimized images.
public/ directory:- Blog images:
public/img/posts/ - General images:
public/img/ - Icons/logos:
public/img/
What's the '@/' import alias?
What's the '@/' import alias?
The This makes imports cleaner and easier to refactor.
@/ alias is configured in tsconfig.json to reference the src/ directory:How do I add a new content collection?
How do I add a new content collection?
Content collections are defined in
src/content.config.ts. To add a new collection:- Define the schema using Zod
- Add the collection to the exports
- Create a directory in
src/content/
src/content.config.ts
How do I use icons?
How do I use icons?
What's the difference between components and sections?
What's the difference between components and sections?
- Components (
src/components/) - Smaller, reusable UI elements (buttons, alerts, forms) - Sections (
src/sections/) - Larger page sections that compose multiple components (Hero, Testimonials, Portfolio)
Troubleshooting
Build Errors
If you encounter build errors:Development Server Issues
Common fixes:- Clear browser cache
- Try a different port in
astro.config.mjs - Check for syntax errors in recently edited files
Getting Project-Specific Help
Codebase Navigation
Use your IDE’s “Go to Definition” feature (F12 in VS Code) to quickly navigate to component definitions and understand how they work.
src/layouts/Layout.astro- Main layout wrapper with SEO and meta tagssrc/content.config.ts- Content collection schemasastro.config.mjs- Project configurationsrc/consts.ts- Global constants and site metadata
Reading the Code
Start with pages
Pages in
src/pages/ show how everything comes together. The homepage (index.astro) is a great starting point.Check content collections
Look at examples in
src/content/blog/ to understand the content structure.Still Stuck?
If you can’t find the answer you need:- Search the Astro docs - Most questions about Astro functionality are answered there
- Check existing blog posts - The
src/content/blog/directory has examples of various patterns - Review similar components - Find a similar component and see how it’s implemented
- Ask in Astro Discord - The community is helpful and responsive
Astro Discord
Join the Astro community Discord server for real-time help