Skip to content

Commit

Permalink
🍱 Update image path references (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
chase-manning authored Nov 16, 2023
1 parent 54a7a8b commit 13d046e
Showing 1 changed file with 54 additions and 58 deletions.
112 changes: 54 additions & 58 deletions src/components/Community.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,56 +24,56 @@ import whiteDiscord from "../assets/socials/discord.svg";
import { useEffect, useState } from "react";

const imageOptions = [
"./Rho.png",
"./Naninna.avif",
"./Alice.avif",
"./Alice.jpg",
"./farah.png",
"./Farah.avif",
"./Liga.avif",
"./Vanaric.avif",
"./Fei.avif",
"./Tuwu.avif",
"./Touge.avif",
"./Josh (1).jpg",
"./JG.avif",
"./Vixpora.jpg",
"./Imp.avif",
"./Adam.avif",
"./Liga.jpg",
"./Touge.png",
"./Shin (1).avif",
"./Palis.png",
"./Imp.jpg",
"./JG.png",
"./Nate.avif",
"./Suhate.jpg",
"./Neetori.jpeg",
"./Tuwu.jpg",
"./Cloudy.jpg",
"./Vanaric.png",
"./Fei.jpg",
"./Vixpora.avif",
"./Pawwao.png",
"./Adam.png",
"./Nate.jpg",
"./Rho.avif",
"./Naninna.jpg",
"./Shiomu.avif",
"./Pawwao.avif",
"./Josh.jpg",
"./Jess (1).jpg",
"./shiomu.png",
"./stuwu.avif",
"./Suhate.avif",
"./stuwu.png",
"./Jess.jpg",
"./Cloudy.avif",
"./Benangbaja.avif",
"./Benanbaja.jpg",
"./Shin.avif",
"./Palis.avif",
"./Neetori.avif",
"Rho.png",
"Naninna.avif",
"Alice.avif",
"Alice.jpg",
"farah.png",
"Farah.avif",
"Liga.avif",
"Vanaric.avif",
"Fei.avif",
"Tuwu.avif",
"Touge.avif",
"Josh (1).jpg",
"JG.avif",
"Vixpora.jpg",
"Imp.avif",
"Adam.avif",
"Liga.jpg",
"Touge.png",
"Shin (1).avif",
"Palis.png",
"Imp.jpg",
"JG.png",
"Nate.avif",
"Suhate.jpg",
"Neetori.jpeg",
"Tuwu.jpg",
"Cloudy.jpg",
"Vanaric.png",
"Fei.jpg",
"Vixpora.avif",
"Pawwao.png",
"Adam.png",
"Nate.jpg",
"Rho.avif",
"Naninna.jpg",
"Shiomu.avif",
"Pawwao.avif",
"Josh.jpg",
"Jess (1).jpg",
"shiomu.png",
"stuwu.avif",
"Suhate.avif",
"stuwu.png",
"Jess.jpg",
"Cloudy.avif",
"Benangbaja.avif",
"Benanbaja.jpg",
"Shin.avif",
"Palis.avif",
"Neetori.avif",
];

interface UwuType {
Expand Down Expand Up @@ -227,9 +227,8 @@ const Community = () => {
const secondIndex =
(startIndex + index * 2 + 1) % imageOptions.length;
return (
<>
<div key={index}>
<div
key={firstIndex}
className={className}
style={{
top: `${uwu.top * 100}dvh`,
Expand All @@ -246,7 +245,6 @@ const Community = () => {
/>
</div>
<div
key={secondIndex}
className={className}
style={{
top: `${uwu.top * 100}dvh`,
Expand All @@ -262,7 +260,7 @@ const Community = () => {
alt="uwu"
/>
</div>
</>
</div>
);
})}

Expand All @@ -276,9 +274,8 @@ const Community = () => {
const secondIndex =
(startIndex + index * 2 + 1) % imageOptions.length;
return (
<>
<div key={index}>
<div
key={firstIndex}
className={className}
style={{
top: `${uwu.top * 100}dvh`,
Expand All @@ -295,7 +292,6 @@ const Community = () => {
/>
</div>
<div
key={secondIndex}
className={className}
style={{
top: `${uwu.top * 100}dvh`,
Expand All @@ -311,7 +307,7 @@ const Community = () => {
alt="uwu"
/>
</div>
</>
</div>
);
})}

Expand Down

0 comments on commit 13d046e

Please sign in to comment.