-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3cfd4a3
Showing
68 changed files
with
8,765 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.vscode/ | ||
dist/ | ||
node_modules/ | ||
public/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
module.exports = { | ||
env: { | ||
node: true, | ||
browser: true, | ||
es2024: true, | ||
}, | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:astro/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
], | ||
parserOptions: { | ||
ecmaVersion: "latest", | ||
sourceType: "module", | ||
}, | ||
rules: { | ||
semi: ["error", "always"], | ||
quotes: ["error", "double", { "allowTemplateLiterals": true }], | ||
"@typescript-eslint/triple-slash-reference": "off", | ||
}, | ||
overrides: [ | ||
{ | ||
files: ["*.astro"], | ||
parser: "astro-eslint-parser", | ||
parserOptions: { | ||
parser: "@typescript-eslint/parser", | ||
extraFileExtensions: [".astro"], | ||
}, | ||
rules: {}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# build output | ||
dist/ | ||
|
||
# generated types | ||
.astro/ | ||
|
||
# dependencies | ||
node_modules/ | ||
|
||
# logs | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
|
||
# environment variables | ||
.env | ||
.env.production | ||
|
||
# macOS-specific files | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"recommendations": ["astro-build.astro-vscode", "unifiedjs.vscode-mdx"], | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"command": "./node_modules/.bin/astro dev", | ||
"name": "Development server", | ||
"request": "launch", | ||
"type": "node-terminal" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
![Astro Nano](_astro_nano.png) | ||
|
||
Astro Nano is a static, minimalist, lightweight, lightning fast portfolio and blog theme. | ||
|
||
Built with Astro, Tailwind and Typescript, an no frameworks. | ||
|
||
It was designed as an even more minimal theme than my popular theme [Astro Sphere](https://github.com/markhorn-dev/astro-sphere) | ||
|
||
## 🚀 Deploy your own | ||
|
||
[![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) | ||
|
||
## 📋 Features | ||
|
||
- ✅ 100/100 Lighthouse performance | ||
- ✅ Responsive | ||
- ✅ Accessible | ||
- ✅ SEO-friendly | ||
- ✅ Typesafe | ||
- ✅ Minimal style | ||
- ✅ Light/Dark Theme | ||
- ✅ Animated UI | ||
- ✅ Tailwind styling | ||
- ✅ Auto generated sitemap | ||
- ✅ Auto generated RSS Feed | ||
- ✅ Markdown support | ||
- ✅ MDX Support (components in your markdown) | ||
|
||
## 💯 Lighthouse score | ||
![Astro Nano Lighthouse Score](_lighthouse.png) | ||
|
||
## 🕊️ Lightweight | ||
No frameworks or added bulk | ||
|
||
## ⚡︎ Fast | ||
Rendered in ~40ms on localhost | ||
|
||
## 📄 Configuration | ||
|
||
The blog posts on the demo serve as the documentation and configuration. | ||
|
||
## 💻 Commands | ||
|
||
All commands are run from the root of the project, from a terminal: | ||
|
||
Replace npm with your package manager of choice. `npm`, `pnpm`, `yarn`, `bun`, etc | ||
|
||
| Command | Action | | ||
| :------------------------ | :----------------------------------------------- | | ||
| `npm install` | Installs dependencies | | ||
| `npm run dev` | Starts local dev server at `localhost:4321` | | ||
| `npm run dev:network` | Starts local dev server on local network | | ||
| `npm run sync` | Generates TypeScript types for all Astro modules.| | ||
| `npm run build` | Build your production site to `./dist/` | | ||
| `npm run preview` | Preview your build locally, before deploying | | ||
| `npm run preview:network` | Preview build on local network | | ||
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | | ||
| `npm run astro -- --help` | Get help using the Astro CLI | | ||
| `npm run lint` | Run ESLint | | ||
| `npm run lint:fix` | Auto-fix ESLint issues | | ||
|
||
## 🏛️ License | ||
|
||
MIT |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.