Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicklasbekkevold/website
https://github.com/nicklasbekkevold/website
astro blog
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/nicklasbekkevold/website
- Owner: nicklasbekkevold
- License: mit
- Created: 2024-12-10T18:06:49.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-10T21:38:56.000Z (about 1 month ago)
- Last Synced: 2024-12-10T22:18:34.456Z (about 1 month ago)
- Topics: astro, blog
- Language: Astro
- Homepage:
- Size: 718 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Website
Based on [@satnaing](https://github.com/satnaing)'s theme [AstroPaper](https://github.com/satnaing/astro-paper). Thank you
## 🚀 Project Structure
```bash
/
├── public/
│ ├── assets/
│ │ └── logo.svg
│ │ └── logo.png
│ └── favicon.svg
│ └── astropaper-og.jpg
│ └── robots.txt
│ └── toggle-theme.js
├── src/
│ ├── assets/
│ │ └── socialIcons.ts
│ ├── components/
│ ├── content/
│ │ | blog/
│ │ | └── some-blog-posts.md
│ │ └── config.ts
│ ├── layouts/
│ └── pages/
│ └── styles/
│ └── utils/
│ └── config.ts
│ └── types.ts
└── package.json
```All blog posts are stored in `src/content/blog` directory.
## 💻 Tech Stack
**Main Framework** - [Astro](https://astro.build/)
**Type Checking** - [TypeScript](https://www.typescriptlang.org/)
**Component Framework** - [ReactJS](https://reactjs.org/)
**Styling** - [TailwindCSS](https://tailwindcss.com/)
**UI/UX** - [Figma Design File](https://www.figma.com/community/file/1356898632249991861)
**Fuzzy Search** - [FuseJS](https://fusejs.io/)
**Icons** - [Boxicons](https://boxicons.com/) | [Tablers](https://tabler-icons.io/)
**Code Formatting** - [Prettier](https://prettier.io/)
**Illustration in About Page** - [https://freesvgillustration.com](https://freesvgillustration.com/)
**Linting** - [ESLint](https://eslint.org)## 👨🏻💻 Running Locally
You can start using this project locally by running the following command in your desired directory:
Then start the project by running the following commands:
```bash
# install dependencies
pnpm run install# start running the project
pnpm run dev
```## 🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :---------------------- | :------------------------------------------------------------------------------------------------------------------------------- |
| `pnpm install` | Installs dependencies |
| `pnpm run dev` | Starts local dev server at `localhost:4321` |
| `pnpm run build` | Build your production site to `./dist/` |
| `pnpm run preview` | Preview your build locally, before deploying |
| `pnpm run format:check` | Check code format with Prettier |
| `pnpm run format` | Format codes with Prettier |
| `pnpm run sync` | Generates TypeScript types for all Astro modules. [Learn more](https://docs.astro.build/en/reference/cli-reference/#astro-sync). |
| `pnpm run lint` | Lint with ESLint |## 📜 License
Licensed under the MIT License, Copyright © 2024