Compare commits
No commits in common. "main" and "framework-version" have entirely different histories.
main
...
framework-
@ -7,13 +7,10 @@ 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] = useState(() => {
|
const shrimpRainValues: number[] = [];
|
||||||
const shrimpRainValuesArr: number[] = [];
|
|
||||||
for (let i = 0; i < maxShrimp; i++) {
|
for (let i = 0; i < maxShrimp; i++) {
|
||||||
shrimpRainValuesArr.push(Math.floor(Math.random() * 200));
|
shrimpRainValues.push(Math.floor(Math.random() * 200));
|
||||||
}
|
}
|
||||||
return shrimpRainValuesArr;
|
|
||||||
});
|
|
||||||
|
|
||||||
function itsRainingShrimp() {
|
function itsRainingShrimp() {
|
||||||
setShowShrimpOverlay(true);
|
setShowShrimpOverlay(true);
|
||||||
|
|||||||
@ -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
|
There's no project we can't mantis punch. Shrimply take a look
|
||||||
take a look at what we're known for.
|
at what we're known for.
|
||||||
</div>
|
</div>
|
||||||
<SeafoodButton />
|
<SeafoodButton />
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@ -6,6 +6,8 @@ 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}
|
||||||
|
|||||||
@ -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 player starts with a "Mother Tree" which acts as the core
|
||||||
the core component of the player's ecosystem. Trees grow
|
component of the player's ecosystem. Trees grow roots that can
|
||||||
roots that can connect together, allowing them to communicate
|
connect together, allowing them to communicate and send
|
||||||
and send resources between each other. Mycelial networks
|
resources between each other. Mycelial networks function
|
||||||
function similarly for fungi.
|
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
|
||||||
|
|||||||
@ -5,7 +5,7 @@ export default function ProjectList({
|
|||||||
handleProjectClick,
|
handleProjectClick,
|
||||||
}: {
|
}: {
|
||||||
projects: ProjectListProps[];
|
projects: ProjectListProps[];
|
||||||
handleProjectClick: (project: string) => void;
|
handleProjectClick: any;
|
||||||
}) {
|
}) {
|
||||||
const projectList = projects.map((project) => (
|
const projectList = projects.map((project) => (
|
||||||
<button
|
<button
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user