Compare commits

..

No commits in common. "main" and "framework-version" have entirely different histories.

5 changed files with 14 additions and 15 deletions

View File

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

View File

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

View File

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

View File

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

View File

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