2023-07-19 19:31:30 +00:00
|
|
|
# CURRENTLY REWRITING WEBSITE TO ASTRO
|
|
|
|
|
2023-06-11 06:50:41 +00:00
|
|
|
<div align="center">
|
|
|
|
<img alt="logo" src="static/img/coolkid.png" width="100" />
|
|
|
|
</div>
|
|
|
|
<h1 align="center">
|
|
|
|
<a href="https://kjelsrud.dev">kjelsrud.dev</a>
|
|
|
|
</h1>
|
|
|
|
<p align="center">
|
2023-07-20 20:12:00 +00:00
|
|
|
The second iteration of my personal website, built with <a href="https://astro.build/">Astro</a>.
|
2023-06-11 06:50:41 +00:00
|
|
|
</p>
|
|
|
|
|
|
|
|
## 📝 Info
|
2023-04-14 09:18:14 +00:00
|
|
|
|
|
|
|
### What I've learned from the project so far
|
|
|
|
|
2023-06-05 10:31:23 +00:00
|
|
|
- Coding with html and css
|
2023-06-11 06:50:41 +00:00
|
|
|
- How to use Git
|
2023-04-14 09:18:14 +00:00
|
|
|
- Some understanding of Github Actions + Pages
|
|
|
|
- How to use some of the most popular open-source static site generators
|
|
|
|
- How to create websites that are faster, more secure, and easier to maintain
|
|
|
|
- How to use templates to generate static websites
|
2023-05-04 10:07:35 +00:00
|
|
|
- How to use DNS pointers (A- & CNAME records)
|
2023-06-05 10:31:23 +00:00
|
|
|
- How to create & use layouts for a static website
|
|
|
|
- How to write JSON-docs and use data from it
|
2023-04-14 09:18:14 +00:00
|
|
|
|
2023-06-11 06:50:41 +00:00
|
|
|
### Features
|
2023-04-14 09:18:14 +00:00
|
|
|
|
2023-07-19 19:31:30 +00:00
|
|
|
...
|
2023-04-14 09:18:14 +00:00
|
|
|
|
|
|
|
### Future plans:
|
|
|
|
|
2023-07-19 19:31:30 +00:00
|
|
|
...
|
2022-10-21 15:29:15 +00:00
|
|
|
|
2023-06-11 06:50:41 +00:00
|
|
|
## 🛠️ How do I run it locally?
|
2022-10-21 15:29:15 +00:00
|
|
|
|
2023-07-20 20:12:00 +00:00
|
|
|
1. Install the dependencies
|
|
|
|
`npm install or yarn`
|
|
|
|
|
|
|
|
2. Start the development server
|
|
|
|
`yarn dev`
|
|
|
|
|
|
|
|
## 🚀 Build and run for production
|
|
|
|
|
|
|
|
1. Generate a full static production build
|
|
|
|
`npm run build`
|
|
|
|
|
|
|
|
## 🎨 Color codes
|
|
|
|
...
|
|
|
|
|
|
|
|
## Versionlog
|
|
|
|
- I've put v1 in the branch called ...
|