Skip to content

Commit debe96c

Browse files
committed
Initial launch with custom domain
0 parents  commit debe96c

34 files changed

Lines changed: 6860 additions & 0 deletions

.github/workflows/deploy.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: Install, build, and upload
20+
uses: withastro/action@v2
21+
22+
deploy:
23+
needs: build
24+
runs-on: ubuntu-latest
25+
environment:
26+
name: github-pages
27+
url: ${{ steps.deployment.outputs.page_url }}
28+
steps:
29+
- name: Deploy
30+
id: deployment
31+
uses: actions/deploy-pages@v4

.gitignore

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

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

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

README.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Astro Starter Kit: Blog
2+
3+
```sh
4+
npm create astro@latest -- --template blog
5+
```
6+
7+
> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
8+
9+
Features:
10+
11+
- ✅ Minimal styling (make it your own!)
12+
- ✅ 100/100 Lighthouse performance
13+
- ✅ SEO-friendly with canonical URLs and OpenGraph data
14+
- ✅ Sitemap support
15+
- ✅ RSS Feed support
16+
- ✅ Markdown & MDX support
17+
18+
## 🚀 Project Structure
19+
20+
Inside of your Astro project, you'll see the following folders and files:
21+
22+
```text
23+
├── public/
24+
├── src/
25+
│   ├── components/
26+
│   ├── content/
27+
│   ├── layouts/
28+
│   └── pages/
29+
├── astro.config.mjs
30+
├── README.md
31+
├── package.json
32+
└── tsconfig.json
33+
```
34+
35+
Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
36+
37+
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
38+
39+
The `src/content/` directory contains "collections" of related Markdown and MDX documents. Use `getCollection()` to retrieve posts from `src/content/blog/`, and type-check your frontmatter using an optional schema. See [Astro's Content Collections docs](https://docs.astro.build/en/guides/content-collections/) to learn more.
40+
41+
Any static assets, like images, can be placed in the `public/` directory.
42+
43+
## 🧞 Commands
44+
45+
All commands are run from the root of the project, from a terminal:
46+
47+
| Command | Action |
48+
| :------------------------ | :----------------------------------------------- |
49+
| `npm install` | Installs dependencies |
50+
| `npm run dev` | Starts local dev server at `localhost:4321` |
51+
| `npm run build` | Build your production site to `./dist/` |
52+
| `npm run preview` | Preview your build locally, before deploying |
53+
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
54+
| `npm run astro -- --help` | Get help using the Astro CLI |
55+
56+
## 👀 Want to learn more?
57+
58+
Check out [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).
59+
60+
## Credit
61+
62+
This theme is based off of the lovely [Bear Blog](https://github.com/HermanMartinus/bearblog/).

astro.config.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// @ts-check
2+
3+
import mdx from '@astrojs/mdx';
4+
import sitemap from '@astrojs/sitemap';
5+
import { defineConfig } from 'astro/config';
6+
7+
// https://astro.build/config
8+
export default defineConfig({
9+
site: 'https://vimalinx.xyz',
10+
integrations: [mdx(), sitemap()],
11+
});

0 commit comments

Comments
 (0)