Skip to content

Commit

Permalink
fix: stucture FIXED
Browse files Browse the repository at this point in the history
  • Loading branch information
juunie-roh committed Dec 6, 2023
1 parent 94f7dc3 commit 8069f34
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
import Image from 'next/image';

import { Meta } from '@/layouts/Meta';
import { Main } from '@/templates/Main';

const Index = () => (
<main className="flex min-h-screen flex-col items-center justify-between p-24">
<Main
meta={
<Meta
title="Juun's Next.js Boilerplate"
description="Next js Boilerplate Settings"
/>
}
>
<div className="z-10 w-full max-w-5xl items-center justify-between font-mono text-sm lg:flex">
<p className="fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30">
Working on Dev Env Settings&nbsp;
Expand Down Expand Up @@ -107,7 +117,7 @@ const Index = () => (
</p>
</a>
</div>
</main>
</Main>
);

export default Index;
2 changes: 1 addition & 1 deletion src/templates/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ const Main = (props: IMainProps) => (
</div>
);

export default Main;
export { Main };

0 comments on commit 8069f34

Please sign in to comment.