This commit is contained in:
@ -1,8 +1,11 @@
|
||||
import ThemeSwitcher from '@/components/ThemeSwitcher'
|
||||
import { getCurrentYear } from '@/utils/date'
|
||||
import Link from 'next/link'
|
||||
import React from 'react'
|
||||
import Header from '@/components/Header'
|
||||
import Footer from '@/components/Footer'
|
||||
|
||||
import { getPayloadHMR } from '@payloadcms/next/utilities'
|
||||
import configPromise from '@payload-config'
|
||||
import Posts from '@/components/Blocks/Posts'
|
||||
|
||||
interface Props {}
|
||||
|
||||
@ -17,16 +20,11 @@ const Page = (props: Props) => {
|
||||
<br />
|
||||
{`When you're ready to deploy the website on your own server, Nextload comes with a production environment that requires the use of Traefik as a reverse proxy. This setup provides a secure and scalable production environment for your website.`}
|
||||
</p>
|
||||
{/* <section className="mt-4">
|
||||
<Posts posts={posts} />
|
||||
</section> */}
|
||||
<section className="mt-4">
|
||||
<Posts />
|
||||
</section>
|
||||
</main>
|
||||
<footer className="flex justify-between items-center py-4">
|
||||
<p className="text-lg font-semibold">
|
||||
© {getCurrentYear()} Autonomic. Template distributed under AGPL 3.0.
|
||||
</p>
|
||||
<ThemeSwitcher />
|
||||
</footer>
|
||||
<Footer />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user