11import { useRef } from "react" ;
22import { NavLink } from "react-router" ;
33
4+ import arrowDownIcon from "~/assets/arrow_down.svg" ;
5+ import caRaccoon from "~/assets/home/ca_raccoon.png" ;
6+ import eatingTrash from "~/assets/home/eating_trash.png" ;
7+ import raidTrash from "~/assets/home/raid_trash.png" ;
8+ import raccoonImage from "~/assets/raccoon.png" ;
49import Footer from "~/lib/core/components/Footer" ;
510import Header from "~/lib/core/components/Header" ;
611import {
@@ -13,10 +18,6 @@ import {
1318import LevelCard from "~/lib/core/home/components/LevelCard" ;
1419import PlayButton from "~/lib/core/home/components/PlayButton" ;
1520import { LEVELS } from "~/lib/game/core/levels" ;
16- import arrowDownIcon from "../assets/arrow_down.svg" ;
17- import ca_raccoon from "../assets/home/ca_raccoon.png" ;
18- import eating_trash from "../assets/home/eating_trash.png" ;
19- import raid_trash from "../assets/home/raid_trash.png" ;
2021
2122const Home = ( ) => {
2223 const scrollTargetRef = useRef < HTMLDivElement > ( null ) ;
@@ -82,39 +83,75 @@ const Home = () => {
8283 className = "flex items-center justify-center bg-white"
8384 >
8485 < div className = "flex h-full w-full flex-col items-center p-12" >
85- < h1 className = "font-pixel pb-12 text-4xl font-bold" >
86+ < h2 className = "font-pixel pb-12 text-4xl font-bold" >
8687 Learn these skills to become a dumpster diver
87- </ h1 >
88+ </ h2 >
8889 < div className = "flex flex-col items-start justify-center gap-10 md:flex-row md:gap-32" >
8990 < div className = "flex flex-col gap-4 text-center" >
9091 < div className = "bg-jam-600 h-32 w-32 rounded-full" >
91- < img className = "rounded-b-full" src = { ca_raccoon } alt = "" />
92+ < img className = "rounded-b-full" src = { caRaccoon } alt = "" />
9293 </ div >
9394 Computer
9495 < br />
9596 Animation
9697 </ div >
9798 < div className = "flex flex-col gap-4 text-center" >
9899 < div className = "bg-jam-600 h-32 w-32 rounded-full" >
99- < img className = "rounded-b-full" src = { raid_trash } alt = "" />
100+ < img className = "rounded-b-full" src = { raidTrash } alt = "" />
100101 </ div >
101102 Raiding The < br />
102103 Trash
103104 </ div >
104105 < div className = "flex flex-col gap-4 text-center" >
105106 < div className = "bg-jam-600 h-32 w-32 rounded-full" >
106- < img className = "rounded-b-full" src = { eating_trash } alt = "" />
107+ < img className = "rounded-b-full" src = { eatingTrash } alt = "" />
107108 </ div >
108109 Eating Trash
109110 </ div >
110111 </ div >
111112 </ div >
112113 </ section >
114+ < section className = "flex h-96 w-full items-center justify-around bg-slate-800" >
115+ < div className = "flex flex-col items-start justify-center gap-10 md:flex-row md:gap-32" >
116+ < img
117+ className = "pixelate hidden w-60 pl-10 md:flex"
118+ src = { raccoonImage }
119+ alt = ""
120+ />
121+ </ div >
122+ < div className = "flex h-full w-full max-w-2xl flex-col items-start justify-center gap-4 p-4 text-white" >
123+ < h2 className = "font-pixel text-4xl font-bold" > Welcome to the game</ h2 >
124+ < p >
125+ Welcome to our educational game about computer animation! This
126+ project is designed to help you explore and understand key concepts
127+ in animation, game logic, and interactive systems through hands-on
128+ experimentation.
129+ </ p >
130+ </ div >
131+ </ section >
132+ < section className = "flex h-96 w-full items-center justify-around bg-white" >
133+ < div className = "flex h-full w-full max-w-2xl flex-col items-start justify-center gap-4 p-4" >
134+ < h2 className = "font-pixel text-4xl font-bold" > How to play</ h2 >
135+ < p >
136+ In this game, you use a visual node editor to build logic, control
137+ game objects, and solve creative puzzles. Each level introduces new
138+ mechanics and concepts, from basic value manipulation to more
139+ advanced topics such as conditional logic, movement, and more.
140+ </ p >
141+ </ div >
142+ < div className = "flex flex-col items-start justify-center gap-10 md:flex-row md:gap-32" >
143+ < img
144+ className = "pixelate hidden w-60 -scale-x-100 pl-10 md:flex"
145+ src = "/game/sprites/soap.png"
146+ alt = ""
147+ />
148+ </ div >
149+ </ section >
113150 < section className = "flex h-96 items-center justify-center bg-slate-800" >
114151 < div className = "flex h-full w-full max-w-2xl flex-col items-center justify-center gap-4 p-4" >
115- < h1 className = "font-pixel text-4xl font-bold text-white" >
152+ < h2 className = "font-pixel text-4xl font-bold text-white" >
116153 Join the community
117- </ h1 >
154+ </ h2 >
118155 < p className = "text-center text-sm text-white" >
119156 Join our student Discord to connect with other Mediatechnology
120157 students, share your experiences, and get help with the game.
0 commit comments