File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
apps/website/src/components/staff-agmentation Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ import { grid_classes } from "../../components/_grid";
77import StaffMember from " ../../components/staff-agmentation/StaffMember.astro" ;
88import " ../../styles/main.css" ;
99import Calendar from " ../icons/Calendar.astro" ;
10+ import heroMobile from " ../../assets/mobile-staff-hero.svg" ;
11+ import heroDesktop from " ../../assets/desktop-staff-hero.svg" ;
12+ import heroWide from " ../../assets/wide-staff-hero.svg" ;
13+ import { Picture } from " astro:assets" ;
1014
1115const staff = (await getCollection (" staff_members" )) as {
1216 data: { name: string ; image: string ; role: string };
@@ -41,9 +45,25 @@ if (!content) {
4145>
4246 <div
4347 class ={ classnames (
44- " mx-auto xl:px-0 bg-[#FFF1E1] rounded-b-4xl md:rounded-b-[96px] relative overflow-hidden bg-staff-hero-mobile md:bg-staff-hero-desktop lg:bg-staff-hero-wide lg:bg-center bg-cover min-[1920px]:bg-size-[1920px] bg-no-repeat "
48+ " mx-auto xl:px-0 bg-[#FFF1E1] rounded-b-4xl md:rounded-b-[96px] relative overflow-hidden"
4549 )}
4650 >
51+ <Picture
52+ src ={ heroMobile }
53+ alt =" "
54+ class =" min-md:hidden min-w-[850px] xl:min-w-[1400px] h-full absolute top-0 z-[1] bg-[#FFF1E1]"
55+ />
56+
57+ <Picture
58+ src ={ heroDesktop }
59+ alt =" "
60+ class =" hidden md:block lg:hidden min-w-5xl h-full absolute top-0 z-[1] bg-[#FFF1E1]"
61+ />
62+ <Picture
63+ src ={ heroWide }
64+ alt =" "
65+ class =" hidden min-lg:block min-w-[1600px] h-full absolute top-0 left-1/2 -translate-x-1/2 z-[1] bg-[#FFF1E1]"
66+ />
4767 <div
4868 class ={ ` ${grid_classes } md:max-w-[var(--max-width)] px-4 md:px-7 !pt-[75px] md:mx-auto relative z-[2] ` }
4969 >
You can’t perform that action at this time.
0 commit comments