Skip to content

Commit 6fa8d69

Browse files
committed
feat: initialize MyCodingPlan website with Astro, Tailwind CSS, and daisyUI
- Set up Astro v6 with static output configuration - Add Tailwind CSS v4 and daisyUI v5 for styling - Create base layout with navbar and footer components - Configure GitHub Pages deployment workflow - Set up content collections for plans, models, tools, and stacks - Add project documentation (README, LICENSE, .gitignore) - Configure CNAME for mycodingplan.com domain
1 parent 9284057 commit 6fa8d69

20 files changed

Lines changed: 6348 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]
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 your repository using git
18+
uses: actions/checkout@v6
19+
- name: Install, build, and upload your site
20+
uses: withastro/action@v6
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 to GitHub Pages
30+
id: deployment
31+
uses: actions/deploy-pages@v5

.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+
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+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store
22+
23+
# jetbrains setting folder
24+
.idea/

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) 2026 MyCodingPlan
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.

README.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# MyCodingPlan
2+
3+
Compare AI coding plans and find your perfect setup.
4+
5+
## Tech Stack
6+
7+
- **Framework**: [Astro](https://astro.build/) v6
8+
- **Styling**: [Tailwind CSS](https://tailwindcss.com/) v4 + [daisyUI](https://daisyui.com/)
9+
- **Language**: TypeScript (strict mode)
10+
- **Deployment**: GitHub Pages
11+
12+
## Development
13+
14+
```sh
15+
# Install dependencies
16+
npm install
17+
18+
# Start local dev server
19+
npm run dev
20+
21+
# Build for production
22+
npm run build
23+
24+
# Preview production build
25+
npm run preview
26+
```
27+
28+
## Project Structure
29+
30+
```text
31+
/
32+
├── public/
33+
│ ├── favicon.svg
34+
│ ├── robots.txt
35+
│ └── images/
36+
├── src/
37+
│ ├── components/
38+
│ │ ├── Navbar.astro
39+
│ │ └── Footer.astro
40+
│ ├── content.config.ts
41+
│ ├── data/
42+
│ │ ├── plans/
43+
│ │ ├── models/
44+
│ │ ├── tools/
45+
│ │ └── stacks/
46+
│ ├── layouts/
47+
│ │ └── BaseLayout.astro
48+
│ ├── pages/
49+
│ │ └── index.astro
50+
│ └── styles/
51+
│ └── global.css
52+
├── .github/
53+
│ └── workflows/
54+
│ └── deploy.yml
55+
└── package.json
56+
```
57+
58+
## Contributing
59+
60+
See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
61+
62+
## License
63+
64+
[MIT](LICENSE)

astro.config.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// @ts-check
2+
import { defineConfig } from 'astro/config';
3+
import tailwindcss from '@tailwindcss/vite';
4+
5+
// https://astro.build/config
6+
export default defineConfig({
7+
output: 'static',
8+
site: 'https://mycodingplan.com',
9+
vite: {
10+
plugins: [tailwindcss()]
11+
}
12+
});

0 commit comments

Comments
 (0)