chore: update versions and start migration
This commit is contained in:
parent
2afb053c56
commit
4b2cd6d1e5
|
@ -14,17 +14,16 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/tailwind": "^5.0.2",
|
||||
"@portabletext/react": "^3.0.11",
|
||||
"@sanity/client": "^6.7.0",
|
||||
"@sanity/client": "^6.9.1",
|
||||
"@sanity/image-url": "^1.0.2",
|
||||
"astro": "^3.3.2",
|
||||
"astro": "^3.6.4",
|
||||
"astro-portabletext": "^0.9.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@portabletext/types": "^2.0.8",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"groq": "^3.18.1",
|
||||
"postcss": "^8.4.31",
|
||||
"tailwindcss": "^3.3.3"
|
||||
"groq": "^3.20.2",
|
||||
"postcss": "^8.4.32",
|
||||
"tailwindcss": "^3.3.5"
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
11
frontend/src/content/config.ts
Normal file
11
frontend/src/content/config.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
// 1. Import utilities from `astro:content`
|
||||
import { defineCollection } from 'astro:content';
|
||||
// 2. Define your collection(s)
|
||||
const blogCollection = defineCollection({
|
||||
/* ... */
|
||||
});
|
||||
// 3. Export a single `collections` object to register your collection(s)
|
||||
// This key should match your collection directory name in "src/content"
|
||||
export const collections = {
|
||||
blog: blogCollection,
|
||||
};
|
Loading…
Reference in a new issue