-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
47 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import React from "react"; | ||
import styles from './Nav.module.css'; | ||
|
||
|
||
type Link = { | ||
label: string | ||
href: string | ||
}; | ||
|
||
const Nav = () => { | ||
return( | ||
<body> | ||
<header> | ||
<nav | ||
className=" | ||
flex flex-wrap | ||
items-center | ||
justify-between | ||
w-full | ||
h-20 | ||
text-lg text-white | ||
bg-black | ||
rounded-b-2xl | ||
" | ||
> | ||
<div> | ||
<a className="block text-white font-bold text-3xl mx-60">Reasn.</a> | ||
</div> | ||
|
||
<div className="flex space-x-4 items-center mx-60"> | ||
<a className="block text-white mr-8">logowanie</a> | ||
<a className="px-8 py-1.5 text-white border-2 border-white rounded-full">rejestracja</a> | ||
</div> | ||
</nav> | ||
</header> | ||
</body> | ||
) | ||
} | ||
export default Nav |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
"use client"; | ||
|
||
import { Button } from "@reasn/ui"; | ||
|
||
import React from 'react'; | ||
import styles from "../styles/index.module.css"; | ||
import Nav from './Nav'; | ||
|
||
export default function Web() { | ||
return ( | ||
<div className={styles.container}> | ||
<h1>Web</h1> | ||
<Button onClick={() => console.log("Pressed!")} text="Boop" /> | ||
</div> | ||
); | ||
} | ||
<> | ||
<Nav/> | ||
<h1></h1> | ||
</> | ||
) | ||
} |