No description
Find a file
2023-09-09 12:55:41 -03:00
.vscode Initial commit from Astro 2023-06-24 12:41:25 -04:00
public Initial commit from Astro 2023-06-24 12:41:25 -04:00
src add basic table to games page 2023-09-09 12:55:41 -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 add submodule 2023-06-26 15:49:55 -04:00
.prettierrc.cjs add external content 2023-06-26 17:27:50 -04:00
astro.config.mjs add basic presentation 2023-08-20 12:36:37 -04: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 add external content 2023-06-26 17:27:50 -04:00
pnpm-lock.yaml update before working 2023-08-13 10:52:00 -04:00
README.md create basic components for index 2023-08-13 12:32:28 -04:00
tsconfig.json add common config 2023-06-25 13:57:27 -04: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.