Customizing the Main Logo
The main logo component is located atsrc/components/shared/logo.tsx. You can customize it using one of the following methods.
- Option 1: Inline SVG (Recommended)
- Option 2: SVG as Image File
- Option 3: PNG/JPG as Image File
This is the most flexible method, allowing your logo to dynamically change color with themes (like dark mode).
1
Get Your SVG Code
Open your SVG logo file in a code editor and copy the SVG code.
2
Edit the Logo Component
Open
src/components/shared/logo.tsx and replace the existing <svg>...</svg> element with your code.src/components/shared/logo.tsx
3
Update the Logo Text
In the same file, find the
<span> element containing “Acme” and replace it with your brand’s name.src/components/shared/logo.tsx
Need a new logo?If you don’t have a logo, you can create a simple, professional-looking SVG logo for free using these resources:
- Shapes.gallery: A collection of beautiful, open-source SVG shapes.
- SVG Backgrounds: Various geometric SVG shapes that can be used as a base.
Customizing the Favicon
The favicon is the small icon that appears in the browser tab. The file is located atsrc/app/favicon.ico.
1
Create a Favicon
The easiest way to create a
.ico file is to start with a square image (e.g., a 64x64px PNG) and use a free online converter.Recommended converters:2
Replace the File
Once you have your
favicon.ico file, simply replace the existing file at src/app/favicon.ico with your new one.After replacing the file, restart your development server and clear your browser cache to see the new favicon.