|
1 | | -# FearlessTech.github.io |
2 | | -FearlessTech's GitHub Pages Site |
| 1 | +# Welcome to [Astro](https://astro.build) |
3 | 2 |
|
4 | | -This is the repository for the FearlessTech Website. We have not started it yet, but I made the repo in case one of our contributors wanted to start working on it. |
| 3 | +[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics) |
| 4 | +[](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/basics) |
| 5 | + |
| 6 | +> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun! |
| 7 | +
|
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | +## 🚀 Project Structure |
| 12 | + |
| 13 | +Inside of your Astro project, you'll see the following folders and files: |
| 14 | + |
| 15 | +``` |
| 16 | +/ |
| 17 | +├── public/ |
| 18 | +│ └── favicon.svg |
| 19 | +├── src/ |
| 20 | +│ ├── components/ |
| 21 | +│ │ └── Card.astro |
| 22 | +│ ├── layouts/ |
| 23 | +│ │ └── Layout.astro |
| 24 | +│ └── pages/ |
| 25 | +│ └── index.astro |
| 26 | +└── package.json |
| 27 | +``` |
| 28 | + |
| 29 | +Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. |
| 30 | + |
| 31 | +There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. |
| 32 | + |
| 33 | +Any static assets, like images, can be placed in the `public/` directory. |
| 34 | + |
| 35 | +## 🧞 Commands |
| 36 | + |
| 37 | +All commands are run from the root of the project, from a terminal: |
| 38 | + |
| 39 | +| Command | Action | |
| 40 | +| :--------------------- | :------------------------------------------------- | |
| 41 | +| `npm install` | Installs dependencies | |
| 42 | +| `npm run dev` | Starts local dev server at `localhost:3000` | |
| 43 | +| `npm run build` | Build your production site to `./dist/` | |
| 44 | +| `npm run preview` | Preview your build locally, before deploying | |
| 45 | +| `npm run astro ...` | Run CLI commands like `astro add`, `astro preview` | |
| 46 | +| `npm run astro --help` | Get help using the Astro CLI | |
| 47 | + |
| 48 | +## 👀 Want to learn more? |
| 49 | + |
| 50 | +Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). |
0 commit comments