Ajusta texto do portal e logo da sidebar
This commit is contained in:
parent
badcb0f502
commit
2334e9a9ec
2 changed files with 8 additions and 3 deletions
|
|
@ -142,7 +142,7 @@ export function PortalShell({ children }: PortalShellProps) {
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col">
|
<div className="flex flex-col">
|
||||||
<span className="text-sm text-neutral-500">
|
<span className="text-sm text-neutral-500">
|
||||||
Portal do Cliente
|
Portal do cliente
|
||||||
</span>
|
</span>
|
||||||
<span className="text-lg font-semibold text-neutral-900">Raven</span>
|
<span className="text-lg font-semibold text-neutral-900">Raven</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,12 @@ export function SidebarBrand({ logoSrc, logoAlt, title, subtitle, showTitle = tr
|
||||||
: [subtitle]
|
: [subtitle]
|
||||||
|
|
||||||
const brandContent = (
|
const brandContent = (
|
||||||
<div className="flex items-center gap-3 transition-all duration-200 ease-linear">
|
<div
|
||||||
|
className={cn(
|
||||||
|
"flex w-full items-center transition-all duration-200 ease-linear",
|
||||||
|
isCollapsed ? "justify-center gap-0" : "justify-start gap-3"
|
||||||
|
)}
|
||||||
|
>
|
||||||
<div className={cn(
|
<div className={cn(
|
||||||
"flex shrink-0 items-center justify-center transition-all duration-200 ease-linear",
|
"flex shrink-0 items-center justify-center transition-all duration-200 ease-linear",
|
||||||
isCollapsed ? "size-16" : "size-14"
|
isCollapsed ? "size-16" : "size-14"
|
||||||
|
|
@ -71,7 +76,7 @@ export function SidebarBrand({ logoSrc, logoAlt, title, subtitle, showTitle = tr
|
||||||
<SidebarMenuButton
|
<SidebarMenuButton
|
||||||
asChild
|
asChild
|
||||||
size="lg"
|
size="lg"
|
||||||
className="h-auto cursor-default select-none hover:bg-transparent hover:text-inherit active:bg-transparent active:text-inherit focus-visible:ring-0"
|
className="h-auto cursor-default select-none hover:bg-transparent hover:text-inherit active:bg-transparent active:text-inherit focus-visible:ring-0 group-data-[collapsible=icon]:size-16! group-data-[collapsible=icon]:p-0!"
|
||||||
>
|
>
|
||||||
{brandContent}
|
{brandContent}
|
||||||
</SidebarMenuButton>
|
</SidebarMenuButton>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue