mirror of
https://github.com/elisiariocouto/leggen.git
synced 2025-12-18 05:49:29 +00:00
feat(frontend): Update brand identity with new logo and color scheme.
- Add new Logo component with gradient design (blue #0b74de to cyan #06b6d4) - Replace CreditCard icon with custom Logo in sidebar - Update primary and secondary theme colors to match brand gradient - Regenerate all PWA icons with new logo design - Update theme colors in PWA manifest and meta tags - Fix ESLint config to ignore generated PWA files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
committed by
Elisiário Couto
parent
3049a8cd2f
commit
2825dba2e9
@@ -1,6 +1,5 @@
|
||||
import { Link, useLocation } from "@tanstack/react-router";
|
||||
import {
|
||||
CreditCard,
|
||||
Home,
|
||||
List,
|
||||
BarChart3,
|
||||
@@ -8,6 +7,7 @@ import {
|
||||
TrendingUp,
|
||||
X,
|
||||
} from "lucide-react";
|
||||
import { Logo } from "./ui/logo";
|
||||
import { useQuery } from "@tanstack/react-query";
|
||||
import { apiClient } from "../lib/api";
|
||||
import { formatCurrency } from "../lib/utils";
|
||||
@@ -53,7 +53,7 @@ export default function Sidebar({ sidebarOpen, setSidebarOpen }: SidebarProps) {
|
||||
onClick={() => setSidebarOpen(false)}
|
||||
className="flex items-center space-x-2 hover:opacity-80 transition-opacity"
|
||||
>
|
||||
<CreditCard className="h-8 w-8 text-primary" />
|
||||
<Logo size={32} />
|
||||
<h1 className="text-xl font-bold text-card-foreground">Leggen</h1>
|
||||
</Link>
|
||||
<button
|
||||
|
||||
44
frontend/src/components/ui/logo.tsx
Normal file
44
frontend/src/components/ui/logo.tsx
Normal file
@@ -0,0 +1,44 @@
|
||||
interface LogoProps {
|
||||
className?: string;
|
||||
size?: number;
|
||||
}
|
||||
|
||||
export function Logo({ className = "", size = 32 }: LogoProps) {
|
||||
return (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width={size}
|
||||
height={size}
|
||||
viewBox="0 0 32 32"
|
||||
className={className}
|
||||
role="img"
|
||||
aria-labelledby="logo-title logo-desc"
|
||||
>
|
||||
<title id="logo-title">leggen — stylized italic L</title>
|
||||
<desc id="logo-desc">Square gradient background with italic white L.</desc>
|
||||
|
||||
<defs>
|
||||
<linearGradient id="logo-bg" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0%" stopColor="#0b74de" />
|
||||
<stop offset="100%" stopColor="#06b6d4" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
|
||||
{/* Square background */}
|
||||
<rect width="32" height="32" fill="url(#logo-bg)" rx="4" />
|
||||
|
||||
{/* Italic L */}
|
||||
<text
|
||||
x="11"
|
||||
y="22"
|
||||
fontFamily="Inter, Roboto, Arial, sans-serif"
|
||||
fontWeight="700"
|
||||
fontSize="20"
|
||||
fontStyle="italic"
|
||||
fill="#fff"
|
||||
>
|
||||
L
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user