diff --git a/src/app/components/dashboard-stats.tsx b/src/app/components/dashboard-stats.tsx index 66430c5..ace8cac 100644 --- a/src/app/components/dashboard-stats.tsx +++ b/src/app/components/dashboard-stats.tsx @@ -63,7 +63,7 @@ export async function DashboardStats({ ]; const completedSteps = steps.filter((step) => step.complete).length; const cards = [ - { label: "Active projects", value: stats.activeProjects, icon: "projects" as const, tone: "indigo" }, + { label: "Active projects", value: stats.activeProjects, detail: `Projects marked Active · ${projectCount} total`, icon: "projects" as const, tone: "indigo" }, { label: "Overdue tasks", value: stats.overdueTasks, icon: "overdue" as const, tone: stats.overdueTasks > 0 ? "danger" : "slate" }, { label: "Pending reviews", value: stats.pendingReviews, icon: "reviews" as const, tone: "amber" }, { label: "Deliverable approval rate", value: stats.approvalRate === null ? "—" : `${stats.approvalRate}%`, icon: "approval" as const, tone: "emerald" }, @@ -127,6 +127,7 @@ export async function DashboardStats({

{card.value}

+ {card.detail ?

{card.detail}

: null} ))} diff --git a/src/app/globals.css b/src/app/globals.css index f2592fe..2eea4f3 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -5,3 +5,8 @@ * { box-sizing: border-box; } html, body { min-height: 100%; } body { background: var(--background); color: var(--foreground); font-family: Arial, Helvetica, sans-serif; } + + +/* Consistent visible keyboard focus across the app shell and interactive controls. */ +:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid #4f46e5; outline-offset: 3px; } +@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 4fd78ae..c1e1f6b 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -3,7 +3,7 @@ import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"] }); const geistMono = Geist_Mono({ variable: "--font-geist-mono", subsets: ["latin"] }); -export const metadata: Metadata = { title: { default: "ClientFlow", template: "%s | ClientFlow" }, description: "A focused workspace for client and project management." }; +export const metadata: Metadata = { title: { default: "ClientFlow", template: "%s | ClientFlow" }, description: "A focused workspace for client and project management.", icons: { icon: "/icon.svg", shortcut: "/icon.svg" } }; export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) { return {children}; } diff --git a/src/app/page.tsx b/src/app/page.tsx index 894dff2..5c81eec 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -41,7 +41,7 @@ function WorkspacePreview() { New project
- {[["03", "Projects"], ["05", "Open tasks"], ["02", "Reviews"]].map(([value, label]) => ( + {[["3", "Projects"], ["5", "Open tasks"], ["2", "Reviews"]].map(([value, label]) => (

{value}

{label}