-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
423a2db
commit 2724938
Showing
140 changed files
with
8,156 additions
and
29,305 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,23 @@ | ||
name: Close inactive issues | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@v5 | ||
with: | ||
days-before-issue-stale: 10 | ||
days-before-issue-close: 10 | ||
stale-issue-label: "stale" | ||
stale-issue-message: "This issue is stale because it has been open for 10 days with no activity." | ||
close-issue-message: "This issue was closed because it has been inactive for 10 days since being marked as stale." | ||
days-before-pr-stale: -1 | ||
days-before-pr-close: -1 | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
@@ -1,8 +1,21 @@ | ||
node_modules | ||
*.log* | ||
.nuxt | ||
.nitro | ||
.cache | ||
.output | ||
# 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 | ||
dist | ||
.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,5 @@ | ||
{ | ||
"[astro]": { | ||
"editor.defaultFormatter": "astro-build.astro-vscode" | ||
} | ||
} |
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
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 |
---|---|---|
@@ -1,38 +1,89 @@ | ||
# Tailwind Nextjs Starter Blog (work in progress) | ||
![Astro Sphere Lighthouse Score](_astrosphere.jpg) | ||
|
||
Inspired by [tailwind-nextjs-starter-blog](https://github.com/timlrx/tailwind-nextjs-starter-blog) | ||
Astro Sphere is a static, minimalist, lightweight, lightning fast portfolio and blog theme based on my personal website. | ||
|
||
Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more. | ||
It is primarily Astro, Tailwind and Typescript, with a very small amount of SolidJS for stateful components. | ||
|
||
## Setup | ||
## 🚀 Deploy your own | ||
|
||
Make sure to install the dependencies: | ||
[![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) | ||
|
||
```bash | ||
# npm | ||
npm install | ||
``` | ||
## 📋 Features | ||
|
||
## Development Server | ||
- ✅ 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) | ||
- ✅ Searchable content (posts and projects) | ||
|
||
Start the development server on http://localhost:3000 | ||
## 💯 Lighthouse score | ||
![Astro Sphere Lighthouse Score](_lighthouse.png) | ||
|
||
```bash | ||
npm run dev | ||
``` | ||
## 🕊️ Lightweight | ||
All pages under 100kb (including fonts) | ||
|
||
## Production | ||
## ⚡︎ Fast | ||
Rendered in ~40ms on localhost | ||
|
||
Build the application for production: | ||
## 📄 Configuration | ||
|
||
```bash | ||
npm run build | ||
``` | ||
The blog posts on the demo serve as the documentation and configuration. | ||
|
||
Locally preview production build: | ||
## 💻 Commands | ||
|
||
```bash | ||
npm run preview | ||
``` | ||
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 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` | Starts preview server 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 | | ||
|
||
## 🗺️ Roadmap | ||
|
||
A few features I plan to implement | ||
- ⬜ Code Blocks - copy to clipboard | ||
- ⬜ Article Pages - Table of Contents | ||
- ⬜ Article Pages - Share on social media | ||
|
||
## ✨ Acknowledgement | ||
|
||
Theme inspired by [Paco Coursey](https://paco.me/), [Lee Robinson](https://leerob.io/) and [Hayden Bleasel](https://www.haydenbleasel.com/) | ||
|
||
|
||
## 🏛️ License | ||
|
||
MIT | ||
|
||
|
||
# 1.0.1 Update | ||
|
||
Added ability to run dev and preview on local network. | ||
added npm run dev:network | ||
added npm run preview:network | ||
|
||
Added slightly more particle density in both light and dark mode. | ||
|
||
Added subtle dark mode star and meteor animations. | ||
|
||
Removed eslint config | ||
|
||
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information. |
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.