feat: Complete multi-blog setup with 12 collections and subdomain routing

- Added 12 blog collections: art, bfs, dfs, problems, puzzles, reviews, reflections, vibes, workflows, magic, contests, poetry
- Created content config with glob loaders for all collections
- Added sample posts for each collection
- Fixed TypeScript collection recognition by removing duplicate config
- Made BlogPosts component collection-aware for proper routing
- Created individual post pages ([...slug].astro) for each collection
- Added Netlify subdomain routing configuration
- Updated all references to use neeldhara.blog as main domain
- Fixed navigation links in all-blogs component

Ready for GitHub/Netlify deployment with subdomain support.
This commit is contained in:
Neeldhara Misra 2025-08-10 01:22:06 +05:30
commit b47b761f1c
190 changed files with 16583 additions and 0 deletions

90
netlify.toml Normal file
View file

@ -0,0 +1,90 @@
# Main site configuration
[build]
publish = "dist"
command = "npm run build"
# Redirect rules for subdomain routing
[[redirects]]
from = "https://art.neeldhara.blog/*"
to = "https://neeldhara.blog/art/:splat"
status = 200
force = true
[[redirects]]
from = "https://bfs.neeldhara.blog/*"
to = "https://neeldhara.blog/bfs/:splat"
status = 200
force = true
[[redirects]]
from = "https://dfs.neeldhara.blog/*"
to = "https://neeldhara.blog/dfs/:splat"
status = 200
force = true
[[redirects]]
from = "https://problems.neeldhara.blog/*"
to = "https://neeldhara.blog/problems/:splat"
status = 200
force = true
[[redirects]]
from = "https://puzzles.neeldhara.blog/*"
to = "https://neeldhara.blog/puzzles/:splat"
status = 200
force = true
[[redirects]]
from = "https://reviews.neeldhara.blog/*"
to = "https://neeldhara.blog/reviews/:splat"
status = 200
force = true
[[redirects]]
from = "https://reflections.neeldhara.blog/*"
to = "https://neeldhara.blog/reflections/:splat"
status = 200
force = true
[[redirects]]
from = "https://vibes.neeldhara.blog/*"
to = "https://neeldhara.blog/vibes/:splat"
status = 200
force = true
[[redirects]]
from = "https://workflows.neeldhara.blog/*"
to = "https://neeldhara.blog/workflows/:splat"
status = 200
force = true
[[redirects]]
from = "https://magic.neeldhara.blog/*"
to = "https://neeldhara.blog/magic/:splat"
status = 200
force = true
[[redirects]]
from = "https://contests.neeldhara.blog/*"
to = "https://neeldhara.blog/contests/:splat"
status = 200
force = true
[[redirects]]
from = "https://poetry.neeldhara.blog/*"
to = "https://neeldhara.blog/poetry/:splat"
status = 200
force = true
# Main blog redirect
[[redirects]]
from = "https://blog.neeldhara.blog/*"
to = "https://neeldhara.blog/blog/:splat"
status = 200
force = true
# Fallback for main domain
[[redirects]]
from = "/*"
to = "/index.html"
status = 200