Skip to content

Commit

Permalink
RSN-34: added required changes and created footer
Browse files Browse the repository at this point in the history
  • Loading branch information
rogacky11 committed Jun 1, 2024
1 parent 53643a7 commit 7b0d62e
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 41 deletions.
39 changes: 0 additions & 39 deletions Client/reasn-client/apps/web/app/Nav.tsx

This file was deleted.

5 changes: 3 additions & 2 deletions Client/reasn-client/apps/web/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import React from 'react';
import styles from "../styles/index.module.css";
import Nav from './Nav';
import Nav from "../components/navbar";
import Footer from '../components/footer';

export default function Web() {
return (
<>
<Nav/>
<h1></h1>
<Footer/>
</>
)
}
28 changes: 28 additions & 0 deletions Client/reasn-client/apps/web/components/footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import React from "react";

const Footer = () => {
return(
<footer className="text-center py-20 bg-black bg-bottom absolute inset-x-0 bottom-0 rounded-t-2xl">
<div className="flex items-center justify-between w-full px-80">
<div className="flex-grow h-1 rounded-3xl mx-1 mt-1 bg-gradient-to-r from-red-400 via-purple-500 to-indigo-600">
</div>
<span className="text-3xl font-bold text-white">we are</span>
<div className="flex-grow h-1 rounded-3xl mx-1 mt-1 bg-gradient-to-r from-indigo-600 via-purple-500 to-red-400"></div>
</div>
<div className="text-3xl font-bold text-white -mt-2">the Reasn.</div>
<div className="flex justify-between mx-96 -mt-10">
<div className="flex gap-16 text-gray-400">
<a href="#">link</a>
<a href="#">link</a>
<a href="#">link</a>
</div>
<div className="flex gap-16 text-gray-400">
<a href="#">link</a>
<a href="#">link</a>
<a href="#">link</a>
</div>
</div>
</footer>
)
}
export default Footer
24 changes: 24 additions & 0 deletions Client/reasn-client/apps/web/components/navbar.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React from "react";

const Nav = () => {
return(

<nav
className="flex flex-wrap items-center justify-between w-full h-16 text-base text-white bg-black rounded-b-2xl"
>
<div className="flex w-3/4 justify-between ml-56 ">
<div>
<a href="#" className="font-bold text-2xl">Reasn.</a>
</div>
<div className="flex items-center gap-8">
<a href="#">logowanie</a>
<a href="#" className="px-6 py-1.5 border-2 border-white rounded-2xl">
rejestracja
</a>
</div>
</div>
</nav>

)
}
export default Nav

0 comments on commit 7b0d62e

Please sign in to comment.