mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2025-12-08 20:46:44 +03:00
Replace logo in LoginForm, SignupForm, and Header components with light and dark mode images
This commit is contained in:
BIN
.github/assets/logo-no-bg.png
vendored
Normal file
BIN
.github/assets/logo-no-bg.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
@@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src=".github/assets/logo.png" alt="Gitea Mirror Logo" width="120" />
|
<img src=".github/assets/logo-no-bg.png" alt="Gitea Mirror Logo" width="120" />
|
||||||
<h1>Gitea Mirror</h1>
|
<h1>Gitea Mirror</h1>
|
||||||
<p><i>A modern web app for automatically mirroring repositories from GitHub to your self-hosted Gitea.</i></p>
|
<p><i>A modern web app for automatically mirroring repositories from GitHub to your self-hosted Gitea.</i></p>
|
||||||
<p align="center">
|
<p align="center">
|
||||||
|
|||||||
16
public/logo-dark.svg
Normal file
16
public/logo-dark.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 13 KiB |
16
public/logo-light.svg
Normal file
16
public/logo-light.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 13 KiB |
200
public/logo.svg
200
public/logo.svg
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 13 KiB |
@@ -60,7 +60,16 @@ export function LoginForm() {
|
|||||||
<Card className="w-full max-w-md">
|
<Card className="w-full max-w-md">
|
||||||
<CardHeader className="text-center">
|
<CardHeader className="text-center">
|
||||||
<div className="flex justify-center mb-4">
|
<div className="flex justify-center mb-4">
|
||||||
<img src="/logo.svg" alt="Gitea Mirror" className="h-10 w-10" />
|
<img
|
||||||
|
src="/logo-light.svg"
|
||||||
|
alt="Gitea Mirror Logo"
|
||||||
|
className="h-10 w-10 dark:hidden"
|
||||||
|
/>
|
||||||
|
<img
|
||||||
|
src="/logo-dark.svg"
|
||||||
|
alt="Gitea Mirror Logo"
|
||||||
|
className="h-10 w-10 hidden dark:block"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<CardTitle className="text-2xl">Gitea Mirror</CardTitle>
|
<CardTitle className="text-2xl">Gitea Mirror</CardTitle>
|
||||||
<CardDescription>
|
<CardDescription>
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { Button } from '@/components/ui/button';
|
import { Button } from '@/components/ui/button';
|
||||||
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '@/components/ui/card';
|
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '@/components/ui/card';
|
||||||
import { GitMerge } from 'lucide-react';
|
|
||||||
import { toast, Toaster } from 'sonner';
|
import { toast, Toaster } from 'sonner';
|
||||||
import { showErrorToast } from '@/lib/utils';
|
import { showErrorToast } from '@/lib/utils';
|
||||||
|
|
||||||
@@ -66,7 +65,16 @@ export function SignupForm() {
|
|||||||
<Card className="w-full max-w-md">
|
<Card className="w-full max-w-md">
|
||||||
<CardHeader className="text-center">
|
<CardHeader className="text-center">
|
||||||
<div className="flex justify-center mb-4">
|
<div className="flex justify-center mb-4">
|
||||||
<GitMerge className="h-10 w-10" />
|
<img
|
||||||
|
src="/logo-light.svg"
|
||||||
|
alt="Gitea Mirror Logo"
|
||||||
|
className="h-10 w-10 dark:hidden"
|
||||||
|
/>
|
||||||
|
<img
|
||||||
|
src="/logo-dark.svg"
|
||||||
|
alt="Gitea Mirror Logo"
|
||||||
|
className="h-10 w-10 hidden dark:block"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<CardTitle className="text-2xl">Create Admin Account</CardTitle>
|
<CardTitle className="text-2xl">Create Admin Account</CardTitle>
|
||||||
<CardDescription>
|
<CardDescription>
|
||||||
|
|||||||
@@ -64,7 +64,16 @@ export function Header({ currentPage, onNavigate }: HeaderProps) {
|
|||||||
}}
|
}}
|
||||||
className="flex items-center gap-2 py-1 hover:opacity-80 transition-opacity"
|
className="flex items-center gap-2 py-1 hover:opacity-80 transition-opacity"
|
||||||
>
|
>
|
||||||
<img src="/logo.svg" alt="Gitea Mirror" className="h-6 w-6" />
|
<img
|
||||||
|
src="/logo-light.svg"
|
||||||
|
alt="Gitea Mirror Logo"
|
||||||
|
className="h-6 w-6 dark:hidden"
|
||||||
|
/>
|
||||||
|
<img
|
||||||
|
src="/logo-dark.svg"
|
||||||
|
alt="Gitea Mirror Logo"
|
||||||
|
className="h-6 w-6 hidden dark:block"
|
||||||
|
/>
|
||||||
<span className="text-xl font-bold">Gitea Mirror</span>
|
<span className="text-xl font-bold">Gitea Mirror</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user