feat(cms): improve admin content editing
This commit is contained in:
parent
12d31f5468
commit
a284bbc188
26 changed files with 362 additions and 147 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import PageHero from "@/components/PageHero";
|
||||
import ContactForm from "@/components/ContactForm";
|
||||
import { defaultContent } from "@/lib/content/defaults";
|
||||
import { getContent } from "@/lib/content/service";
|
||||
import { createContentMetadata } from "../seo";
|
||||
|
||||
|
|
@ -7,7 +8,7 @@ export const dynamic = "force-dynamic";
|
|||
|
||||
export async function generateMetadata() {
|
||||
const content = await getContent("contact");
|
||||
return createContentMetadata(content.seo);
|
||||
return createContentMetadata(content.seo, defaultContent.contact.seo);
|
||||
}
|
||||
|
||||
export default async function ContactPage() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue