Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Footer #3

Merged
merged 10 commits into from
Feb 25, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@vitejs/plugin-react": "^2.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.7.1",
"react-router-dom": "^6.4.3",
"vite": "^3.2.3"
},
Expand Down
10 changes: 10 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@ import { Routes, Route } from "react-router-dom";

import { Home } from "./Pages";

import { Navbar } from "./Components";
import { Navbar,Button,Footer } from "./Components";


const App = () => {
return (
<>
<Navbar />
<Routes>
<Route path="/" element={<Home />} />
</Routes>
<Footer/>

codadept marked this conversation as resolved.
Show resolved Hide resolved
</>
);
};
Expand Down
39 changes: 39 additions & 0 deletions src/Components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import styles from "./Footer.module.scss";
import React from "react";
import {FiFacebook} from "react-icons/fi"
codadept marked this conversation as resolved.
Show resolved Hide resolved
import {AiOutlineInstagram} from "react-icons/ai"
import {FiLinkedin} from "react-icons/fi"


const Footer = () =>{
return(
<>


<div className={`${styles.containerContact}`}>
<p className={`${styles.contactHeader}`}>Contact<span className={`${styles.infoGrad}`}> Info</span></p>
<div className={`${styles.credInfo}`}>
<p className={`${styles.credItems}`}>Address<span className={`${styles.credText}`}>National Institute of Technology Silchar Cachar, Assam</span></p>
<p className={`${styles.credItems}`}>Website<span className={`${styles.credText}`}>www.nits.ac.in</span></p>
<p className={`${styles.credItems}`}>Email<span className={`${styles.credText}`}>xxxx@xxx.com</span></p>
<p className={`${styles.credItems}`}>Phone Number<span className={`${styles.credText}`}>+91-xxxxxxxxxx</span></p>
</div>

</div>
<div className={`${styles.containerFooter}`}>
<p className= {`${styles.footerDesc}`}>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lacus, purus tincidunt tellus eros. Feugiat velit id sed sit id velit, adipiscing pulvinar orci. Et, bibendum nibh pellentesque id sagittis adipiscing lorem. Elit egestas bibendum morbi vitae, nullam nunc sagittis eget.</p>
<div className= {`${styles.iconSection}`} >
<FiFacebook className= {`${styles.facebookIcon}`}/>
<AiOutlineInstagram className= {`${styles.instaIcon}`} />
<FiLinkedin className= {`${styles.linkedinIcon}`} />
</div>
codadept marked this conversation as resolved.
Show resolved Hide resolved

</div>


</>

)
}

export default Footer
130 changes: 130 additions & 0 deletions src/Components/Footer/Footer.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@

@font-face{
font-family: 'Gilroy-Bold';
src: url(../fonts/gilroy/Gilroy-Bold.ttf);
codadept marked this conversation as resolved.
Show resolved Hide resolved
}





.containerContact {
display: flex;
flex-direction: column;
padding-top: 134px;
text-align: center;



}

.contactHeader, .infoGrad{
font-family: 'Gilroy-Bold';
font-size: 48px;
line-height: 56px;
font-weight: 700;
}

.infoGrad{
background: linear-gradient(to bottom, rgba(182,33,254,1) 35%, rgba(31,209,249,1) 100%);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;

}



.credInfo {

display: flex;
flex-direction: row;
justify-content: center;
margin-top: 72px;
font-size: 24px;
line-height: 28px;
text-align: center;
}
.credItems{
width: 264px;
margin-right: 33px;
margin-left: 33px;
font-family: 'Gilroy-Bold';
}
.credText{
font-weight: 900;
display: block;
margin-top: 0.5rem;
}

.containerFooter{
margin-top: 104px;
background-color: #15131A;

}
.footerDesc{
max-width: 970px;
margin: auto;
padding-top: 99px;
font-size: 24px;
font-weight: 900;
line-height: 39px;
text-align: center;
color: rgba(255, 255, 255, 0.64);
}

.facebookIcon{
width: 2.91rem;
height: 2.91rem;
color: white;
margin-right: 66.36px;
margin-left: 66.36px;

}
.instaIcon{
width: 2.91rem;
height: 2.91rem;
color: white;
margin-right: 66.36px;

}
.linkedinIcon
{
width: 2.91rem;
height: 2.91rem;
color: white;
margin-right: 66.36px;
}
.iconSection
{
display: flex;
justify-content: center;
margin-top: 87px;
padding-bottom: 148px;

}

@media screen and (max-width: 1200px)
{
.contactHeader, .infoGrad{
font-size: 48px;
margin-bottom: 3rem;

}
.credInfo{
flex-direction: column;
max-width: 80vh;
margin: auto;

}
.credItems{
margin: 0;
margin-bottom: 2rem;
}
.footerDesc{
padding-left: 1rem;
padding-right: 1rem;
}


}

Binary file added src/Components/fonts/gilroy/210000.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Components/fonts/gilroy/210001.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Components/fonts/gilroy/210003.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Components/fonts/gilroy/210004.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Components/fonts/gilroy/210006.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Components/fonts/gilroy/210018.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Components/fonts/gilroy/210019.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Components/fonts/gilroy/210020.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Components/fonts/gilroy/210279.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Components/fonts/gilroy/210280.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Components/fonts/gilroy/Gilroy-Black.ttf
Binary file not shown.
Binary file not shown.
Binary file added src/Components/fonts/gilroy/Gilroy-Bold.ttf
Binary file not shown.
Binary file not shown.
Binary file added src/Components/fonts/gilroy/Gilroy-ExtraBold.ttf
Binary file not shown.
Binary file not shown.
Binary file added src/Components/fonts/gilroy/Gilroy-Heavy.ttf
Binary file not shown.
Binary file not shown.
Binary file added src/Components/fonts/gilroy/Gilroy-Light.ttf
Binary file not shown.
Binary file not shown.
Binary file added src/Components/fonts/gilroy/Gilroy-Medium.ttf
Binary file not shown.
Binary file not shown.
Binary file added src/Components/fonts/gilroy/Gilroy-Regular.ttf
Binary file not shown.
Binary file not shown.
Binary file added src/Components/fonts/gilroy/Gilroy-SemiBold.ttf
Binary file not shown.
Binary file not shown.
Binary file added src/Components/fonts/gilroy/Gilroy-Thin.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[InternetShortcut]
URL=https://www.fontshmonts.com/?utm_source=file_shortcuts&utm_medium=downloaded_files
Binary file added src/Components/fonts/gilroy/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/Components/index.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Button from "./Button/Button";
import Navbar from "./Navbar/Navbar";
import Footer from "./Footer/Footer";

export { Button, Navbar };
export { Button, Navbar, Footer };