Skip to content

Commit 7f85b31

Browse files
Jatin YadavJatin Yadav
Jatin Yadav
authored and
Jatin Yadav
committed
New Footer Design Updates
1 parent 362a4b9 commit 7f85b31

File tree

2 files changed

+35
-33
lines changed

2 files changed

+35
-33
lines changed

components/Footer.js

+34-27
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import React from "react";
22
import dynamic from "next/dynamic";
3+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
4+
import { faGithub, faProductHunt, faTwitter } from '@fortawesome/free-brands-svg-icons';
35

46
const ThemeToggle = dynamic(() => import("./ThemeToggle"), {
57
ssr: false,
@@ -10,38 +12,43 @@ const Footer = () => {
1012
return (
1113
<>
1214
<div className="footer" role="footer" >
13-
<footer className="copyright">
14-
<div className="footer-question">
15-
<h4>
16-
Made by{" "}
17-
<a
18-
href="https://swapnilsparsh.github.io"
19-
target="_blank"
20-
rel="noreferrer"
21-
aria-label="Follow Swapnil Srivastava on Github"
15+
16+
<div style={{ display: 'flex', justifyContent: 'space-between', alignContent: 'center', margin: 'auto 5rem', padding: '1rem 0rem' }} >
17+
<p style={{ color: "white" }} aria-label="Copyright by DevEmpire">Copyright © DevEmpire {year}.</p>
18+
<p>
19+
Made by{" "}
20+
<a
21+
href="https://swapnilsparsh.github.io"
22+
target="_blank"
23+
rel="noreferrer"
24+
aria-label="Follow Swapnil Srivastava on Github"
2225
// title="Github (External Link)"
23-
>
24-
{" "}
25-
Swapnil Srivastava
26-
</a>{" "}
26+
style={{ color: 'white' }}>
27+
{" "}
28+
Swapnil
29+
</a>{" "}
2730

28-
and
31+
&
2932

30-
<a
31-
href="https://jatiinyadav.github.io"
32-
target="_blank"
33-
rel="noreferrer"
34-
aria-label="Follow Jatin Yadav on Github"
33+
<a
34+
href="https://jatiinyadav.github.io"
35+
target="_blank"
36+
rel="noreferrer"
37+
aria-label="Follow Jatin Yadav on Github"
3538
// title="Github (External Link)"
36-
>
37-
{" "}
38-
Jatin Yadav
39-
</a>
40-
</h4>
41-
<br />
42-
<p style={{ color: "white" }} aria-label="Copyright by DevEmpire">Copyright © {year} DevEmpire</p>
39+
style={{ color: 'white' }}>
40+
{" "}
41+
Jatin
42+
</a>
43+
</p>
44+
<div style={{ display: 'flex', justifyContent: 'space-between', alignContent: 'center', gap: '1rem', cursor: 'pointer', color: 'white' }}>
45+
<p style={{ marginTop: '.1rem' }}>SUPPORT</p>
46+
<p style={{ marginTop: '.1rem' }}>|</p>
47+
<a href="https://github.com/swapnilsparsh/DevEmpire" target="_blank"><FontAwesomeIcon icon={faGithub} size="xl" inverse /></a>
48+
<a href="https://www.producthunt.com/products/developer-empire?utm_source=badge-featured&utm_medium=badge#developer-empire" target="_blank"><FontAwesomeIcon icon={faProductHunt} size="xl" inverse /></a>
49+
<a href="https://twitter.com/intent/tweet?text=Check%20out%20this%20awesome%20website%20having%20a%20collection%20of%20all%20the%20campus%20ambassador%20and%20fellowship%20programs&url=https://devempire.netlify.app&via=swapnilsparsh" target="_blank"><FontAwesomeIcon icon={faTwitter} size="xl" inverse /></a>
4350
</div>
44-
</footer>
51+
</div>
4552

4653
</div>
4754
</>

styles/globals.css

+1-6
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,6 @@ input.search {
921921
width: inherit;
922922
border-radius: inherit;
923923
overflow: hidden;
924-
-webkit-mask-image: -webkit-radial-gradient(white, black);
925924
}
926925

927926
.container .card-js .content .glow-button .glowing-button::before {
@@ -1100,10 +1099,6 @@ input.search {
11001099
background-color: var(--navbar-color);
11011100
background-repeat: no-repeat;
11021101
background-size: 100%;
1103-
padding: 2rem 0rem 2rem 0rem;
1104-
display: grid;
1105-
grid-template-columns: auto auto;
1106-
width: 100%;
11071102
}
11081103

11091104
.footer-question {
@@ -1290,7 +1285,7 @@ input.search {
12901285
.back-to-top .top {
12911286
position: fixed;
12921287
cursor: pointer;
1293-
bottom: 20px;
1288+
bottom: 7px;
12941289
right: 15px;
12951290
font-size: 16px;
12961291
color: var(--native1);

0 commit comments

Comments
 (0)