update: achievement

This commit is contained in:
Vick Scarlet
2026-08-15 22:11:37 +08:00
parent a2e40230c7
commit f2e8fac4de
12 changed files with 284 additions and 17 deletions
+17 -4
View File
@@ -1,19 +1,32 @@
import { useRemake } from '@remake/hooks'
import { useRemake, useGoAchv } from '@remake/hooks'
import { TextSvg } from '@/components/TextSvg'
import { ThemeToggle } from '@/components/ThemeToggle'
import './Home.css'
export default function Home() {
const remake = useRemake()
const goAchv = useGoAchv()
return (
<div className="screen home">
<div className="title">
<TextSvg text="人生重开模拟器" className="main" />
<TextSvg text="这垃圾人生一秒也不想待了" className="sub" />
</div>
<button className="primary focus" onClick={remake}>
</button>
<div className="controls">
<div>
<button className="primary focus" onClick={remake}>
</button>
</div>
<div>
<button className="info" onClick={goAchv}>
</button>
<button className="info" onClick={goAchv}>
</button>
</div>
</div>
<ThemeToggle />
</div>
)