Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit 0075fb8

Browse files
authored
converted large svg to png | carousel spacing fix (#229)
1 parent b1afcb3 commit 0075fb8

File tree

8 files changed

+10
-4
lines changed

8 files changed

+10
-4
lines changed

frontend/public/Blur-img-dark.png

318 Bytes
Loading

frontend/public/Blur-img-light.png

254 Bytes
Loading

frontend/public/intro_person_1.png

63 KB
Loading

frontend/public/intro_person_2.png

45.8 KB
Loading

frontend/public/intro_person_3.png

56.2 KB
Loading

frontend/public/intro_person_4.png

55.1 KB
Loading

frontend/src/Components/Intro/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ const IntroComponent = () => {
210210
>
211211
<GridItem justifySelf="center">
212212
<Image
213-
src="/intro_person_1.svg"
213+
src="/intro_person_1.png"
214214
alt="intro_person_1"
215215
opacity={Number(showImages)}
216216
transition=".3s"
@@ -224,7 +224,7 @@ const IntroComponent = () => {
224224
</GridItem>
225225
<GridItem justifySelf="center">
226226
<Image
227-
src="/intro_person_2.svg"
227+
src="/intro_person_2.png"
228228
alt="intro_person_2"
229229
opacity={Number(showImages)}
230230
transition=".3s"
@@ -237,7 +237,7 @@ const IntroComponent = () => {
237237
</GridItem>
238238
<GridItem justifySelf="center">
239239
<Image
240-
src="/intro_person_3.svg"
240+
src="/intro_person_3.png"
241241
alt="intro_person_3"
242242
opacity={Number(showImages)}
243243
transition=".3s"
@@ -253,7 +253,7 @@ const IntroComponent = () => {
253253
</GridItem>
254254
<GridItem justifySelf="center">
255255
<Image
256-
src="/intro_person_4.svg"
256+
src="/intro_person_4.png"
257257
alt="intro_person_4"
258258
opacity={Number(showImages)}
259259
transition=".3s"

frontend/src/layout/index.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ function Page({ children }: { children?: object }) {
108108
MEMEBERSHIP OPEN!
109109
</Text>
110110
</Flex>
111+
<Flex>
112+
{/* equal spacing hack for first and last carousel items */}
113+
</Flex>
111114
</HStack>
112115
</Marquee>
113116
<Stack
@@ -224,6 +227,9 @@ function Page({ children }: { children?: object }) {
224227
Current Status: Season 0
225228
</Text>
226229
</Flex>
230+
<Flex>
231+
{/* equal spacing hack for first and last carousel items */}
232+
</Flex>
227233
</HStack>
228234
</Marquee>
229235
</Box>

0 commit comments

Comments
 (0)