Skip to content

Commit 7f1e355

Browse files
author
Rohit Kumar
committed
#
1 parent db6521c commit 7f1e355

File tree

2 files changed

+35
-4
lines changed

2 files changed

+35
-4
lines changed

app/src/components/main/Main.jsx

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,37 @@ export default function Main(props) {
77
const navigate = useNavigate();
88
return (
99
<section id="main-landing" className="text-light text-center">
10-
<div style={{float: "right", marginRight: "20px", marginTop: "20px"}}>
11-
</div>
12-
<img src={logo} alt="logo" className="logo img-fluid" /><br/>
13-
{props.global.s_status ? <span className="badge bg-label-primary">• Live</span> : <span class="badge bg-label-dark">• Offline</span>}
10+
<div
11+
style={{ float: "right", marginRight: "20px", marginTop: "20px" }}
12+
></div>
13+
<img src={logo} alt="logo" className="logo img-fluid" />
14+
<br />
15+
{props.global.s_status ? (
16+
<span className="badge bg-label-primary">• Live</span>
17+
) : (
18+
<span class="badge bg-label-dark">• Offline</span>
19+
)}
1420
<br></br>
1521
<button className="btn" onClick={() => navigate("/login")}>
1622
Login
1723
</button>
1824
<button className="btn" onClick={() => navigate("/register")}>
1925
Sign Up
2026
</button>
27+
<br />
28+
<div className="footer bottom-fixed bottom-0 text-center text-dark mt-5">
29+
<p className="m-0" style={{ fontFamily: "monospace" }}>
30+
Developed, Maintained and Hosted with ❤️ by{" "}
31+
<a
32+
href="https://aboutrohit.in"
33+
target="_blank"
34+
rel="noreferrer"
35+
style={{ textDecoration: "none", color: "black" }}
36+
>
37+
<u>Rohit Kumar</u>
38+
</a>
39+
</p>
40+
</div>
2141
</section>
2242
);
2343
}

www/src/components/Footer.jsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,17 @@ export default function Footer(props) {
153153
(Powered by Blockchain & Smart Contracts, Made with ❤️ in
154154
India)
155155
<br />© Cast My Vote, Ghaziabad, Uttar Pradesh, India
156+
<br />
157+
Developed, Maintained and Hosted with ❤️ by
158+
<a
159+
href="https://aboutrohit.in"
160+
className="mx-2"
161+
target="_blank"
162+
rel="noreferrer"
163+
style={{ textDecoration: "none" }}
164+
>
165+
<u>Rohit Kumar</u>
166+
</a>
156167
</small>
157168
</p>
158169
</div>

0 commit comments

Comments
 (0)