[feat] user-related layout and styles

This commit is contained in:
Purp1e
2025-03-22 17:50:55 +08:00
parent 08a6bfe9de
commit ff6113085a
7 changed files with 57 additions and 23 deletions

View File

@@ -1,11 +1,15 @@
import { useSteamStore } from "@/store/steam"
const Header = () => {
const steam = useSteamStore()
return (
<div className="pt-6 select-none pb-9" data-tauri-drag-region>
<h1 className="text-xl font-medium tracking-wide w-fit">
Faze.Rop紫本人
{steam.currentUser().personaName || 'CS工具箱'}
</h1>
<p className="text-sm font-light tracking-wide text-zinc-400 w-fit">
使CS工具箱 114
{steam.currentUser().accountName || '本周使用CS工具箱 114 小时'}
</p>
</div>
)