linter issues

This commit is contained in:
Lah Shrimp 2026-07-11 16:25:45 -06:00
parent 45aa5241a6
commit b375e42109
5 changed files with 15 additions and 14 deletions

View File

@ -7,10 +7,13 @@ export default function SeafoodButton() {
// set maxShrimp based on image size so not to overflow // set maxShrimp based on image size so not to overflow
const maxShrimp = 83; const maxShrimp = 83;
const shrimpRainValues: number[] = []; const [shrimpRainValues] = useState(() => {
const shrimpRainValuesArr: number[] = [];
for (let i = 0; i < maxShrimp; i++) { for (let i = 0; i < maxShrimp; i++) {
shrimpRainValues.push(Math.floor(Math.random() * 200)); shrimpRainValuesArr.push(Math.floor(Math.random() * 200));
} }
return shrimpRainValuesArr;
});
function itsRainingShrimp() { function itsRainingShrimp() {
setShowShrimpOverlay(true); setShowShrimpOverlay(true);

View File

@ -7,8 +7,8 @@ export default function SeafoodDelights() {
<p className="font-bold"> <p className="font-bold">
We are Shrimp Squad and we make things. We are Shrimp Squad and we make things.
</p> </p>
There's no project we can't mantis punch. Shrimply take a look There&apos;s no project we can&apos;t mantis punch. Shrimply
at what we're known for. take a look at what we&apos;re known for.
</div> </div>
<SeafoodButton /> <SeafoodButton />
</section> </section>

View File

@ -6,8 +6,6 @@ export function ShrimpRain({ randomValues }: { randomValues: number[] }) {
const shrimpImagesArray = Array.from(Array(maxWidthToShrimp).keys()); const shrimpImagesArray = Array.from(Array(maxWidthToShrimp).keys());
const shrimpImagesArrayElements = shrimpImagesArray.map((index) => { const shrimpImagesArrayElements = shrimpImagesArray.map((index) => {
const left = "left-[" + (index + 1) + "%]";
const bottom = "bottom-[" + randomValues[index] + "%]";
return ( return (
<Image <Image
key={index} key={index}

View File

@ -6,11 +6,11 @@ export default function BiotamaText() {
players attempt to convert wastelands into thriving ecosystems. players attempt to convert wastelands into thriving ecosystems.
</p> </p>
<p className="mb-2"> <p className="mb-2">
The player starts with a "Mother Tree" which acts as the core The player starts with a &quot;Mother Tree&quot; which acts as
component of the player's ecosystem. Trees grow roots that can the core component of the player&apos;s ecosystem. Trees grow
connect together, allowing them to communicate and send roots that can connect together, allowing them to communicate
resources between each other. Mycelial networks function and send resources between each other. Mycelial networks
similarly for fungi. function similarly for fungi.
</p> </p>
<p> <p>
Biotama aims to be educational as well as fun. It will feature Biotama aims to be educational as well as fun. It will feature

View File

@ -5,7 +5,7 @@ export default function ProjectList({
handleProjectClick, handleProjectClick,
}: { }: {
projects: ProjectListProps[]; projects: ProjectListProps[];
handleProjectClick: any; handleProjectClick: (project: string) => void;
}) { }) {
const projectList = projects.map((project) => ( const projectList = projects.map((project) => (
<button <button