feat: change all public page to public dir

This commit is contained in:
arraysid
2025-05-19 13:39:03 +07:00
parent 795bcb6ab1
commit 0bc7d084d5
22 changed files with 23 additions and 1 deletions
@@ -4,7 +4,7 @@ import { Events } from './_components/events';
import { Hero } from './_components/hero';
import { Testimonials } from './_components/testimonials';
export default async function Page() {
export default function Page() {
return (
<>
<Hero />
@@ -0,0 +1,3 @@
export default function Page() {
return <></>;
}
@@ -0,0 +1,3 @@
export default function Page() {
return <></>;
}
@@ -0,0 +1,13 @@
import { ReactNode } from 'react';
import Footer from '../_components/footer';
import { Header } from '../_components/header';
export default function Layout({ children }: { children: ReactNode }) {
return (
<div className="flex min-h-screen flex-col">
<Header />
<main className="flex-1">{children}</main>
<Footer />
</div>
);
}
@@ -0,0 +1,3 @@
export default function Page() {
return <></>;
}