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

fix: removed unused vars #4

Merged
merged 2 commits into from
Jan 4, 2025
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
1 change: 0 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ import EnablersPage from "./Pages/EnablersPage/EnablersPage";
import In50Hours from "./Pages/In50Hours/In50Hours";
import Manifesto from "./Pages/Manifesto/Manifesto";
import InterestGroups from "./Pages/IG/InterestGroups";
import IgLayout from "./Pages/IG/Ig2/layout";
import InterestGroupDetails from "./Pages/IG/Ig2/layout";
function App() {
const [redirects, setRedirects] = useState([]);
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/IG/Ig2/InterestGroupPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { devops } from "../data/devops";
import { uiuxDesign } from "../data/uiux";
import { cybersecurity } from "../data/cybersecurity";
import { useEffect, useState } from "react";
import { artificialIntelligence } from "../data/ai";
// import { artificialIntelligence } from "../data/ai";
import { arVr } from "../data/arvr";
import { hr } from "../data/hr";
import { digitalMarketing } from "../data/digitalmarketing";
Expand Down
1 change: 0 additions & 1 deletion src/Pages/IG/Ig2/layout/index.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from "react";
import ContentsMenu from "../components/menu";
import styles from "./index.module.css";
import Dashboard from "../InterestGroupPage";
import Navbar from "../../../../Components/Navbar/Navbar";
import Footer from "../../../../Components/Footer/Footer";
import InterestGroupPage from "../InterestGroupPage";
Expand Down
98 changes: 49 additions & 49 deletions src/Pages/IG/InterestGroups.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Footer from "../../Components/Footer/Footer";
import Navbar from "../../Components/Navbar/Navbar";
import styles from "./InterestGroups.module.css";
import fvimg from "./assets/fvimg.png";
import { useState } from "react";
// import { useState } from "react";
import { Users, BookOpen, Calendar, Share2, TrendingUp, Network, Award, GitMerge, Code, Paintbrush, Cpu, Briefcase } from 'lucide-react'

const features = [
Expand Down Expand Up @@ -48,57 +48,57 @@ const categories = [
]

const InterestGroups = () => {
const [currentSlide, setCurrentSlide] = useState(0);
// const [currentSlide, setCurrentSlide] = useState(0);

const carouselItems = [
{
title: "Title 1",
date: "Date",
time: "Time",
location: "Location",
},
{
title: "Title 2",
date: "Date",
time: "Time",
location: "Location",
},
{
title: "Title 3",
date: "Date",
time: "Time",
location: "Location",
},
{
title: "Title 3",
date: "Date",
time: "Time",
location: "Location",
},
{
title: "Title 3",
date: "Date",
time: "Time",
location: "Location",
},
{
title: "Title 3",
date: "Date",
time: "Time",
location: "Location",
},
// Add more items as needed
];
// const carouselItems = [
// {
// title: "Title 1",
// date: "Date",
// time: "Time",
// location: "Location",
// },
// {
// title: "Title 2",
// date: "Date",
// time: "Time",
// location: "Location",
// },
// {
// title: "Title 3",
// date: "Date",
// time: "Time",
// location: "Location",
// },
// {
// title: "Title 3",
// date: "Date",
// time: "Time",
// location: "Location",
// },
// {
// title: "Title 3",
// date: "Date",
// time: "Time",
// location: "Location",
// },
// {
// title: "Title 3",
// date: "Date",
// time: "Time",
// location: "Location",
// },
// // Add more items as needed
// ];

const nextSlide = () => {
setCurrentSlide((prev) => (prev + 1) % carouselItems.length);
};
// const nextSlide = () => {
// setCurrentSlide((prev) => (prev + 1) % carouselItems.length);
// };

const prevSlide = () => {
setCurrentSlide(
(prev) => (prev - 1 + carouselItems.length) % carouselItems.length
);
};
// const prevSlide = () => {
// setCurrentSlide(
// (prev) => (prev - 1 + carouselItems.length) % carouselItems.length
// );
// };

return (
<>
Expand Down