Skip to content

Commit

Permalink
create top page
Browse files Browse the repository at this point in the history
  • Loading branch information
miso-devel committed Oct 29, 2023
1 parent 38ad473 commit 95dbdce
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
10 changes: 3 additions & 7 deletions client/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import { DelaGothic } from '../../font/font';
import './globals.css';

const inter = Inter({ subsets: ['latin'] });

export const metadata: Metadata = {
title: 'Duck Stream',
};
export const metadata: Metadata = { title: 'Duck Stream' };

export default function RootLayout({
children,
Expand All @@ -15,7 +11,7 @@ export default function RootLayout({
}) {
return (
<html lang='en'>
<body className={inter.className}>{children}</body>
<body className={DelaGothic.className}>{children}</body>
</html>
);
}
9 changes: 8 additions & 1 deletion client/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
export default function Home() {
return (
<main className='flex min-h-screen flex-col items-center justify-between p-24'></main>
<main className='flex min-h-screen flex-col items-center justify-center gap-5 bg-secondary'>
<h1 className='font-bold text-4xl text-main stroke-black text-stroke'>
DUCK STREAM
</h1>
<a className='text-2xl hover:text-main' href='/draw'>
play
</a>
</main>
);
}

0 comments on commit 95dbdce

Please sign in to comment.