mirror of
https://github.com/idanoo/autobrr
synced 2025-07-25 17:59:14 +00:00
feat(web): use svg logo instead of png (#970)
* add fonts files to workbox * remove logo.png and touches manifest assets * install vite-plugin-svgr to import svg as react components * move logo.svg from public to src * replace logo.png to logo.svg --------- Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
This commit is contained in:
parent
c361f23139
commit
32ffc875b0
12 changed files with 215 additions and 45 deletions
|
@ -9,7 +9,7 @@ import { useNavigate } from "react-router-dom";
|
|||
|
||||
import { APIClient } from "@api/APIClient";
|
||||
import { TextField, PasswordField } from "@components/inputs";
|
||||
import logo from "@app/logo.png";
|
||||
import { ReactComponent as Logo } from "@app/logo.svg";
|
||||
|
||||
interface InputValues {
|
||||
username: string;
|
||||
|
@ -46,7 +46,7 @@ export const Onboarding = () => {
|
|||
return (
|
||||
<div className="min-h-screen flex flex-col justify-center py-12 sm:px-6 lg:px-8">
|
||||
<div className="sm:mx-auto sm:w-full sm:max-w-md mb-6">
|
||||
<img className="mx-auto h-12 w-auto" src={logo} alt="logo"/>
|
||||
<Logo className="mx-auto h-12" />
|
||||
<h1 className="text-center text-gray-900 dark:text-gray-200 font-bold pt-2 text-2xl">
|
||||
autobrr
|
||||
</h1>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue