Skip to content

Commit

Permalink
app added
Browse files Browse the repository at this point in the history
  • Loading branch information
sektor7k committed Oct 11, 2023
1 parent 529e091 commit 80dff2e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app/components/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

export const Navbar = () => {
return(
<header className="sticky top-0 h-16 bg-red-900 flex justify-between items-center px-4">

<p className="text-xl font-bold">
NFT Pawn Shop
</p>

<button className="bg-blue-500 rounded-full h-10 px-5">
CONNECT
</button>
</header>
)
}
2 changes: 2 additions & 0 deletions app/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Navbar } from '@/components/Navbar'
import { Html, Head, Main, NextScript } from 'next/document'

export default function Document() {
Expand All @@ -7,6 +8,7 @@ export default function Document() {
<link href="https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700&display=swap" rel="stylesheet" />
</Head>
<body className="font-['Onest',sans-serif]">
<Navbar/>
<Main />
<NextScript />
</body>
Expand Down

0 comments on commit 80dff2e

Please sign in to comment.