feat: restructure now page

- rename now/index.astro to now.astro
- update deps
This commit is contained in:
Ayo Ayco 2024-12-25 18:14:24 +01:00
parent 9db03c2752
commit df1e3dad91
3 changed files with 1002 additions and 43 deletions

View file

@ -16,10 +16,11 @@
"devDependencies": {
"@astro-reactive/form": "^0.10.0",
"@astro-reactive/validator": "^0.5.0",
"@astrojs/sitemap": "^3.1.6",
"@astrojs/sitemap": "^3.2.1",
"@ayco/astro-sw": "^0.8.8",
"astro": "^4.15.6",
"astro": "^5.0.5",
"astro-github-stats": "^0.7.1",
"astro-iconify": "^1.2.0"
}
},
"packageManager": "pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c"
}

File diff suppressed because it is too large Load diff

View file

@ -1,10 +1,10 @@
---
import Layout from "../../layouts/Layout.astro";
import Footer from "../../components/Footer.astro";
import Posts from "../../components/Posts.astro";
import now from '../../constants/now'
import Layout from "../layouts/Layout.astro";
import Footer from "../components/Footer.astro";
import Posts from "../components/Posts.astro";
import now from '../constants/now'
const posts = await Astro.glob("./and-then/posts/*.astro");
const posts = await Astro.glob("./now/and-then/posts/*.astro");
---
<Layout title="Now" description="What is Ayo Ayco currently up to?">