-
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.
RSN-34: added required changes and created footer
- Loading branch information
Showing
4 changed files
with
55 additions
and
41 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,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/> | ||
</> | ||
) | ||
} |
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,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 |
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,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 |