Skip to content

Commit

Permalink
Merge pull request #32 from UjjwalSaini07/UjjwalSaini07/patch-11
Browse files Browse the repository at this point in the history
Adding Chronicle Section and Install required Libraries or modules
  • Loading branch information
UjjwalSaini07 authored Jun 22, 2024
2 parents 673b521 + 5021b26 commit 7ec9273
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 0 deletions.
55 changes: 55 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
"react-dom": "^18.2.0",
"react-router-dom": "^6.17.0",
"react-scripts": "5.0.1",
"react-slick": "^0.30.2",
"react-snowfall": "^1.2.1",
"react-tsparticles": "^2.12.2",
"slick-carousel": "^1.8.1",
"tsparticles-engine": "^2.12.0",
"tsparticles-preset-snow": "^2.12.0",
"web-vitals": "^2.1.4"
Expand Down
2 changes: 2 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import Chapters from "./components/Chapters";
import "./App.css";
import Resources from "./components/Resources";
import AboutUs from "./components/AboutUs";
import Chronicle from './components/Chronicle';
import AppLayout from "./components/AppLayout";
import Preloader from "./components/Preloader.js";
import 'aos/dist/aos.css';
Expand All @@ -32,6 +33,7 @@ const App = () => {
<Route path="/api/resources" element={<Resources />} />
<Route path="/contact" element={<Contact />} />
<Route path="/api/aboutus" element={<AboutUs />} />
<Route path='/chronicle' element={<Chronicle/>}/>
</Route>
<Route path="*" element={<h1>404 Not Found</h1>} />
</Routes>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added src/components/Chronicle.jsx
Empty file.
15 changes: 15 additions & 0 deletions src/components/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ const Navbar = () => {
Resources
</Link>
</li>
<li>
<Link
to="/api/chronicle"
className="text-[1rem] text-gray-900 font-bold text-decoration-none hover:text-blue-400"
>
Chronicles
</Link>
</li>
<li>
<Link
to="/api/aboutus"
Expand Down Expand Up @@ -95,6 +103,13 @@ const Navbar = () => {
>
Resources
</Link>
<Link
to="/api/chronicle"
className="text-[1.5rem] text-white font-bold hover:text-yellow-300 transition duration-300"
onClick={() => setMenuOpen(false)}
>
Chronicles
</Link>
<Link
to="/api/aboutus"
className="text-[1.5rem] text-white font-bold hover:text-yellow-300 transition duration-300"
Expand Down

0 comments on commit 7ec9273

Please sign in to comment.