added footer

This commit is contained in:
akanksha 2022-03-28 17:38:46 +05:30
parent aef49bf228
commit db865107de
5 changed files with 41 additions and 2 deletions

View File

@ -0,0 +1,16 @@
import React from 'react'
import FavoriteIcon from '@mui/icons-material/Favorite';
import styles from '../../styles/Footer.module.css'
const Footer = () => {
return (
<div className={styles.footer}>
<div>
This project is OpenSource under MIT license
<br/>
Made with <span className={styles.icon}><FavoriteIcon/></span> by <a href='https://github.com/BRAVO68WEB' target='_blank'> @bravo68web </a> and team
</div>
</div>
)
}
export default Footer

View File

@ -1,12 +1,14 @@
import React from 'react'
import Navbar from 'components/NavBar'
import Contributors from 'components/Contributors/Contributors'
import Footer from 'components/Footer/Footer'
function contributors() {
return (
<>
<main className={'main-bg'}>
<Navbar />
<Contributors />
<Footer />
</main>
</>
)

View File

@ -3,7 +3,7 @@ import Head from 'next/head'
import HomeSection from 'components/HomeSection/HomeSection'
import NavBar from 'components/NavBar'
import Features from 'components/Features'
import Footer from 'components/Footer/Footer'
export default function Home() {
const [shortUrl, setShortUrl] = useState(null)
@ -34,6 +34,7 @@ export default function Home() {
setShowQrCode={setShowQrCode}
/>
<Features />
<Footer />
</main>
</>
)

View File

@ -0,0 +1,18 @@
.footer{
display: flex;
color: #fff;
align-items: center;
justify-content: center;
text-align: center;
background-color: #73c2fb;
padding: 0;
margin: 0;
height: 70px;
}
.footer div{
line-height: 20px;
}
.icon svg{
vertical-align: middle;
font-size: 1.2rem;
}

View File

@ -9,7 +9,8 @@ body {
overflow-y: auto;
}
a {
a, a:hover
{
color: inherit;
text-decoration: none;
}
@ -49,3 +50,4 @@ body::-webkit-scrollbar-thumb {
border-width: 2px 0 2px;
border-radius: 10px;
}