Skip to content

Commit c027a81

Browse files
Suggested Changes done
1 parent 2a255af commit c027a81

File tree

11 files changed

+5
-178
lines changed

11 files changed

+5
-178
lines changed

src/App.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
import './App.css';
22
import {Route, Routes} from "react-router-dom";
33
import {Home} from "./pages/Home";
4-
// import {Navbar} from "./components/common/Navbar";
5-
64
import {Games} from "./pages/Games";
75
import {Activities} from "./pages/Activities";
86
import {activities, games} from "./data/content";
9-
import Navbar from './components/common/NewNavbar';
7+
import {Navbar} from './components/common/Navbar';
108

119
function App() {
1210
return (
1311
<div className="App">
14-
<Navbar />
12+
<Navbar/>
1513
<Routes>
1614
<Route index element={<Home />} />
1715
<Route exact path="/games" element={<Games />} />

src/assets/animations/wave.png

-5.57 KB
Binary file not shown.

src/assets/icons/acm.webp

-7.23 KB
Binary file not shown.
-28.2 KB
Binary file not shown.

src/components/Home/CardItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const CardItem = (props) => {
2222
/>
2323
</div>
2424
<div class="card-body">
25-
<h5 class="card-title" style={{}}>{props.title}</h5>
25+
<h5 class="card-title">{props.title}</h5>
2626
<p class="card-text">{props.text}</p>
2727
<Link to={props.path} class="btn btn-primary">
2828
Play

src/components/Home/Footer.js

Lines changed: 0 additions & 94 deletions
This file was deleted.

src/components/common/NewNavbar.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/pages/Home.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import Footer from "../components/Home/Footer"
21
import HeroSection from "../components/Home/HeroSection"
32
import Cards from "./home/Cards"
43

@@ -7,7 +6,6 @@ export const Home = () => {
76
<>
87
<HeroSection/>
98
<Cards/>
10-
<Footer/>
119
</>
1210
)
1311
}

src/styles/components/common/Navbar.css

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,14 @@
1010
}
1111

1212
.navbar-wrapper {
13-
position: fixed;
14-
/*top: 0;
15-
left: 32%; */
16-
1713
height: 110px;
18-
z-index: 1000;
1914
}
2015
.navbar-root {
2116
margin-left: auto;
2217
margin-right: auto;
2318
top: 40px;
2419
background: var(--clr);
25-
20+
2621
position: relative;
2722
width: 400px;
2823
height: 70px;
@@ -119,7 +114,7 @@
119114
top: -60%;
120115
width: 70px;
121116
height: 70px;
122-
background-color: #26b4ec;
117+
background: #26b4ec;
123118
border-radius: 50%;
124119
border: 6px solid var(--clr);
125120
transition: 0.5s;

src/styles/components/common/NewNavbar.css

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)