Skip to content

Commit

Permalink
fixed logo image
Browse files Browse the repository at this point in the history
  • Loading branch information
YaSh8202 committed Sep 13, 2023
1 parent 816f78a commit 1b312f7
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 17 deletions.
Binary file added src-tauri/icons/256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src-tauri/icons/docugenius-128X128.png
Binary file not shown.
Binary file removed src-tauri/icons/docugenius-32X32.png
Binary file not shown.
6 changes: 3 additions & 3 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"targets": "all",
"identifier": "com.pdf.ai",
"icon": [
"icons/docugenius-32X32.png",
"icons/docugenius-128X128.png",
"icons/128x128@2x.png",
"32X32.png",
"128X128.png",
"256x256.png",
"icons/icon.icns",
"icons/icon.ico"
]
Expand Down
20 changes: 6 additions & 14 deletions src/routes/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { UserAuthForm } from "@/components/user-auth-form";
import loginImage from "@/assets/login-image2.jpg";
import { useEffect, useState } from "react";
import useAuthStore from "@/store/authStore";
import logoDark from "@/assets/logo-dark.png";
import logoLight from "@/assets/logo-light.png";

// const loggedIn = false;

Expand Down Expand Up @@ -39,20 +41,10 @@ export default function AuthenticationPage() {
{showLogin ? "Sign Up" : "Login"}
</Button>
<div
className={
"absolute block lg:hidden left-4 top-2 md:left-4 md:top-4"
}
className={"absolute block lg:hidden left-4 top-2 md:left-4 md:top-4"}
>
<img
src="/src/assets/logo-dark.png"
alt=""
className="h-16 w-16 hidden dark:block"
/>
<img
src="/src/assets/logo-light.png"
alt=""
className="h-16 w-16 block dark:hidden"
/>
<img src={logoDark} alt="" className="h-16 w-16 hidden dark:block" />
<img src={logoLight} alt="" className="h-16 w-16 block dark:hidden" />
</div>
<div className="relative hidden h-full flex-col bg-muted p-10 text-white dark:border-r lg:flex">
<div
Expand All @@ -73,7 +65,7 @@ export default function AuthenticationPage() {
/> */}
</div>
<div className="relative z-20 flex flex-col items-center text-lg font-medium justify-center h-[60vh] ">
<img src="/src/assets/logo-dark.png" alt="" className="h-48 w-48" />
<img src={logoDark} alt="" className="h-48 w-48" />
<p className="text-4xl font-bold">DocuGenius</p>
</div>
<div className="relative z-20 mt-auto">
Expand Down

0 comments on commit 1b312f7

Please sign in to comment.