Yep, that's me, this is my blog where I can post some articles related to my life, experiences, thoughts and more. Take a seat and enjoy.
I'm using Astro to build whole site, with some plugins that add extra functionallities.
To run this project use:
npm run dev
Inside of this project, you'll see the following folders and files:
├── public/
│ └── favicon.ico
├── src/
│ ├── components/
│ │ └── ...
│ ├── content/
│ │ ├── posts/
│ │ │ ├── es
│ │ │ │ └── ...
│ │ │ └── ...
│ │ ├── templates/
│ │ │ └── ...
│ ├── images/
│ │ └── ...
│ ├── layouts/
│ │ └── ...
│ ├── models/
│ │ └── ...
│ └── pages/
│ ├── es
│ │ └── ...
│ └── ...
├── styles
│ └── ...
└── package.json
Posts are written in .mdx
files with some HTML tags.
Currently site is bilingual for spanish and english speakers. There are specific pages for each language. Components have a logic to decide when display a english or spanish text.
Images are placed in assets
folder, they are in .webp
format to optimise size and resolutions.
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add , astro check , astro sync |
npm run astro -- --help |
Get help using the Astro CLI |