fix: profile lifting
All checks were successful
Deploy to VPS (dist) / deploy (push) Successful in 1m39s

This commit is contained in:
Hewston Fox
2026-03-22 13:25:49 +02:00
parent 5e9acffa09
commit e3088b7c47
20 changed files with 280 additions and 112 deletions

View File

@@ -12,9 +12,6 @@
gap: 2px;
}
.left {
}
.avatar {
position: relative;
display: flex;
@@ -57,10 +54,4 @@
display: flex;
flex-direction: column;
}
.rightTop {
}
.rightBottom {
}
}

View File

@@ -1,3 +1,4 @@
import { useState } from "react";
import classes from "./Profile.module.css";
import { motion } from "motion/react";
import { Liftable } from "@components/lift";
@@ -5,6 +6,9 @@ import { useTelegramUser } from "@/tg";
export default function Profile() {
const user = useTelegramUser();
const [satue, setSatue] = useState(1);
return (
<Liftable always>
<motion.div
@@ -20,9 +24,13 @@ export default function Profile() {
</div>
</div>
</div>
<div className={classes.right}>
<div className={classes.rightTop} />
<div className={classes.rightBottom} />
<div>
{satue}
<button onClick={() => setSatue((v) => v + 1)}>+</button>
<button onClick={() => setSatue((v) => v - 1)}>-</button>
<div />
<div />
</div>
</motion.div>
</Liftable>

View File

@@ -1,6 +1,5 @@
@layer base {
.settings {
margin-left: auto;
width: 80px;
height: 50px;
display: flex;