Skip to content

Commit 2b0ed6d

Browse files
feat: add footer section on homepage
Added club's email, insta, github and linkedin.
1 parent 4470538 commit 2b0ed6d

3 files changed

Lines changed: 40 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import { Email, GitHub, Instagram, LinkedIn } from "@material-ui/icons";
2+
import React from "react";
3+
import styles from "./style.module.css";
4+
5+
const HomeFooter: React.FC = () => {
6+
return (
7+
<div className={styles.container}>
8+
<a href="https://www.instagram.com/bitbyte.tpc/" target="_blank">
9+
<Instagram className={styles.icon} />
10+
</a>
11+
<a href="mailto:theprogclub@iiitdmj.ac.in" target="_blank">
12+
<Email className={styles.icon} />
13+
</a>
14+
<a
15+
href="https://www.linkedin.com/company/bitbyte-tpc/about/"
16+
target="_blank"
17+
>
18+
<LinkedIn className={styles.icon} />
19+
</a>
20+
<a href="https://github.com/BitByte-TPC" target="_blank">
21+
<GitHub className={styles.icon} />
22+
</a>
23+
</div>
24+
);
25+
};
26+
27+
export default HomeFooter;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.container {
2+
display: flex;
3+
height: 10vh;
4+
justify-content: space-around;
5+
align-items: center;
6+
padding: 0 20vw;
7+
}
8+
.icon {
9+
color: white;
10+
font-size: 2rem;
11+
}

frontend/src/pages/homePage/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import Nav2 from "../../components/Navs/Nav_v2";
55
import WhyUs from "src/components/WhyUs";
66
import Mission from "src/components/Mission_vision/Mission";
77
import Vision from "src/components/Mission_vision/Vision";
8+
import HomeFooter from "src/components/HomeFooter";
89

910
const HomePage: React.FC = () => {
1011
return (
@@ -37,6 +38,7 @@ const HomePage: React.FC = () => {
3738
<WhyUs />
3839
<Mission />
3940
<Vision />
41+
<HomeFooter />
4042
</div>
4143
);
4244
};

0 commit comments

Comments
 (0)