Skip to content

Commit

Permalink
fixed logo images favicon , loading
Browse files Browse the repository at this point in the history
  • Loading branch information
YaSh8202 committed Sep 17, 2023
1 parent 66a6f2e commit b7a45c3
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 8 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/docugenius.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tauri + React + TS</title>
<title>DocuGenius</title>
</head>

<body>
Expand Down
36 changes: 36 additions & 0 deletions public/docugenius.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions src/components/auth-middleware.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import useAuthStore from "@/store/authStore";
import { getLoggedInUser } from "@/lib/api";
import { Icons } from "./icons";
import { useQuery } from "@tanstack/react-query";
import logoDark from "@/assets/logo-dark.png";
import logoLight from "@/assets/logo-light.png";

type IAuthMiddleware = {
children: React.ReactElement;
Expand All @@ -23,12 +25,12 @@ const AuthMiddleware: React.FC<IAuthMiddleware> = ({ children }) => {
<div className="h-screen w-screen grid place-content-center ">
<div className="flex flex-col items-center gap-5">
<img
src="/src/assets/logo-dark.png"
src={logoDark}
alt=""
className="h-48 w-48 hidden dark:block"
/>
<img
src="/src/assets/logo-light.png"
src={logoLight}
alt=""
className="h-48 w-48 block dark:hidden"
/>
Expand Down
4 changes: 0 additions & 4 deletions src/pdfjs-dist.d.ts

This file was deleted.

0 comments on commit b7a45c3

Please sign in to comment.