[feat] user-related layout and styles
This commit is contained in:
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user