feat(branding): add RoadMonitor logo and update auth/sidebar branding

This commit is contained in:
2026-06-24 12:54:33 +05:30
parent 2fc01f74e2
commit 82050372c6
9 changed files with 102 additions and 14 deletions

View File

@@ -31,7 +31,7 @@ function ForgotPasswordContent() {
<div className="flex h-screen flex-1 items-center justify-center border-l border-border p-6 md:w-[60%]">
<section className="w-full max-w-sm space-y-7">
<header className="space-y-2 text-center md:text-left">
<p className="text-muted-foreground">VisionRoad</p>
<p className="text-muted-foreground">RoadMonitor</p>
<h1>{displayInfo.title}</h1>
<p className="text-muted-foreground">{displayInfo.description}</p>
</header>
@@ -60,7 +60,11 @@ function ForgotPasswordContent() {
className="w-full"
disabled={isLoading || !canSubmit}
>
{isLoading ? <Loader2 className="size-4 animate-spin" /> : <Send />}
{isLoading ? (
<Loader2 className="size-4 animate-spin" />
) : (
<Send />
)}
{displayInfo.buttonLabel}
</Button>

View File

@@ -23,7 +23,7 @@ export default function LoginPage() {
<section className="w-full max-w-sm space-y-7">
<header className="space-y-2 text-center md:text-left">
<p className="text-sm font-medium text-muted-foreground">
VisionRoad
RoadMonitor
</p>
<h1 className="text-2xl font-semibold tracking-tight">Sign in</h1>
<p className="text-sm text-muted-foreground">

View File

@@ -27,7 +27,7 @@ function ResetPasswordContent() {
<div className="flex h-screen flex-1 items-center justify-center border-l border-border p-6 md:w-[60%]">
<section className="w-full max-w-sm space-y-7">
<header className="space-y-2 text-center md:text-left">
<p className="text-muted-foreground">VisionRoad</p>
<p className="text-muted-foreground">RoadMonitor</p>
<h1>{displayInfo.title}</h1>
<p className="text-muted-foreground">{displayInfo.description}</p>
</header>
@@ -69,7 +69,9 @@ function ResetPasswordContent() {
className="w-full"
disabled={isLoading || !canSubmit}
>
{isLoading ? <Loader2 className="size-4 animate-spin" /> : null}
{isLoading ? (
<Loader2 className="size-4 animate-spin" />
) : null}
{displayInfo.buttonLabel}
</Button>
</form>

View File

@@ -38,7 +38,7 @@ export function UploadCardGrid({
onViewVideo,
onViewDetails,
}: UploadCardGridProps) {
const skeletonItems = Array.from({ length: Math.min(limit, 20) });
const skeletonItems = Array.from({ length: 6 });
if (!isLoading && uploads.length === 0) {
return (

View File

@@ -19,8 +19,8 @@ const geistMono = Geist_Mono({
export const metadata: Metadata = {
title: {
default: 'VisionRoad',
template: '%s | VisionRoad',
default: 'RoadMonitor',
template: '%s | RoadMonitor',
},
description: 'Road infrastructure monitoring and pothole detection platform',
};