Skip to content

Commit e34f26e

Browse files
authored
feat | removed outdated event carousel temporarily (#81)
* feat | removed events link * feat | removed event carousel temporarlity * fix | removed outdated events carousel note: the import 'react-multi-carousel/lib/styles.css' in SponsorCarousel.tsx is needed somewhere in the codebase, even though vsc syntax highlighting might complain.
1 parent 7d9a8c1 commit e34f26e

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

‎frontend/src/components/Sponsors/SponsorCarousel.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { diamondLinks, goldLinks } from "@/../public/data/sponsorInfos";
22
import Carousel from 'react-multi-carousel';
3-
// import 'react-multi-carousel/lib/styles.css';
3+
import 'react-multi-carousel/lib/styles.css';
44

55
export default function SponsorCarousel() {
66
const responsive = {

‎frontend/src/components/Sponsors/index.tsx‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import React from 'react';
2-
import Footer from '@/components/Footer';
32
import SponsorCarousel from './SponsorCarousel';
43
import { ChevronRight } from 'lucide-react';
54

65
const Sponsors = () => {
76
return (
87
<section
9-
className="flex flex-col min-h-screen py-8 xl:px-24 sm:px-10 px-8 relative mt-20"
8+
className="flex flex-col py-8 xl:px-24 sm:px-10 px-8 relative mt-20"
109
id="sponsors"
1110
>
1211
<div className="text-center">
@@ -27,7 +26,6 @@ const Sponsors = () => {
2726
</div>
2827
</div>
2928
</div>
30-
<Footer />
3129
<img
3230
src="assets/sponsors_backdrop.svg"
3331
alt="Sponsors backdrop"

‎frontend/src/pages/index.tsx‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ import Landing from '@/components/Landing';
33
import Sponsors from '@/components/Sponsors/index';
44
import AboutHomePage from '@/components/About/AboutHomepage';
55
import EventsBrief from '@/components/Event/EventsBrief';
6+
import Footer from '@/components/Footer';
67
import TabTitle from 'next/head';
78

9+
810
export default function HomePage() {
911
return (
1012
<>
@@ -22,8 +24,13 @@ export default function HomePage() {
2224
</div>
2325

2426
<AboutHomePage />
25-
<EventsBrief />
27+
{/* <EventsBrief /> */}
2628
<Sponsors />
29+
<section
30+
className="flex flex-col py-8 xl:px-24 sm:px-10 px-8 relative mt-20"
31+
>
32+
<Footer />
33+
</section>
2734
</section>
2835
</>
2936

0 commit comments

Comments
 (0)