[c] formatting

This commit is contained in:
Sangelo 2024-06-12 11:03:14 +02:00
parent 0656ad38b9
commit 05af058963

View file

@ -1,18 +1,22 @@
# ExploreCraft: Website
This is the ExploreCraft Website. Created with Svelte, PicoCSS, and dedication by [Sangelo](https://gitpot.org/sangelo/) & [LogolicusZ](https://gitpot.org/LogolicusZ/).
<a href="https://explorecraft.net">
<picture>
<source srcset="docs/assets/screenshot-dark.png" media="(prefers-color-scheme: dark)">
<img src="docs/assets/screenshot-light.png">
<source srcset="docs/assets/screenshot-dark.png" media="(prefers-color-scheme: dark)" alt="ExploreCraft Website Screenshot">
<img src="docs/assets/screenshot-light.png" alt="ExploreCraft Website Screenshot">
</picture>
</a>
## License
This project is licensed under the MPL v2.0. More info [here](./LICENSE).
## Developing
To start developing, clone the repository.
```bash
# clone the website
git clone https://gitpot.org/ExploreCraft/website.git
@ -36,6 +40,7 @@ yarn run dev -- --open
➜ Network: use --host to expose
➜ press h to show help
```
This server will automatically apply changes you do to the code, so just start working and Vite will do the rest. No need to refresh!
## Building
@ -46,6 +51,7 @@ To build a production-ready version of this website:
# run build action
yarn run build
```
You can also preview the production build (You'll need to build the website first if you haven't done so already):
```bash