Skip to content

Commit

Permalink
add Sponsors title
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-kl1 committed Jan 27, 2025
1 parent 1f656e0 commit 91f6250
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ export default function RootLayout({
}>) {
return (
<html className="font-sans" lang="fr">
<body className={`${ibmPlexSansCondensed.variable} ${montserrat.variable} antialiased bg-camel`}>
<Header/>
<main className={'relative -top-[104px] left-0'}>{children}</main>
<Footer/>
</body>
<body className={`${ibmPlexSansCondensed.variable} ${montserrat.variable} antialiased bg-camel`}>
<Header/>
<main>{children}</main>
<Footer/>
</body>
</html>
);
}
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function Home() {
];

return (
<div className="">
<div className="relative -top-[104px] left-0">
<Hero />
<div id="speakers">
<Speakers />
Expand Down
1 change: 1 addition & 0 deletions src/components/Speakers/Speakers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import React from "react";
import Typography from "../Typography/Typography";
import BackgroundImage from "../BackgroundImage/BackgroundImage";
import SpeakersList from "./SpeakersList";

const Speakers = () => {
return (
<Container size="large">
Expand Down
1 change: 1 addition & 0 deletions src/components/Speakers/SpeakersList.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"use client";

import React from "react";
import { Swiper, SwiperClass, SwiperSlide } from "swiper/react";
import { Navigation } from "swiper/modules";
Expand Down
11 changes: 10 additions & 1 deletion src/components/SponsorList/SponsorList.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
"use client";

import BackgroundImage from "@/components/BackgroundImage/BackgroundImage";
import Sponsor from "@/components/SponsorList/Sponsor/Sponsor";
import {SponsorProps, SponsorTypeProps} from "@/components/SponsorList/Sponsor/Sponsor.types";
import {SponsorListProps} from "@/components/SponsorList/SponsorListProps";
import Container from "@/layouts/Container";
import TopBanner from "@/components/TopBanner/TopBanner";

const SponsorList = ({
items
Expand Down Expand Up @@ -34,7 +37,13 @@ const SponsorList = ({
return (
<BackgroundImage imagePath="/images/bg-gradiant-purple.jpg" className=''>
<Container size="large" className={'overflow-hidden'}>
<ul className={'clear-both overflow-hidden -mx-1 mt-5 mb-8 md:mb-9 md:max-w-[1350px]'}>
<div className="mt-12">
<TopBanner
title="Merci à nos sponsors"
backgroundImage="/images/pattern_top-banner_speakers.svg"
/>
</div>
<ul className={'clear-both overflow-hidden -mx-1 mt-6 mb-9 md:mb-10 md:max-w-[1350px]'}>
{sortedSponsors.map((sponsor: SponsorProps, key: number) => (
<Sponsor type={sponsor.type}
name={sponsor.name}
Expand Down

0 comments on commit 91f6250

Please sign in to comment.