Skip to content

Commit 3cfd4a3

Browse files
committed
initial
0 parents  commit 3cfd4a3

Some content is hidden

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

68 files changed

+8765
-0
lines changed

.eslintignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.vscode/
2+
dist/
3+
node_modules/
4+
public/

.eslintrc.cjs

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
module.exports = {
2+
env: {
3+
node: true,
4+
browser: true,
5+
es2024: true,
6+
},
7+
extends: [
8+
"eslint:recommended",
9+
"plugin:astro/recommended",
10+
"plugin:@typescript-eslint/recommended",
11+
],
12+
parserOptions: {
13+
ecmaVersion: "latest",
14+
sourceType: "module",
15+
},
16+
rules: {
17+
semi: ["error", "always"],
18+
quotes: ["error", "double", { "allowTemplateLiterals": true }],
19+
"@typescript-eslint/triple-slash-reference": "off",
20+
},
21+
overrides: [
22+
{
23+
files: ["*.astro"],
24+
parser: "astro-eslint-parser",
25+
parserOptions: {
26+
parser: "@typescript-eslint/parser",
27+
extraFileExtensions: [".astro"],
28+
},
29+
rules: {},
30+
},
31+
],
32+
};

.gitignore

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# build output
2+
dist/
3+
4+
# generated types
5+
.astro/
6+
7+
# dependencies
8+
node_modules/
9+
10+
# logs
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
pnpm-debug.log*
15+
16+
17+
# environment variables
18+
.env
19+
.env.production
20+
21+
# macOS-specific files
22+
.DS_Store

.vscode/extensions.json

+4
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+
}

.vscode/launch.json

+11
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+
}

README.md

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
![Astro Nano](_astro_nano.png)
2+
3+
Astro Nano is a static, minimalist, lightweight, lightning fast portfolio and blog theme.
4+
5+
Built with Astro, Tailwind and Typescript, an no frameworks.
6+
7+
It was designed as an even more minimal theme than my popular theme [Astro Sphere](https://github.com/markhorn-dev/astro-sphere)
8+
9+
## 🚀 Deploy your own
10+
11+
[![Deploy with Vercel](_deploy_vercel.svg)](https://vercel.com/new/clone?repository-url=https://github.com/markhorn-dev/astro-nano) [![Deploy with Netlify](_deploy_netlify.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/markhorn-dev/astro-nano)
12+
13+
## 📋 Features
14+
15+
- ✅ 100/100 Lighthouse performance
16+
- ✅ Responsive
17+
- ✅ Accessible
18+
- ✅ SEO-friendly
19+
- ✅ Typesafe
20+
- ✅ Minimal style
21+
- ✅ Light/Dark Theme
22+
- ✅ Animated UI
23+
- ✅ Tailwind styling
24+
- ✅ Auto generated sitemap
25+
- ✅ Auto generated RSS Feed
26+
- ✅ Markdown support
27+
- ✅ MDX Support (components in your markdown)
28+
29+
## 💯 Lighthouse score
30+
![Astro Nano Lighthouse Score](_lighthouse.png)
31+
32+
## 🕊️ Lightweight
33+
No frameworks or added bulk
34+
35+
## ⚡︎ Fast
36+
Rendered in ~40ms on localhost
37+
38+
## 📄 Configuration
39+
40+
The blog posts on the demo serve as the documentation and configuration.
41+
42+
## 💻 Commands
43+
44+
All commands are run from the root of the project, from a terminal:
45+
46+
Replace npm with your package manager of choice. `npm`, `pnpm`, `yarn`, `bun`, etc
47+
48+
| Command | Action |
49+
| :------------------------ | :----------------------------------------------- |
50+
| `npm install` | Installs dependencies |
51+
| `npm run dev` | Starts local dev server at `localhost:4321` |
52+
| `npm run dev:network` | Starts local dev server on local network |
53+
| `npm run sync` | Generates TypeScript types for all Astro modules.|
54+
| `npm run build` | Build your production site to `./dist/` |
55+
| `npm run preview` | Preview your build locally, before deploying |
56+
| `npm run preview:network` | Preview build on local network |
57+
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
58+
| `npm run astro -- --help` | Get help using the Astro CLI |
59+
| `npm run lint` | Run ESLint |
60+
| `npm run lint:fix` | Auto-fix ESLint issues |
61+
62+
## 🏛️ License
63+
64+
MIT

_astro_nano.png

241 KB
Loading

_deploy_netlify.svg

+17
Loading

0 commit comments

Comments
 (0)