From fdb912d27b4bf9b1c394710738ddb41b14bd1c83 Mon Sep 17 00:00:00 2001 From: alexZ7000 <78627928+alexZ7000@users.noreply.github.com> Date: Mon, 26 Aug 2024 21:35:20 -0300 Subject: [PATCH] fix(Assets): changing assets to Assets to fix gh-pages problem --- src/app/{assets => Assets}/react-git-logo-black.png | Bin src/app/{assets => Assets}/react-git-logo-white.png | Bin src/app/{assets => Assets}/react.svg | 0 src/app/{assets => Assets}/warning.png | Bin src/app/web/components/Generic/Navbar.tsx | 4 ++-- src/app/web/screens/Error404.tsx | 2 +- vite.config.ts | 2 +- 7 files changed, 4 insertions(+), 4 deletions(-) rename src/app/{assets => Assets}/react-git-logo-black.png (100%) rename src/app/{assets => Assets}/react-git-logo-white.png (100%) rename src/app/{assets => Assets}/react.svg (100%) rename src/app/{assets => Assets}/warning.png (100%) diff --git a/src/app/assets/react-git-logo-black.png b/src/app/Assets/react-git-logo-black.png similarity index 100% rename from src/app/assets/react-git-logo-black.png rename to src/app/Assets/react-git-logo-black.png diff --git a/src/app/assets/react-git-logo-white.png b/src/app/Assets/react-git-logo-white.png similarity index 100% rename from src/app/assets/react-git-logo-white.png rename to src/app/Assets/react-git-logo-white.png diff --git a/src/app/assets/react.svg b/src/app/Assets/react.svg similarity index 100% rename from src/app/assets/react.svg rename to src/app/Assets/react.svg diff --git a/src/app/assets/warning.png b/src/app/Assets/warning.png similarity index 100% rename from src/app/assets/warning.png rename to src/app/Assets/warning.png diff --git a/src/app/web/components/Generic/Navbar.tsx b/src/app/web/components/Generic/Navbar.tsx index 22a8b03..59a6bc9 100644 --- a/src/app/web/components/Generic/Navbar.tsx +++ b/src/app/web/components/Generic/Navbar.tsx @@ -1,5 +1,5 @@ -import WhiteLogo from "@assets/react-git-logo-white.png"; // import usando alias -import DarkLogo from "../../../assets/react-git-logo-black.png"; // import sem usar alias +import WhiteLogo from "../../../Assets/react-git-logo-white.png"; // import usando alias +import DarkLogo from "../../../Assets/react-git-logo-black.png"; // import sem usar alias import { useThemeDetector } from "@functions/ThemeDetector.ts"; import { NavLink, useNavigate } from "react-router-dom"; import { navbarProperties } from "@constants/NavbarProperties.ts"; diff --git a/src/app/web/screens/Error404.tsx b/src/app/web/screens/Error404.tsx index fdff443..fd89ebe 100644 --- a/src/app/web/screens/Error404.tsx +++ b/src/app/web/screens/Error404.tsx @@ -1,4 +1,4 @@ -import warning from "@assets/warning.png"; +import warning from "../../Assets/warning.png"; export default function Error404() { return ( diff --git a/vite.config.ts b/vite.config.ts index b90ead3..6bf103e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -44,7 +44,7 @@ export default defineConfig({ "@components": "/src/app/web/components", "@screens": "/src/app/web/screens", "@routes": "/src/app/web/routes", - "@assets": "/src/app/assets", + "@assets": "/src/app/Assets", "@styles": "/src/app/web/styles", "@constants": "/src/app/utils/constants", "@integrations": "/src/@clean/integrations/modules",