diff --git a/app/_game/components/GameLayout.tsx b/app/_game/components/GameLayout.tsx index cd5c6b8..c06c0ac 100644 --- a/app/_game/components/GameLayout.tsx +++ b/app/_game/components/GameLayout.tsx @@ -36,6 +36,7 @@ export function GameLayout({ className="h-[24px] w-[24px]" width={24} height={24} + priority /> isthat.ai @@ -53,6 +54,7 @@ export function GameLayout({ alt="zolplay logo" width={24} height={24} + priority /> Zolplay diff --git a/app/_game/components/ResultDisplay.tsx b/app/_game/components/ResultDisplay.tsx index 5d1c4ab..52b4536 100644 --- a/app/_game/components/ResultDisplay.tsx +++ b/app/_game/components/ResultDisplay.tsx @@ -52,6 +52,7 @@ export function ResultDisplay({ width={24} alt="time" className="h-[18px] w-[18px] sm:h-[24px] sm:w-[24px]" + priority />
{dayjs.duration(userScore.time, 'seconds').format('mm:ss')}
score
{userScore.score}/{userScore.total} @@ -108,6 +110,7 @@ export function ResultDisplay({ width={18} alt="tier info" className="ml-[4px] inline h-[14px] w-[14px] sm:h-[18px] sm:w-[18px]" + priority />
diff --git a/app/_game/components/ShareDialog.tsx b/app/_game/components/ShareDialog.tsx index 4c3756b..5aca48d 100644 --- a/app/_game/components/ShareDialog.tsx +++ b/app/_game/components/ShareDialog.tsx @@ -98,6 +98,7 @@ export function ShareDialog({ alt="close" width={24} height={24} + priority />
diff --git a/app/_game/scenes/Loading.tsx b/app/_game/scenes/Loading.tsx index 72b9d10..430c344 100644 --- a/app/_game/scenes/Loading.tsx +++ b/app/_game/scenes/Loading.tsx @@ -51,6 +51,7 @@ export function Loading() { className="h-[88px] w-[88px] sm:h-[168px] sm:w-[168px]" width={168} height={168} + priority />
isthat.ai diff --git a/app/_game/scenes/Play.tsx b/app/_game/scenes/Play.tsx index 6ee73ae..7611664 100644 --- a/app/_game/scenes/Play.tsx +++ b/app/_game/scenes/Play.tsx @@ -114,6 +114,7 @@ export function Play() { className="h-[16px] w-[16px] sm:h-[24px] sm:w-[24px]" width={24} height={24} + priority />
{dayjs.duration(remainingSeconds, 'seconds').format('mm:ss')} @@ -130,6 +131,7 @@ export function Play() { alt="left arrow" width={64} height={64} + priority />
NOT AI
@@ -144,6 +146,7 @@ export function Play() { alt="right arrow" width={64} height={64} + priority />
AI diff --git a/app/_game/scenes/Result.tsx b/app/_game/scenes/Result.tsx index 3607239..6c4e333 100644 --- a/app/_game/scenes/Result.tsx +++ b/app/_game/scenes/Result.tsx @@ -34,6 +34,7 @@ function ActionButton({ className="h-[20px] w-[20px] sm:h-[24px] sm:w-[24px]" width={24} height={24} + priority />
{children}
diff --git a/app/_game/scenes/WarmUp.tsx b/app/_game/scenes/WarmUp.tsx index 58f2c92..78cb953 100644 --- a/app/_game/scenes/WarmUp.tsx +++ b/app/_game/scenes/WarmUp.tsx @@ -2,6 +2,11 @@ import { AnimatePresence, motion } from 'framer-motion' import Image from 'next/image' import { useState } from 'react' +import step2MobileImage from '~/public/images/ftue/m-step-2.png' +import step3MobileImage from '~/public/images/ftue/m-step-3.png' +import step1Image from '~/public/images/ftue/step-1.png' +import step2Image from '~/public/images/ftue/step-2.png' +import step3Image from '~/public/images/ftue/step-2.png' import { useScene } from '~/stores/Scene.store' import { GameLayout } from '../components/GameLayout' @@ -23,6 +28,7 @@ function Handler({ width={64} height={64} onClick={() => onClick(step - 1)} + priority /> ) : (
@@ -34,6 +40,7 @@ function Handler({ alt="prev" width={104} height={24} + priority />
onClick(step + 1)} + priority />
) @@ -59,7 +67,13 @@ const images = [ key={0} className="relative aspect-[235/205] h-[calc(205/341*100%)] min-h-[205px]" > - step-1 + step-1
,
- not-ai + not-ai
- is-ai + is-ai
- step-2 + step-2
@@ -86,6 +106,7 @@ const images = [ alt="not-ai" width={72} height={56} + priority /> is-ai m-step-2
,
step-3 step-3
, ] diff --git a/app/layout.tsx b/app/layout.tsx index 18e5b6d..b671be6 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -98,6 +98,8 @@ export default function RootLayout({ + + diff --git a/public/images/ftue/step-1.png b/public/images/ftue/step-1.png new file mode 100644 index 0000000..3e6a6b1 Binary files /dev/null and b/public/images/ftue/step-1.png differ diff --git a/public/images/ftue/step-1.svg b/public/images/ftue/step-1.svg deleted file mode 100644 index 75055b7..0000000 --- a/public/images/ftue/step-1.svg +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -