Skip to content

Commit 867d5c9

Browse files
remove this commit to make website visible
1 parent dc94e54 commit 867d5c9

File tree

4 files changed

+296
-243
lines changed

4 files changed

+296
-243
lines changed

src/App.js

+48-45
Original file line numberDiff line numberDiff line change
@@ -4,93 +4,96 @@ import React, { useEffect } from "react";
44
import { BrowserRouter as Router, Switch, Route } from "react-router-dom";
55

66
// fs imports
7-
import Login from "./pages/admin/Login";
8-
import Dashboard from "./pages/admin/Dashboard/Dashboard";
9-
import ContactUs from "./pages/ContactUs/ContactUs";
7+
// import Login from "./pages/admin/Login";
8+
// import Dashboard from "./pages/admin/Dashboard/Dashboard";
9+
// import ContactUs from "./pages/ContactUs/ContactUs";
1010
import Home from "./pages/Homepage/Home";
11-
import NotFound from "./pages/NotFound";
12-
import PrivateRoute from "./routes/PrivateRoute";
11+
// import NotFound from "./pages/NotFound";
12+
// import PrivateRoute from "./routes/PrivateRoute";
1313
import Contacts from "./pages/Contacts/Contacts";
14-
import Awards from "./pages/Awards/Awards";
15-
import Societies from "./pages/Societies/Societies";
14+
// import Awards from "./pages/Awards/Awards";
15+
// import Societies from "./pages/Societies/Societies";
1616
import Events from "./pages/Events/Events";
17-
import ScrollToTop from "./components/ScrollToTop";
18-
import Gallery from "./pages/Gallery/Gallery";
19-
import FAQ from "./pages/FAQ/FAQ";
20-
import Tech from "./pages/Committees/2021/Tech";
21-
import Sports from "./pages/Committees/2021/Sports";
22-
import Welfare from "./pages/Committees/2021/Welfare";
23-
import Socult from "./pages/Committees/2021/Socult";
24-
import AOS from "aos";
17+
// import ScrollToTop from "./components/ScrollToTop";
18+
// import Gallery from "./pages/Gallery/Gallery";
19+
// import FAQ from "./pages/FAQ/FAQ";
20+
// import Tech from "./pages/Committees/2021/Tech";
21+
// import Sports from "./pages/Committees/2021/Sports";
22+
// import Welfare from "./pages/Committees/2021/Welfare";
23+
// import Socult from "./pages/Committees/2021/Socult";
24+
// import AOS from "aos";
2525
import "aos/dist/aos.css";
26-
import Elections from "./pages/Elections/Elections";
27-
import ElectionCandidates from "./pages/Elections/ElectionCandidates";
28-
import CertifGen from "./pages/admin/CertificateGenerator/CertifGen";
29-
import EventsUpdatePage from "./pages/admin/DataUpdate/EventsUpdatePage";
30-
import Nominations from "./pages/Nominations/Nominations";
31-
import LiveScoreboard from "./pages/LiveScoreboard/LiveScoreboard";
32-
import Results from "./pages/Results/Results";
26+
// import Elections from "./pages/Elections/Elections";
27+
// import ElectionCandidates from "./pages/Elections/ElectionCandidates";
28+
// import CertifGen from "./pages/admin/CertificateGenerator/CertifGen";
29+
// import EventsUpdatePage from "./pages/admin/DataUpdate/EventsUpdatePage";
30+
// import Nominations from "./pages/Nominations/Nominations";
31+
// import LiveScoreboard from "./pages/LiveScoreboard/LiveScoreboard";
32+
// import Results from "./pages/Results/Results";
3333
import ViewCertificate from "./pages/certifgen/ViewCertificate";
3434

