card editing

This commit is contained in:
Samandar Turgunboyev
2025-12-16 15:48:22 +05:00
parent 8813d50a81
commit a81fa12f53
19 changed files with 193 additions and 120 deletions

View File

@@ -9,7 +9,6 @@ import { Badge } from '@/shared/ui/badge';
import { Button } from '@/shared/ui/button';
import { Card, CardContent } from '@/shared/ui/card';
import {
Bell,
CheckCircle,
ChevronRight,
Handshake,
@@ -22,7 +21,6 @@ import {
Package,
RefreshCw,
ShoppingBag,
Star,
TrendingUp,
Truck,
Wallet,
@@ -335,14 +333,6 @@ const Profile = () => {
<RefreshCw className="w-3 h-3 md:w-4 md:h-4" />
Qayta
</Button>
<Button
variant="ghost"
size="sm"
className="gap-1 md:gap-2 h-8 md:h-9 text-xs md:text-sm"
>
<Star className="w-3 h-3 md:w-4 md:h-4" />
Baholash
</Button>
</div>
</CardContent>
</Card>
@@ -451,9 +441,13 @@ const Profile = () => {
<Button
variant="ghost"
size="icon"
onClick={() => {
localStorage.removeItem('user');
router.push('/');
}}
className="w-9 h-9 md:w-10 md:h-10"
>
<Bell className="w-4 h-4 md:w-5 md:h-5" />
<LogOut className="w-4 text-red-500 h-4 md:w-5 md:h-5" />
</Button>
</div>