Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mahabharat Carousel is Ready #44

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"react-dom": "^18.2.0",
"react-router-dom": "^6.23.1",
"react-scripts": "5.0.1",
"react-simple-typewriter": "^5.0.1",
"react-slick": "^0.30.2",
"react-snowfall": "^1.2.1",
"react-tsparticles": "^2.12.2",
Expand Down
6 changes: 5 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import Snowfall from "react-snowfall";
import Chapters from "./components/Chapters";
import "./App.css";
import Resources from "./components/Resources";
import AboutUs from "./components/AboutUs";
import AboutUs from "./components/AboutUs.js";
import MahabharatCarousel from "./components/Mahabharat_carousel.js";
import RamayanaCarousel from "./components/Ramayana_carousel";
import Chronicle from './components/Chronicle';
import AppLayout from "./components/AppLayout";
import Preloader from "./components/Preloader.js";
Expand All @@ -33,6 +35,8 @@ const App = () => {
<Route path="/api/resources" element={<Resources />} />
<Route path="/contact" element={<Contact />} />
<Route path="/api/aboutus" element={<AboutUs />} />
<Route path="/api/Mahabharat_carousel" element={<MahabharatCarousel />} />
<Route path="/api/Ramayana_carousel" element={<RamayanaCarousel />} />
<Route path='/api/chronicle' element={<Chronicle/>}/>
</Route>
<Route path="*" element={<h1>404 Not Found</h1>} />
Expand Down
Binary file removed src/assets/images/contact.png
Binary file not shown.
5 changes: 2 additions & 3 deletions src/components/Chronicle.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Todo: Temporary Changes Only For checking audio player
import React from 'react';
import { Link } from 'react-router-dom';
import ReactAudioPlayer from 'react-audio-player';
Expand All @@ -10,12 +9,12 @@ const slideCover = [
{
name: 'The Ramayana',
image: Ramayana,
route: '/Ramayana_carousel' // Route to Ramayana carousel component
route: '/api/Ramayana_carousel' // Route to Ramayana carousel component
},
{
name: 'The Mahabharata',
image: Mahabharat,
route: '/Mahabharat_carousel' // Route to Mahabharata carousel component
route: '/api/Mahabharat_carousel' // Route to Mahabharata carousel component
},
];

Expand Down
354 changes: 354 additions & 0 deletions src/components/Mahabharat_carousel.js

Large diffs are not rendered by default.

Empty file.