diff --git a/apps/web/src/assets/logo.png b/apps/web/src/assets/logo.png new file mode 100644 index 0000000..fcd78de Binary files /dev/null and b/apps/web/src/assets/logo.png differ diff --git a/apps/web/src/components/brand/Brand.tsx b/apps/web/src/components/brand/Brand.tsx index 730df33..2079006 100644 --- a/apps/web/src/components/brand/Brand.tsx +++ b/apps/web/src/components/brand/Brand.tsx @@ -1,6 +1,6 @@ -import { Gem } from "./Gem"; -import { cn } from "@/lib/utils"; +import { cn } from "@/lib/utils"; +import logo from "@/assets/logo.png"; /** * Lockup horizontal : ◆ + "Rubis" (+ optionnel "sur l'ongle" en suffixe italique muted). * À utiliser dans les headers, le sidebar, les emails. @@ -13,9 +13,10 @@ type BrandProps = { /** Taille du gem (le wordmark s'aligne dessus). */ gemSize?: number; className?: string; + onlyImage?: boolean; }; -export function Brand({ withSuffix = false, gemSize = 22, className }: BrandProps) { +export function Brand({ withSuffix = false, onlyImage = false, className }: BrandProps) { return ( - - - Rubis - {withSuffix && ( - + ) : ( + <> + Logo + + Rubis + {withSuffix && ( + + sur l'ongle + )} - > - sur l'ongle - )} - + + )} ); } diff --git a/apps/web/src/components/dashboard/RubisHero.tsx b/apps/web/src/components/dashboard/RubisHero.tsx index dc15c29..579499c 100644 --- a/apps/web/src/components/dashboard/RubisHero.tsx +++ b/apps/web/src/components/dashboard/RubisHero.tsx @@ -1,7 +1,7 @@ -import { Gem } from "@/components/brand/Gem"; import { Card } from "@/components/ui/Card"; import { formatRubisToHours } from "@/lib/format"; import { cn } from "@/lib/utils"; +import { Brand } from "../brand/Brand"; /** * RubisHero — la pièce centrale du dashboard. @@ -46,10 +46,7 @@ export function RubisHero({
- -

- Rubis -

+