Skip to content

Commit

Permalink
Fix button alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-kl1 committed Jan 27, 2025
1 parent 2576779 commit f22c4b6
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 26 deletions.
30 changes: 12 additions & 18 deletions src/components/Speakers/Speakers.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Container from "@/layouts/Container";
import React from "react";
import Typography from "../Typography/Typography";
import BackgroundImage from "../BackgroundImage/BackgroundImage";
import SpeakersList from "./SpeakersList";
import ButtonLink from "@/components/ButtonLink/ButtonLink";
import { IoIosArrowForward } from "react-icons/io";
Expand Down Expand Up @@ -32,23 +31,18 @@ const Speakers = () => {
</Typography>
</div>
</div>
<BackgroundImage
imagePath="/images/pattern_speakers.svg"
className="w-full md:w-1/2"
>
<div className="">
<ButtonLink
variant="secondary"
href="https://forms.gle/M6Y8V2xP7PGw5VD8A"
target="_blank"
rel="noopener"
iconPosition="right"
icon={<IoIosArrowForward />}
>
Rejoignez les conférenciers de MM25FR
</ButtonLink>
</div>
</BackgroundImage>
<div className="bg-[url(/images/pattern_speakers.svg)] bg-cover flex items-center justify-center w-full md:w-1/2">
<ButtonLink
variant="secondary"
href="https://forms.gle/M6Y8V2xP7PGw5VD8A"
target="_blank"
rel="noopener"
iconPosition="right"
icon={<IoIosArrowForward />}
>
Rejoignez les conférenciers de MM25FR
</ButtonLink>
</div>
</div>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/components/SponsorList/SponsorList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {SponsorListProps} from "@/components/SponsorList/SponsorListProps";
import Container from "@/layouts/Container";
import TopBanner from "@/components/TopBanner/TopBanner";
import React from "react";
import Link from "next/link";
import ButtonLink from "@/components/ButtonLink/ButtonLink";

const SponsorList = ({
Expand Down
19 changes: 12 additions & 7 deletions src/layouts/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,18 @@ const Header = () => {
<div className="w-full overflow-hidden rounded-b-xl md:rounded-xl">
<BackgroundImage imagePath="/images/bg-gradiant-blue.jpg" priority>
<div className="flex justify-between items-center">
<div
className="flex w-full justify-between gap-12 items-center h-20 px-4 md:px-14">
<Logo/>
<Navigation/>
<ButtonLink variant="primary" href="" target="_blank" rel="noopener" iconPosition="left" icon={<FaTicketAlt />}>
J’achète mon billet
</ButtonLink>
<div className="flex w-full justify-between gap-12 items-center h-20 px-4 md:px-14">
<div className="order-1">
<Logo/>
</div>
<div className="order-3 md:order-2">
<Navigation/>
</div>
<div className="order-2 md:order-3">
<ButtonLink variant="primary" href="" target="_blank" rel="noopener" iconPosition="left" icon={<FaTicketAlt />}>
J’achète mon billet
</ButtonLink>
</div>
</div>
</div>
</BackgroundImage>
Expand Down

0 comments on commit f22c4b6

Please sign in to comment.