Skip to content

Commit ed85ef1

Browse files
authored
Merge pull request #20 from iharshit009/master
modified homepage
2 parents 5b4ac63 + c072a55 commit ed85ef1

File tree

6 files changed

+95
-39
lines changed

6 files changed

+95
-39
lines changed

src/App.js

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import React, { Component } from "react";
22
import "./App.css";
3-
import { Layout, Header, Navigation, Drawer, Content } from "react-mdl";
3+
import { Layout, Header, Drawer, Content } from "react-mdl";
44
import Routes from "./routes";
55
import Footer from "./components/footer";
66
import { Link } from "react-router-dom";
7+
import Navigations from "./navigation";
78

89
class App extends Component {
910
render() {
@@ -14,38 +15,44 @@ class App extends Component {
1415
transparent
1516
className="header-color"
1617
title={
17-
<Link style={{ textDecoration: "none", color: "white" }} to="/">
18+
<Link
19+
style={{
20+
textDecoration: "none",
21+
fontFamily: "Bible Script",
22+
fontStyle: "italic",
23+
color: "white"
24+
}}
25+
to="/"
26+
>
1827
Codefoster
1928
</Link>
2029
}
2130
scroll
2231
>
23-
<Navigation>
24-
<Link to="/">Home</Link>
25-
<Link to="/events">Events</Link>
26-
<Link to="/blogs">Blogs</Link>
27-
<Link to="/team">Our Team</Link>
28-
</Navigation>
32+
<Navigations />
2933
</Header>
3034
<Drawer
3135
className="draw"
3236
title={
33-
<Link style={{ textDecoration: "none", color: "black" }} to="/">
37+
<Link
38+
style={{
39+
textDecoration: "none",
40+
fontFamily: "Bible Script",
41+
fontStyle: "italic",
42+
color: "black"
43+
}}
44+
to="/"
45+
>
3446
Codefoster
3547
</Link>
3648
}
3749
>
38-
<Navigation>
39-
<Link to="/">Home</Link>
40-
<Link to="/events">Events</Link>
41-
<Link to="/blogs">Blogs</Link>
42-
<Link to="/team">Our Team</Link>
43-
</Navigation>
50+
<Navigations />
4451
</Drawer>
4552
<div className="margin"></div>
4653
<Content>
47-
<div className="page-content" />
48-
{/* <ParticleLogo/> */}
54+
{/* <div className="page-content" /> */}
55+
4956
<Routes />
5057
</Content>
5158
<Footer />

src/components/homepage.js

Lines changed: 36 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,42 +20,65 @@ class HomePage extends Component {
2020
{/* <p>The official coding club of S.G.S.I.T.S</p> */}
2121
{/* </div> */}
2222
{/* </Cell> */}
23-
{/* </Grid> */}
23+
{/* </Grid> */}
2424
<div className="text">
2525
<h1 style={{ textAlign: "center" }}>About Us</h1>
2626
<div className="item">
2727
<div className="about">
2828
<h2>What</h2>
2929
<p style={{ width: "75%", margin: "auto", paddingTop: "1em" }}>
30-
Lorem Ipsum is simply dummy text of the printing and typesetting
31-
industry. Lorem Ipsum has been the industry's standard dummy
32-
text ever since the 1500s, when an unknown
30+
Codefoster is the official central coding club of SGSITS.
31+
CodeFoster is the campus chapter of CodeChef and the only
32+
Raspberry Jam of central India.It is also affiliated to
33+
CoderDojo.We aim to promote coding by organizing various events
34+
for competitive coding and workshops on latest tech along with
35+
annual events held during Aayam.
3336
</p>
3437
</div>
3538

3639
<div className="about">
37-
<h2>When</h2>
40+
<h2>Why</h2>
3841
<p style={{ width: "75%", margin: "auto", paddingTop: "1em" }}>
39-
Lorem Ipsum is simply dummy text of the printing and typesetting
40-
industry. Lorem Ipsum has been the industry's standard dummy
41-
text ever since the 1500s, when an unknown
42+
CodeFoster was founded in 2014 with the aim of increasing coding
43+
culture in college and provide a strong peer group to those
44+
interested in coding. We have been working since then to improve
45+
the logical, coding and problem solving skills.We believe in
46+
mutual learning by conducting events to enhance the programming
47+
capabilities of students and to make an open and collaborative
48+
ecosystems for promotion of Competitive Programming, Development
49+
Skills and Open Source Contributions among students.Club members
50+
also have meetups where they teach each other latest skills
51+
required in the industry.
4252
</p>
4353
</div>
4454

4555
<div className="about">
4656
<h2>How</h2>
4757
<p style={{ width: "75%", margin: "auto", paddingTop: "1em" }}>
48-
Lorem Ipsum is simply dummy text of the printing and typesetting
49-
industry. Lorem Ipsum has been the industry's standard dummy
50-
text ever since the 1500s, when an unknown
58+
Our journey began with a workshop on “C programming and its
59+
nuances”,which itself saw a participation of more than 100
60+
students. “De SparX Code” was the first ever inter-college
61+
coding competition organized in the college by our club.
5162
</p>
5263
</div>
5364
</div>
65+
5466
{/* </Grid> */}
67+
68+
<h1 style={{ textAlign: "center" }}>Vision/Mission</h1>
69+
<div className="item">
70+
<p style={{ width: "75%", margin: "auto", paddingTop: "1em" }}>
71+
We aim to provide a platform which allows students to gain
72+
assistance and mentorship to enhance their coding ability. We wish
73+
to promote the enthusiasm for coding in the institute and
74+
especially amongst freshly admitted undergrads. We believe that
75+
every student should have an equal opportunity to learn how to
76+
code and develop a passion for it no matter what the branch is.
77+
</p>
78+
</div>
79+
{/* <LoadScript/> */}
5580
</div>
56-
{/* <LoadScript/> */}
5781
</div>
58-
// </div>
5982
);
6083
}
6184
}

src/components/logo.js

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/static/logo.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@
1010
display: none;
1111
}
1212
/*# sourceMappingURL=logo.css.map */
13+
14+
.draw{
15+
position: relative;
16+
}

src/components/static/logo.less

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
display: none;
1414
}
1515
}
16+
.draw{
17+
position: relative;
18+
}

src/navigation.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import React, { Component } from "react";
2+
import "./App.css";
3+
import { Navigation } from "react-mdl";
4+
import { Link } from "react-router-dom";
5+
6+
class Navigations extends Component {
7+
render() {
8+
return (
9+
<Navigation>
10+
<Link to="/">Home</Link>
11+
<Link to="/events">Ventures</Link>
12+
{/* <Link to="/blogs">Blogs</Link> */}
13+
<Link to="/team">Board</Link>
14+
</Navigation>
15+
);
16+
}
17+
}
18+
19+
export default Navigations;

0 commit comments

Comments
 (0)