Skip to content

Commit

Permalink
intial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
shadil-rayyan committed Feb 14, 2025
1 parent cc06cb9 commit 8bf7b1f
Show file tree
Hide file tree
Showing 18 changed files with 276 additions and 846 deletions.
50 changes: 27 additions & 23 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
import Calendar from "@/components/Calendar";
import Contact from "@/components/Contact";
import Footer from "@/components/Footer";
import Gallery from "@/components/Gallery";
import Hero from "@/components/Hero";
import Intro from "@/components/Intro";
import Navbar from "@/components/Navbar";
import Newsletter from "@/components/Newsletter";
import StudentReviews from "@/components/StudentReviews";
import Whoweare from "@/components/Whoweare";
"use client";

import { useState } from 'react';
import Navbar from '@/components/Navbar';
import OpportunityList from '@/components/repeto/OpportunityList';
import FilterSection from '@/components/repeto/FilterSection';
import TabSection from '@/components/repeto/TabSection';
import Footer from '@/components/Footer';

export default function Home() {
const [activeTab, setActiveTab] = useState("Latest");
const [activeFilters, setActiveFilters] = useState<Record<string, string[]>>({});

const handleFilterSubmit = (filters: Record<string, string[]>) => {
setActiveFilters(filters);
};

return (
<>
<Navbar/>
<Hero/>
<Whoweare/>
<Intro/>
<Newsletter/>
<Calendar/>
<Gallery/>
<StudentReviews/>
<Contact/>
<Footer/>
</>
<main className="min-h-screen bg-gray-50">
<Navbar />
<div className="flex flex-col md:flex-row">
<FilterSection onFilterSubmit={handleFilterSubmit} />
<div className="flex-1 max-w-7xl px-4 py-6 space-y-8">
<TabSection activeTab={activeTab} onTabChange={setActiveTab} />
<OpportunityList filters={activeFilters} activeTab={activeTab} />
</div>
</div>
<Footer />
</main>
);
}
}
38 changes: 0 additions & 38 deletions components/Calendar.tsx

This file was deleted.

76 changes: 0 additions & 76 deletions components/Contact.tsx

This file was deleted.

130 changes: 0 additions & 130 deletions components/Gallery.tsx

This file was deleted.

24 changes: 0 additions & 24 deletions components/Hero.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions components/Intro.tsx

This file was deleted.

Loading

0 comments on commit 8bf7b1f

Please sign in to comment.