refactor(ui): update branding assets and clean up repair proof UI

This commit is contained in:
2026-07-22 18:47:00 +05:30
parent 725c256791
commit 062e89fcba
7 changed files with 35 additions and 163 deletions

View File

@@ -1,5 +1,5 @@
import { LogoWrapper } from '@/components/LogoWrapper';
import { cn } from '@/lib/utils';
import Image from 'next/image';
const BOKEH_ORBS = [
'top-[20%] left-[10%] size-[min(18vw,140px)] opacity-[0.14]',
@@ -82,24 +82,21 @@ export function AuthBackground({ className }: AuthBackgroundProps) {
/>
))}
<div className="absolute inset-x-10 top-1/2 -translate-y-1/2 text-center text-primary-foreground">
<div className="mb-9 inline-flex items-center gap-5 text-left">
<LogoWrapper
alt=""
className="size-28 rounded-lg border-[5px] p-4"
priority
variant="glass"
/>
<span className="min-w-0">
<span className="block text-5xl font-semibold leading-none tracking-normal">
Road
</span>
<span className="block text-5xl font-semibold leading-none tracking-normal">
Monitor
</span>
</span>
</div>
<p className="mx-auto max-w-md text-base leading-7 text-primary-foreground/82">
<Image
src="/logo.svg"
alt=""
width={81}
height={58}
className="absolute left-10 top-12 h-auto w-16 object-contain"
priority
/>
<div className="absolute bottom-10 left-10 right-10 text-left text-primary-foreground">
<p className="text-3xl leading-none tracking-tight">
<span className="font-semibold">Road</span>
<span className="font-normal">Monitor</span>
</p>
<p className="mt-1 max-w-sm text-xs leading-4 text-primary-foreground/90">
Map, monitor, and repair road issues with data-driven surface
intelligence.
</p>
@@ -107,4 +104,3 @@ export function AuthBackground({ className }: AuthBackgroundProps) {
</div>
);
}