Skip to content

Commit

Permalink
Revert "Old dev"
Browse files Browse the repository at this point in the history
  • Loading branch information
viraka authored May 15, 2024
1 parent b195e12 commit 0f95bed
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 62 deletions.
3 changes: 1 addition & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import Career from "./Pages/Career/Career";
import LeaderBoard from "./Pages/LeaderBoard/leaderBoard";
import WikiSyllabus from "./Pages/WikiSyllabus/WikiSyllabus";
import HacktoberFest from "./Pages/Events/HacktoberFest/HacktoberFest";
import Roadmap from "./Pages/Roadmap/Roadmap";
// import Yip from "./Pages/YIP/Yip";
import CampusChapters from "./Pages/CampusChapters/CampusChapters";
import BlogLanding from "./Pages/CampusChapters/Blogs/BlogLanding";
Expand Down Expand Up @@ -117,13 +116,13 @@ function App() {
<Route path="/community-partners" element={<CommunityPartner />} />
<Route path="/artofteaching" element={<ArtOfTeaching />} />
<Route path="/wikisyllabus" element={<WikiSyllabus />} />
<Route path="/roadmap" element={<Roadmap />} />
<Route path="/yip" element={<YIP2023 />} />
<Route path="/events/bewebdev" element={<BeWebDev />} />
<Route path="events/gta/codestorm" element={<CodeStorm />} />
<Route path="events/learningfest" element={<KKEMLearningFest />} />
<Route path="/keralatechfest" element={<KKEMLearningFest />} />
<Route path="/maveliportfolio" element={<MaveliPortfolio />} />

<Route path="/team">
<Route path="" element={<Teams />} />
</Route>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Footer = () => {
/>
</a>
<a
href="https://www.instagram.com/mulearn.official/"
href="http://www.instagram.com/gtechmulearn/"
target="_blank"
rel="noopener noreferrer"
>
Expand Down
36 changes: 12 additions & 24 deletions src/Components/Navbar/Mylinks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,6 @@ export const links = [
name: "Others",
submenu: true,
sublinks: [
{
name: "Roadmaps",
submenu: false,
sublinks: [],
link: "/roadmap",
foreign: false,
},
{
name: "Magazine",
submenu: false,
Expand All @@ -140,6 +133,8 @@ export const links = [
foreign: false,
},
],


},
],
},
Expand Down Expand Up @@ -195,7 +190,14 @@ export const links = [
link: "https://launchpadkerala.org/",
foreign: true,
},
,
{
name: "in50hours",
submenu: false,
sublinks: [],
link: "/in50hours",
foreign: false,
}

],
},
{
Expand Down Expand Up @@ -566,7 +568,7 @@ export const links = [
submenu: false,
sublinks: [],
foreign: true,
},
}
],
},
{
Expand All @@ -580,7 +582,7 @@ export const links = [
submenu: false,
sublinks: [],
foreign: false,
},
}
],
},
],
Expand Down Expand Up @@ -730,20 +732,6 @@ export function getLinks(ig = []) {
link: "/artofteaching",
foreign: false,
},
{
name: "Top100 Coders",
submenu: false,
sublinks: [],
link: "https://top100coders.com/",
foreign: true,
},
{
name: "IEEE Launchpad",
submenu: false,
sublinks: [],
link: "https://launchpadkerala.org/",
foreign: true,
}
],
},
{
Expand Down
3 changes: 1 addition & 2 deletions src/Pages/Events/BuildForTeam/BuildForTeam.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ const Build4Team = () => {
Join Whatsapp Group
</button>
</a>
</div>
*/}
</div> */}
</div>
<img
src="/assets/events/build4team/fvimgr.gif"
Expand Down
28 changes: 14 additions & 14 deletions src/Pages/Events/ISR/ISR.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState, useEffect } from "react"
import React, { useState } from "react"
import styles from "./ISR.module.css"

import fvimg from "./assets/fvimg.gif"
Expand All @@ -10,19 +10,19 @@ import axios from "axios"
const ISR = () => {
const [isrData, setisrData] = useState([])
const [error, setError] = useState()
useEffect(() => {
const fetchData = async () => {
try {
const response = await axios.get("https://opensheet.elk.sh/1r5Pav8TlUEao_9GuMcFasKUEPSDIJOPB9PXKbt4KlTQ/isrcsv");
setisrData(response.data);
} catch (error) {
console.error(error);
setError("We are currently facing some difficulties in fetching the data at the moment, will be back soon.");
}
};

fetchData();
}, []);
axios
.get(
"https://opensheet.elk.sh/1r5Pav8TlUEao_9GuMcFasKUEPSDIJOPB9PXKbt4KlTQ/isrcsv"
)
.then((response) => {
setisrData(response.data)
})
.catch((error) => {
console.log(error)
setError(
"We are currently facing some difficulties in fetching the data at the moment, will be back soon."
)
})

const ReadMore = ({ children }) => {
const text = children
Expand Down
18 changes: 0 additions & 18 deletions src/Pages/Roadmap/Roadmap.jsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/Pages/Teams/Teams.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const Teams = () => {
<option value="execom">Execom</option>
<option value="mulearnhq">µLearn HQ</option>
<option value="associates">Associates</option>
<option value="enablerhq">Enablers HQ</option>
<option value="enablershq">Enablers HQ</option>
<option value="mulearnpillar3">µLearn Pillars Q3</option>
<option value="mulearnpillar1">µLearn Pillars Q1</option>
<option value="communityteam">Community Team</option>
Expand Down

0 comments on commit 0f95bed

Please sign in to comment.