feat(profile): add 'Услуги' link button to LinksCard for service management

This commit is contained in:
vchikalkin 2025-07-31 14:35:34 +03:00
parent fde9305632
commit 5ca471a87f
2 changed files with 7 additions and 1 deletions

View File

@ -14,6 +14,12 @@ export function LinksCard() {
text="График работы"
visible={isMaster}
/>
<LinkButton
description="Добавить и редактировать ваши услуги мастера"
href="/profile/services"
text="Услуги"
visible={isMaster}
/>
</div>
);
}

View File

@ -12,7 +12,7 @@ export function LinkButton({ description, href, text, visible }: Props) {
return (
<Link href={href} rel="noopener noreferrer">
<div className="flex w-full flex-col rounded-2xl bg-background p-4 px-6 shadow-lg backdrop-blur-2xl dark:bg-primary/5">
<div className="flex min-h-24 w-full flex-col rounded-2xl bg-background p-4 px-6 shadow-lg backdrop-blur-2xl dark:bg-primary/5">
<h2 className="font-bold text-foreground">{text}</h2>
<span className="mt-1 text-sm text-muted-foreground">{description}</span>
</div>