Remove unused favicon files and update layout metadata for icon definitions. Adjusted image handling in components for better responsiveness and consistency.

This commit is contained in:
smhk1376 committed 2026-09-24 15:58:21 +03:30
1 parent de76c14c59
commit fdb2023353
13 files changed
+40 -16

No files matched your search

@@ -30,7 +30,7 @@ export function AdminShell({
>
<AdminSidebar userName={userName} />
<SidebarInset className="bg-muted/30 md:peer-data-[variant=inset]:ms-2 md:peer-data-[variant=inset]:me-0 md:peer-data-[variant=inset]:peer-data-[state=collapsed]:me-2">
<header className="sticky top-0 z-20 flex h-(--header-height) shrink-0 items-center gap-2 border-b bg-background/95 px-4 backdrop-blur supports-backdrop-filter:bg-background/80">
<header className="sticky top-0 z-20 flex h-(--header-height) shrink-0 items-center gap-2 border-b border-border bg-background/95 px-4 backdrop-blur supports-backdrop-filter:bg-background/80">
<SidebarTrigger className="-ms-1" />
<Separator orientation="vertical" className="me-1 data-[orientation=vertical]:h-4" />
<div className="flex min-w-0 flex-1 items-center justify-between gap-3">
@@ -41,7 +41,7 @@ export function AdminShell({
alt=""
fill
sizes="24px"
className="object-cover"
className="object-contain p-[15%]"
/>
</span>
<p className="truncate text-sm font-medium text-muted-foreground">
@@ -30,7 +30,6 @@ import {
SidebarMenuButton,
SidebarMenuItem,
SidebarRail,
SidebarSeparator,
} from "@/components/ui/sidebar";
import { Avatar, AvatarFallback } from "@/components/ui/avatar";
import { LogoutButton } from "@/components/organisms/admin/LogoutButton";
@@ -88,7 +87,7 @@ export function AdminSidebar({ userName }: { userName: string }) {
return (
<Sidebar side="right" collapsible="icon" variant="inset">
<SidebarHeader className="gap-3 p-3">
<SidebarHeader className="h-(--header-height) shrink-0 justify-center gap-0 border-b border-sidebar-border p-0 px-3">
<SidebarMenu>
<SidebarMenuItem>
<SidebarMenuButton
@@ -102,7 +101,7 @@ export function AdminSidebar({ userName }: { userName: string }) {
alt=""
fill
sizes="32px"
className="object-cover"
className="object-contain p-[15%]"
priority
/>
</span>
@@ -117,8 +116,6 @@ export function AdminSidebar({ userName }: { userName: string }) {
</SidebarMenu>
</SidebarHeader>
<SidebarSeparator />
<SidebarContent>
{NAV_GROUPS.map((group) => (
<SidebarGroup key={group.label}>