File tree Expand file tree Collapse file tree
src/components/staff-agmentation Expand file tree Collapse file tree File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -7,10 +7,6 @@ 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" ;
1410
1511const staff = (await getCollection (" staff_members" )) as {
1612 data: { name: string ; image: string ; role: string };
@@ -45,25 +41,9 @@ if (!content) {
4541>
4642 <div
4743 class ={ classnames (
48- " mx-auto xl:px-0 bg-[#FFF1E1] rounded-b-4xl md:rounded-b-[96px] relative overflow-hidden"
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 "
4945 )}
5046 >
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- />
6747 <div
6848 class ={ ` ${grid_classes } md:max-w-[var(--max-width)] px-4 md:px-7 !pt-[75px] md:mx-auto relative z-[2] ` }
6949 >
Original file line number Diff line number Diff line change @@ -72,9 +72,9 @@ module.exports = {
7272 secondary : "var(--font-secondary)" ,
7373 } ,
7474 backgroundImage : {
75- "staff-hero-mobile" : "url('./src/assets /mobile-staff-hero.svg')" ,
76- "staff-hero-desktop" : "url('./src/assets /desktop-staff-hero.svg')" ,
77- "staff-hero-wide" : "url('./src/assets /wide-staff-hero.svg')" ,
75+ "staff-hero-mobile" : "url('/mobile-staff-hero.svg')" ,
76+ "staff-hero-desktop" : "url('/desktop-staff-hero.svg')" ,
77+ "staff-hero-wide" : "url('/wide-staff-hero.svg')" ,
7878 } ,
7979 } ,
8080 } ,
You can’t perform that action at this time.
0 commit comments