Skip to content

Commit

Permalink
Fix sponsor bg
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-kl1 committed Jan 28, 2025
1 parent 369ae56 commit 2e87c8e
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 8 deletions.
Binary file added public/images/background/sponsor-bronze.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/background/sponsor-gold.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/background/sponsor-platinum.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/background/sponsor-silver.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/background/sponsors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/app/favicon.ico
Binary file not shown.
13 changes: 6 additions & 7 deletions src/components/SponsorList/Sponsor/Sponsor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ const Sponsor = (sponsor: SponsorProps) => {
const badgeHeight: number = 80;

const boxClasses: Record<SponsorTypeProps, string> = {
platinum: "p-[57px] max-w-[325px] w-full h-[160px] lg:p-[57px] lg:w-[440px] lg:h-[560px]",
gold: "p-[24px] w-[157px] h-[98px] h-[160px] lg:p-[24px] lg:w-[290px] lg:h-[181.4px]",
silver: "p-[22px] w-[101px] h-[59px] h-[160px] lg:p-[22px] lg:w-[260px] lg:h-[150px]",
bronze: "p-[40px] w-[101px] h-[48px] lg:p-[20px] lg:w-[182px] lg:h-[85px]",
platinum: "bg-[url(/images/background/sponsor-platinum.jpg)] hover:bg-[url(/images/background/sponsor-platinum.jpg)] p-[57px] max-w-[325px] w-full h-[160px] lg:p-[57px] lg:w-[440px] lg:h-[560px]",
gold: "bg-[url(/images/background/sponsor-gold.jpg)] hover:bg-[url(/images/background/sponsor-gold.jpg)] p-[24px] w-[157px] h-[98px] h-[160px] lg:p-[24px] lg:w-[290px] lg:h-[181.4px]",
silver: "bg-[url(/images/background/sponsor-silver.jpg)] hover:bg-[url(/images/background/sponsor-silver.jpg)] p-[22px] w-[101px] h-[59px] h-[160px] lg:p-[22px] lg:w-[260px] lg:h-[150px]",
bronze: "bg-[url(/images/background/sponsor-bronze.png)] hover:bg-[url(/images/background/sponsor-bronze.png)] p-[40px] w-[101px] h-[48px] lg:p-[20px] lg:w-[182px] lg:h-[85px]",
};
const badgeClasses: Record<SponsorTypeProps, string> = {
platinum: "top-[30px] right-[30px] h-[55px] w-auto lg:top-[24px] lg:right-[24px] lg:h-[80px]",
Expand All @@ -27,9 +27,8 @@ const Sponsor = (sponsor: SponsorProps) => {

return (
<div className={classNames(
'duration-150 lg:bg-none lg:bg-black/70 lg:backdrop-blur-md',
'hover:bg-transparent hover:backdrop-blur-none hover:bg-cover hover:bg-blend-luminosity hover:bg-no-repeat hover:bg-[url(/images/bg-gradiant-blue.jpg),_url(/images/bg-gradiant-purple.jpg)]',
'bg-cover bg-blend-luminosity bg-no-repeat bg-[url(/images/bg-gradiant-blue.jpg),_url(/images/bg-gradiant-purple.jpg)]',
'duration-150 lg:bg-none lg:bg-black/70 lg:backdrop-blur-md bg-cover',
'hover:bg-transparent hover:backdrop-blur-none hover:bg-cover',
'group m-1 rounded-xl relative float-left inline-flex justify-center items-center overflow-hidden',
boxClasses[sponsor.type]
)}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/SponsorList/SponsorList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const SponsorList = ({
];

return (
<BackgroundImage imagePath="/images/bg-gradiant-purple.jpg" className=''>
<BackgroundImage imagePath="/images/background/sponsors.png">
<Container size="large" className={'overflow-hidden'}>
<div className="mt-12">
<TopBanner title="Merci à nos sponsors" backgroundImage="/images/pattern_top-banner_speakers.svg">
Expand Down

0 comments on commit 2e87c8e

Please sign in to comment.