No description
Find a file
2023-11-25 17:02:33 -03:00
.vscode Initial commit from Astro 2023-06-24 12:41:25 -04:00
public Remove decap cms 2023-11-25 15:56:23 -03:00
src Change content submodule repo 2023-11-25 10:12:56 -03:00
.eslintrc.cjs add common config 2023-06-25 13:57:27 -04:00
.gitignore update 2023-06-25 16:48:43 -04:00
.gitmodules Change content submodule repo 2023-11-25 10:12:56 -03:00
.prettierrc.cjs add external content 2023-06-26 17:27:50 -04:00
.woodpecker.yml Update woodpecker config 2023-11-25 17:02:33 -03:00
astro.config.mjs Add woodpecker config 2023-11-11 19:47:18 -03:00
deploy.sh update deploy config 2023-06-25 16:55:49 -04:00
LICENSE add license 2023-06-25 14:01:05 -04:00
package.json Update deploy script 2023-11-25 16:06:18 -03:00
pnpm-lock.yaml add decap cms 2023-11-25 11:21:56 -03:00
README.md create basic components for index 2023-08-13 12:32:28 -04:00
tsconfig.json update typescript config 2023-09-09 18:49:36 -03:00

Personal Webpage

Packages usage

  • Astro Website framework
  • ReactJS for interactive components
  • Gardevoir for CSS reset and normalization

Themes:

Astro Starter Kit: Basics

npm create astro@latest -- --template basics

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

🧑‍🚀 Seasoned astronaut? Delete this file. Have fun!

basics

🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

/
├── public/
│   └── favicon.svg
├── src/
│   ├── components/
│   │   └── Card.astro
│   ├── layouts/
│   │   └── Layout.astro
│   └── pages/
│       └── index.astro
└── package.json

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the public/ directory.

🧞 Commands

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:3000
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
npm run astro -- --help Get help using the Astro CLI

👀 Want to learn more?

Feel free to check our documentation or jump into our Discord server.