Skip to content

Commit db2ee3e

Browse files
authored
Merge pull request #91 from acm-ucr/ResponsiveBoard/Pattyee
Responsive board/pattyee
2 parents 362962b + 212f42f commit db2ee3e

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

src/components/board/pickleballs.tsx

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,13 @@ import Pickleball2 from "@/public/bg-ball-2.svg";
55
export default function Pickleballs() {
66
return (
77
<>
8-
<Image
9-
src={Pickleball1}
10-
alt="pickleball 1"
11-
className="absolute -top-70 -right-50 -z-1 h-auto w-[50vw]"
12-
/>
8+
<div className="absolute top-[-10%] right-[-10%] z-[-1] w-[40vw] sm:w-[30vw] md:w-[25vw] lg:w-[20vw]">
9+
<Image src={Pickleball1} alt="pickleball 1" className="h-auto w-full" />
10+
</div>
1311

14-
<Image
15-
src={Pickleball2}
16-
alt="pickleball 2"
17-
className="absolute -bottom-70 -left-60 -z-1 h-auto w-[50vw]"
18-
/>
12+
<div className="absolute bottom-[-10%] left-[-10%] z-[-1] w-[40vw] sm:w-[30vw] md:w-[25vw] lg:w-[20vw]">
13+
<Image src={Pickleball2} alt="pickleball 2" className="h-auto w-full" />
14+
</div>
1915
</>
2016
);
2117
}

0 commit comments

Comments
 (0)