feat(branding): Update project logo and favicon

- Replace default favicon with project-specific logo
- Add new logo image file `logo_xcodereviewer.png`
- Update Header component to use new logo image instead of Code icon
- Modify index.html to reference new logo file with correct MIME type
This commit is contained in:
lintsinghua 2025-10-22 16:57:52 +08:00
parent 65520d1ca1
commit bfd00ae29d
3 changed files with 7 additions and 6 deletions

View File

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
<link rel="icon" type="image/png" href="/logo_xcodereviewer.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>XCodeReviewer</title>
</head>

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

View File

@ -3,8 +3,7 @@ import { Link, useLocation } from "react-router-dom";
import { Button } from "@/components/ui/button";
import {
Menu,
X,
Code
X
} from "lucide-react";
import routes from "@/app/routes";
@ -20,9 +19,11 @@ export default function Header() {
<div className="flex items-center justify-between h-16">
{/* Logo */}
<Link to="/" className="flex items-center space-x-3 group">
<div className="w-9 h-9 bg-gradient-to-r from-blue-600 to-indigo-600 rounded-xl flex items-center justify-center shadow-sm group-hover:shadow-md transition-all">
<Code className="w-5 h-5 text-white" />
</div>
<img
src="/logo_xcodereviewer.png"
alt="XCodeReviewer Logo"
className="w-9 h-9 rounded-xl shadow-sm group-hover:shadow-md transition-all"
/>
<span className="text-xl font-bold text-gray-900 group-hover:text-blue-600 transition-colors">XCodeReviewer</span>
</Link>