Skip to content

Commit 08e0765

Browse files
committed
added website
1 parent 9128e74 commit 08e0765

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+11399
-0
lines changed

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,26 @@ fp-info-cache
2929
*.xml
3030
*.csv
3131
.DS_Store
32+
33+
# Website
34+
# build output
35+
dist/
36+
37+
# generated types
38+
.astro/
39+
40+
# dependencies
41+
node_modules/
42+
43+
# logs
44+
npm-debug.log*
45+
yarn-debug.log*
46+
yarn-error.log*
47+
pnpm-debug.log*
48+
49+
# environment variables
50+
.env
51+
.env.production
52+
53+
# macOS-specific files
54+
.DS_Store

website/.vscode/extensions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"recommendations": ["astro-build.astro-vscode", "unifiedjs.vscode-mdx"],
3+
"unwantedRecommendations": []
4+
}

website/.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"command": "./node_modules/.bin/astro dev",
6+
"name": "Development server",
7+
"request": "launch",
8+
"type": "node-terminal"
9+
}
10+
]
11+
}

website/.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"[astro]": {
3+
"editor.defaultFormatter": "astro-build.astro-vscode"
4+
}
5+
}

website/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Mark Horn
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

website/README.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
![Astro Sphere Lighthouse Score](_astrosphere.jpg)
2+
3+
Astro Sphere is a static, minimalist, lightweight, lightning fast portfolio and blog theme based on my personal website.
4+
5+
It is primarily Astro, Tailwind and Typescript, with a very small amount of SolidJS for stateful components.
6+
7+
## 🚀 Deploy your own
8+
9+
[![Deploy with Vercel](_deploy_vercel.svg)](https://vercel.com/new/clone?repository-url=https://github.com/markhorn-dev/astro-sphere) [![Deploy with Netlify](_deploy_netlify.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/markhorn-dev/astro-sphere)
10+
11+
## 📋 Features
12+
13+
- ✅ 100/100 Lighthouse performance
14+
- ✅ Responsive
15+
- ✅ Accessible
16+
- ✅ SEO-friendly
17+
- ✅ Typesafe
18+
- ✅ Minimal style
19+
- ✅ Light/Dark Theme
20+
- ✅ Animated UI
21+
- ✅ Tailwind styling
22+
- ✅ Auto generated sitemap
23+
- ✅ Auto generated RSS Feed
24+
- ✅ Markdown support
25+
- ✅ MDX Support (components in your markdown)
26+
- ✅ Searchable content (posts and projects)
27+
28+
## 💯 Lighthouse score
29+
![Astro Sphere Lighthouse Score](_lighthouse.png)
30+
31+
## 🕊️ Lightweight
32+
All pages under 100kb (including fonts)
33+
34+
## ⚡︎ Fast
35+
Rendered in ~40ms on localhost
36+
37+
## 📄 Configuration
38+
39+
The blog posts on the demo serve as the documentation and configuration.
40+
41+
## 💻 Commands
42+
43+
All commands are run from the root of the project, from a terminal:
44+
45+
Replace npm with your package manager of choice. `npm`, `pnpm`, `yarn`, `bun`, etc
46+
47+
| Command | Action |
48+
| :------------------------ | :----------------------------------------------- |
49+
| `npm install` | Installs dependencies |
50+
| `npm run dev` | Starts local dev server at `localhost:4321` |
51+
| `npm run dev:network` | Starts dev server on local network |
52+
| `npm run sync` | Generates TypeScript types for all Astro modules.|
53+
| `npm run build` | Build your production site to `./dist/` |
54+
| `npm run preview` | Preview your build locally, before deploying |
55+
| `npm run preview:network` | Starts preview server on local network |
56+
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
57+
| `npm run astro -- --help` | Get help using the Astro CLI |
58+
| `npm run lint` | Run ESLint |
59+
| `npm run lint:fix` | Auto-fix ESLint issues |
60+
61+
## 🗺️ Roadmap
62+
63+
A few features I plan to implement
64+
- ⬜ Code Blocks - copy to clipboard
65+
- ⬜ Article Pages - Table of Contents
66+
- ⬜ Article Pages - Share on social media
67+
68+
## ✨ Acknowledgement
69+
70+
Theme inspired by [Paco Coursey](https://paco.me/), [Lee Robinson](https://leerob.io/) and [Hayden Bleasel](https://www.haydenbleasel.com/)
71+
72+
73+
## 🏛️ License
74+
75+
MIT
76+
77+
78+
# 1.0.1 Update
79+
80+
Added ability to run dev and preview on local network.
81+
added npm run dev:network
82+
added npm run preview:network
83+
84+
Added slightly more particle density in both light and dark mode.
85+
86+
Added subtle dark mode star and meteor animations.
87+
88+
Removed eslint config
89+

website/_astrosphere.jpg

67.8 KB
Loading

website/_deploy_netlify.svg

Lines changed: 17 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)