first project version mrDecor
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
import React from 'react'
|
||||
import type { Metadata } from 'next'
|
||||
import { ConsultationForm } from '@/components/sections/other/consultation-form'
|
||||
import { getContentSync } from '@/lib/content'
|
||||
|
||||
export async function generateMetadata(): Promise<Metadata> {
|
||||
const content = getContentSync()
|
||||
const meta = content.meta.pages.consultation
|
||||
return {
|
||||
title: meta.title,
|
||||
description: meta.description,
|
||||
}
|
||||
}
|
||||
|
||||
export default function ConsultationPage() {
|
||||
const content = getContentSync()
|
||||
const { consultation } = content.pages
|
||||
|
||||
return (
|
||||
<main className="min-h-screen">
|
||||
<div className="mx-auto max-w-7xl px-6 py-24 md:py-32 lg:py-40">
|
||||
<div className="space-y-10 text-center">
|
||||
<div className="space-y-4">
|
||||
<h1 className="text-heading-1 font-bold">
|
||||
{consultation.heading}
|
||||
</h1>
|
||||
<p className="text-body text-muted-foreground mx-auto max-w-2xl">
|
||||
{consultation.description}
|
||||
</p>
|
||||
</div>
|
||||
<ConsultationForm />
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user