3535
function App() {
36-
useEffect(() => {
37-
AOS.init();
38-
}, []);
36+
// useEffect(() => {
37+
// AOS.init();
38+
// }, []);
3939
return (
4040
<Router>
41-
<ScrollToTop>
41+
{/* <ScrollToTop> */}
4242
<Switch>
4343
{/* Admin Routes */}
44-
<Route exact path="/login" component={Login} />
44+
{/* <Route exact path="/login" component={Login} />
4545
<PrivateRoute exact path="/admin" component={Dashboard} />
4646
<PrivateRoute exact path="/admin/certificate" component={CertifGen} />
4747
<PrivateRoute
4848
exact
4949
path="/admin/events"
5050
component={EventsUpdatePage}
51-
/>
51+
/> */}
5252
{/* Homepage Routes */}
5353
<Route exact path="/" component={Home} />
54-
<Route exact path="/committees/tech" component={Tech} />
54+
{/* <Route exact path="/committees/tech" component={Tech} />
5555
<Route exact path="/committees/sports" component={Sports} />
5656
<Route exact path="/committees/welfare" component={Welfare} />
5757
<Route exact path="/committees/socult" component={Socult} />
58-
<Route exact path="/societies" component={Societies} />
58+
<Route exact path="/societies" component={Societies} /> */}
5959
{/* Events Route */}
60-
<Route exact path="/events" component={Events} />
60+
{/* <Route exact path="/events" component={Events} /> */}
6161
{/* Results Routes */}
62-
<Route exact path="/results/gc" component={Results} />
63-
<Route exact path="/results/interiit" component={Results} />
62+
{/* <Route exact path="/results/gc" component={Results} />
63+
<Route exact path="/results/interiit" component={Results} /> */}
6464
{/* Awards Route */}
65-
<Route exact path="/awards" component={Awards} />
65+
{/* <Route exact path="/awards" component={Awards} /> */}
6666
{/* Contacts Routes */}
67-
<Route exact path="/contacts" component={Contacts} />
67+
{/* <Route exact path="/contacts" component={Contacts} /> */}
6868
{/* ContactUs Route */}
69-
<Route exact path="/ContactUs" component={ContactUs} />
69+
{/* <Route exact path="/ContactUs" component={ContactUs} /> */}
7070

7171
{/* Election Routes */}
72-
{/* <Route exact path="/elections" component={Elections} />
73-
<Route exact path="/elections/candidates" component={ElectionCandidates} /> */}
72+
{/* <Route exact path="/nominations" component={Nominations} /> */}
73+
{/* <Route exact path="/elections" component={Elections} /> */}
7474

75-
{/* Nominations Route */}
76-
<Route exact path="/nominations" component={Nominations} />
77-
7875
{/* FAQ Route */}
79-
<Route exact path="/faq" component={FAQ} />
76+
{/* <Route exact path="/faq" component={FAQ} /> */}
8077

8178
{/* Certifgen2.0 Route */}
8279
<Route exact path="/certifgen/view/:id" component={ViewCertificate} />
8380

8481
{/* 404 - Not Found Route */}
8582
{/* <Route component={NotFound} /> */}
8683

87-
{/* Live Scoreboard Route */}
88-
{/* <Route exact path="/livescoreboard" component={LiveScoreboard} /> */}
84+
{/* Live Scoreboard Route */}
85+
{/* <Route exact path="/livescoreboard" component={LiveScoreboard} /> */}
86+
87+
{/* <Route
88+
exact
89+
path="/elections/candidates"
90+
component={ElectionCandidates}
91+
/> */}
8992

9093
{/* Other Routes */}
9194
{/*<Route exact path="/gallery" component={Gallery} /> */}
9295
</Switch>
93-
</ScrollToTop>
96+
{/* </ScrollToTop> */}
9497
</Router>
9598
);
9699
}

src/pages/Homepage/Home.js

+42-27
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,50 @@ import AboutUs from "./AboutUs/AboutUs";
55
import CommitteesHome from "./Committee/CommitteesHome";
66
import Societies from "./Societies/Societies";
77
import Greet from "./Greet";
8+
import { BorderWidth } from "react-bootstrap-icons";
89

910
export default function Home() {
10-
document.title = "Home | TSG";
11+
// document.title = "Home | TSG";
12+
document.title = "502 Bad Gateway";
13+
14+
return (
15+
// <Layout>
16+
// <div className={Styles.backgroundImage}>
17+
// <div className={Styles.textOverlay}>
18+
// <div className={Styles.kgpSvg}>
19+
// <img
20+
// src="/data/media/images/general/gymkhanaLogo.png"
21+
// alt="KGP Logo"
22+
// />
23+
// </div>
24+
// <div className={Styles.greetMessage}>
25+
// <Greet />
26+
// </div>
27+
// </div>
28+
// </div>
29+
// <div>
30+
// {/* About Us Section */}
31+
// <AboutUs />
1132

12-
return (
13-
<Layout>
14-
<div className={Styles.backgroundImage}>
15-
<div className={Styles.textOverlay}>
16-
<div className={Styles.kgpSvg}>
17-
<img
18-
src="/data/media/images/general/gymkhanaLogo.png"
19-
alt="KGP Logo"
20-
/>
21-
</div>
22-
<div className={Styles.greetMessage}>
23-
<Greet />
24-
</div>
25-
</div>
26-
</div>
27-
<div>
28-
{/* About Us Section */}
29-
<AboutUs />
30-
31-
{/* Committees Section */}
32-
<CommitteesHome />
33+
// {/* Committees Section */}
34+
// <CommitteesHome />
3335

34-
{/* Socities Section */}
35-
<Societies />
36-
</div>
37-
</Layout>
38-
);
36+
// {/* Socities Section */}
37+
// <Societies />
38+
// </div>
39+
// </Layout>
40+
<div
41+
style={{
42+
width: "100vw",
43+
height: "100vh",
44+
backgroundColor: "white",
45+
}}
46+
>
47+
<center>
48+
<h1 style={{color: "black", fontFamily: "sans serif", fontWeight: "bold", paddingTop: "10px", paddingBottom: "8px", fontSize: "32px", marginBottom: "0px"}}>502 Bad Gateway</h1>
49+
</center>
50+
<hr style={{display: "block", borderWidth: "1px", opacity: "1"}} />
51+
<center style={{fontFamily: "sans serif", fontSize: "16px"}}>nginx</center>
52+
</div>
53+
);
3954
}

src/pages/certifgen/ViewCertificate.css

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
h1 {
2+
color: #f1c40f;
3+
}
4+
15
@media only screen and (min-width:725px){
26
.certificateimage {
37
text-align: center;

0 commit comments

Comments
 (0)