Refactor global styles and layout components for improved responsiveness and performance. Added viewport settings, adjusted overflow handling, and removed legacy animations for mobile optimization. Enhanced image handling and ensured consistent minimum width across various components.
This commit is contained in:
1 parent
fdb2023353
commit
b6ff82fad9
22 files changed
+207
-265
No files matched your search
@@ -95,13 +95,13 @@ export function AdminSidebar({ userName }: { userName: string }) {
|
||||
render={<Link href="/admin" />}
|
||||
className="data-active:bg-sidebar-accent"
|
||||
>
|
||||
<span className="relative size-8 shrink-0 overflow-hidden rounded-lg bg-chart-3 ring-1 ring-sidebar-border">
|
||||
<span className="relative size-8 shrink-0">
|
||||
<Image
|
||||
src="/brand/amirkabir.png"
|
||||
alt=""
|
||||
fill
|
||||
sizes="32px"
|
||||
className="object-contain p-[15%]"
|
||||
className="object-contain brightness-0"
|
||||
priority
|
||||
/>
|
||||
</span>
|
||||
|
||||
Reference in new issue
Block a user