diff --git a/figma/img.jpg b/figma/img.jpg new file mode 100644 index 0000000..b11eb0c Binary files /dev/null and b/figma/img.jpg differ diff --git a/package.json b/package.json index 080e5b8..c9bcf5e 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "cz-conventional-changelog": "3.3.0", "husky": "9.1.7", "lint-staged": "16.4.0", + "postcss": "^8.5.12", "tailwindcss": "^4.2.2", "typescript": "~6.0.2", "vite": "^8.0.4" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f42502e..885498b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -93,6 +93,9 @@ importers: lint-staged: specifier: 16.4.0 version: 16.4.0 + postcss: + specifier: ^8.5.12 + version: 8.5.12 tailwindcss: specifier: ^4.2.2 version: 4.2.2 @@ -1635,8 +1638,8 @@ packages: resolution: {integrity: sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==} engines: {node: '>=12'} - postcss@8.5.10: - resolution: {integrity: sha512-pMMHxBOZKFU6HgAZ4eyGnwXF/EvPGGqUr0MnZ5+99485wwW41kW91A4LOGxSHhgugZmSChL5AlElNdwlNgcnLQ==} + postcss@8.5.12: + resolution: {integrity: sha512-W62t/Se6rA0Az3DfCL0AqJwXuKwBeYg6nOaIgzP+xZ7N5BFCI7DYi1qs6ygUYT6rvfi6t9k65UMLJC+PHZpDAA==} engines: {node: ^10 || ^12 || >=14} prettier@3.8.3: @@ -3407,7 +3410,7 @@ snapshots: picomatch@4.0.4: {} - postcss@8.5.10: + postcss@8.5.12: dependencies: nanoid: 3.3.11 picocolors: 1.1.1 @@ -3633,7 +3636,7 @@ snapshots: dependencies: lightningcss: 1.32.0 picomatch: 4.0.4 - postcss: 8.5.10 + postcss: 8.5.12 rolldown: 1.0.0-rc.15 tinyglobby: 0.2.16 optionalDependencies: diff --git a/src/features/game/components/desktop/desktop-animal.tsx b/src/features/game/components/desktop/desktop-animal.tsx index 8836f43..57f37be 100644 --- a/src/features/game/components/desktop/desktop-animal.tsx +++ b/src/features/game/components/desktop/desktop-animal.tsx @@ -36,7 +36,7 @@ export function DesktopAnimal({ onSelect, }: DesktopAnimalProps) { return ( -
+
{animalImageList.map((item) => { const isActive = item.id === activeId @@ -56,7 +56,10 @@ export function DesktopAnimal({ ) diff --git a/src/features/game/components/desktop/desktop-control.tsx b/src/features/game/components/desktop/desktop-control.tsx new file mode 100644 index 0000000..c514c19 --- /dev/null +++ b/src/features/game/components/desktop/desktop-control.tsx @@ -0,0 +1,3 @@ +export function DesktopControl() { + return
DesktopControl
+} diff --git a/src/features/game/components/desktop/desktop-game-history.tsx b/src/features/game/components/desktop/desktop-game-history.tsx new file mode 100644 index 0000000..e962dd3 --- /dev/null +++ b/src/features/game/components/desktop/desktop-game-history.tsx @@ -0,0 +1,3 @@ +export function DesktopGameHistory() { + return
DesktopGameHistory
+} diff --git a/src/features/game/components/desktop/desktop-header.tsx b/src/features/game/components/desktop/desktop-header.tsx index 3dbde05..3ec19b0 100644 --- a/src/features/game/components/desktop/desktop-header.tsx +++ b/src/features/game/components/desktop/desktop-header.tsx @@ -1,6 +1,5 @@ -import { CircleAlert, Mail, Plus, Volume2 } from 'lucide-react' +import { CircleAlert, Mail, Volume2 } from 'lucide-react' import avatar from '@/assets/system/avatar.webp' -import diamond from '@/assets/system/diamond.webp' import logo from '@/assets/system/logo.webp' import wifi from '@/assets/system/wifi.webp' import { SmartImage } from '@/components/smart-image.tsx' @@ -9,7 +8,7 @@ export function DesktopHeader() { return (
-
+
-
+
-
+
System Time
20:05:12 GMT+08
-
-
- +
+
+
Rules & Ddds
-
- +
+
Pesan
-
- +
+
BGM
-
- +
+
ID
-
-
+
Biomond Balance
-
+
-
5994469974
-
- -
+ Biomond Balance
diff --git a/src/features/game/components/desktop/desktop-title.tsx b/src/features/game/components/desktop/desktop-title.tsx index 4f55ee9..31a32e3 100644 --- a/src/features/game/components/desktop/desktop-title.tsx +++ b/src/features/game/components/desktop/desktop-title.tsx @@ -1,7 +1,7 @@ import { Megaphone } from 'lucide-react' export function DesktopTitle() { return ( -
+
Selamat kepada pemain Wu Yanzu yang telah memenangkan hadiah utama diff --git a/src/routes/$lang/route.tsx b/src/routes/$lang/route.tsx index a899841..3b4c40a 100644 --- a/src/routes/$lang/route.tsx +++ b/src/routes/$lang/route.tsx @@ -2,6 +2,7 @@ import { createFileRoute, Navigate, Outlet } from '@tanstack/react-router' import { useEffect } from 'react' import { useTranslation } from 'react-i18next' import { DesktopAnimal } from '@/features/game/components/desktop/desktop-animal.tsx' +import { DesktopGameHistory } from '@/features/game/components/desktop/desktop-game-history.tsx' import { DesktopHeader } from '@/features/game/components/desktop/desktop-header.tsx' import { DesktopTitle } from '@/features/game/components/desktop/desktop-title.tsx' import { getPreferredLanguage, isSupportedLanguage } from '@/i18n' @@ -26,14 +27,24 @@ function LanguageLayout() { return } return ( -
+
-
+ +
-
- + +
+
+
+ +
+
+ +
+
+