Skip to content

Commit

Permalink
RSN-34: created navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
rogacky11 authored and wzarek committed Jun 6, 2024
1 parent 15a9c31 commit 9ce15e4
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 10 deletions.
39 changes: 39 additions & 0 deletions Client/reasn-client/apps/web/app/Nav.tsx
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
18 changes: 8 additions & 10 deletions Client/reasn-client/apps/web/app/page.tsx
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>
</>
)
}

0 comments on commit 9ce15e4

Please sign in to comment.