Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/troylusty/troylusty.com
Personal portfolio website using Astro
https://github.com/troylusty/troylusty.com
astro fontsource mdx npm tailwindcss
Last synced: 17 days ago
JSON representation
Personal portfolio website using Astro
- Host: GitHub
- URL: https://github.com/troylusty/troylusty.com
- Owner: troylusty
- License: mit
- Created: 2024-12-23T21:18:14.000Z (17 days ago)
- Default Branch: main
- Last Pushed: 2024-12-23T21:23:07.000Z (17 days ago)
- Last Synced: 2024-12-23T22:25:19.089Z (17 days ago)
- Topics: astro, fontsource, mdx, npm, tailwindcss
- Language: MDX
- Homepage: https://troylusty.com
- Size: 39.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Astro Portfolio: Personal Website
![showcase](https://github.com/user-attachments/assets/87f37f94-4c1c-4afd-9fb1-e1dbc3729a64)
Features:
- ✅ SEO-friendly
- ✅ Sitemap
- ✅ RSS Feed
- ✅ Markdown & MDX
- ✅ TailwindCSS
- ✅ Fontsource## 🚀 Project Structure
Inside of this Astro project, you'll see the following folders and files:
```text
├── public/
├── src/
│ ├── components/
│ ├── content/
│ ├── layouts/
│ └── pages/
├── Dockerfile
├── README.md
├── astro.config.ts
├── package.json
├── tailwind.config.ts
└── tsconfig.json
```The layout of directories and content should match Astro's own recommendations with components being found in `src/components/` for example.
Project and post articles are contained within MDX documents located in `src/content/`. This has been done to allow for videos to be embedded when they are also kept in the corresponding content directory.
## 🚧 Building
Docker is used to deploy the site to a VPS. Container images are built using a [GitHub Action](.github/workflows/docker.yml) from the included [Dockerfile](Dockerfile).
## 🧞 Commands
All commands are run from the root of the project, from a terminal.
| Command | Action |
| :------------------------ | :------------------------------------------------------ |
| `npm install` | Install dependencies |
| `npm run dev` | Start local dev server at `localhost:4321` |
| `npm run build` | Build production site to `./dist/` |
| `npm run preview` | Preview build locally, before deploying |
| `npm run format:check` | Check files with Prettier |
| `npm run format:write` | Run Prettier on all files, rewriting all files in place |
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `npm run astro -- --help` | Get help using the Astro CLI |All available commands can be found by running `npm run` from a terminal.
## 📜 Licence
This project is under the [MIT LICENSE](LICENSE). However, this applies to the **ONLY** to the website itself and does not extend to the artwork included within.