Add logo, cleanup LuPa stuff

This commit is contained in:
Igor Barcik 2023-10-27 15:24:01 +02:00
parent 961bac2b0e
commit d8527377c8
Signed by: biggy
GPG Key ID: EA4CE0D1E2A6DC98
7 changed files with 2668 additions and 78 deletions

View File

@ -4,6 +4,8 @@
Toolstack for my UI projects. I try to use `bun`. Toolstack for my UI projects. I try to use `bun`.
> It was challenging stuff to configure, but now it works like a charm... I think. > It was challenging stuff to configure, but now it works like a charm... I think.
<img style="width: 256px; height: 256px; margin-left: 50%; translate: -50%;" src="lupa2Logo.webp"/>
Used technologies: Used technologies:
| Name | Description | | Name | Description |

BIN
bun.lockb

Binary file not shown.

View File

@ -1,10 +0,0 @@
{
"folders": [
{
"path": "."
}
],
"settings": {
"typescript.tsdk": "node_modules/typescript/lib"
}
}

BIN
lupa2Logo.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -13,7 +13,7 @@
"@hookform/resolvers": "^3.3.2", "@hookform/resolvers": "^3.3.2",
"@radix-ui/react-icons": "^1.3.0", "@radix-ui/react-icons": "^1.3.0",
"@types/react-router-dom": "^5.3.3", "@types/react-router-dom": "^5.3.3",
"axios": "^1.5.1", "axios": "^1.6.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-hook-form": "^7.47.0", "react-hook-form": "^7.47.0",
@ -23,24 +23,24 @@
}, },
"devDependencies": { "devDependencies": {
"@tailwindcss/typography": "^0.5.10", "@tailwindcss/typography": "^0.5.10",
"@types/node": "^20.8.6", "@types/node": "^20.8.9",
"@types/react": "^18.2.28", "@types/react": "^18.2.33",
"@types/react-dom": "^18.2.13", "@types/react-dom": "^18.2.14",
"@types/uuid": "^9.0.5", "@types/uuid": "^9.0.6",
"@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.8.0", "@typescript-eslint/parser": "^6.9.0",
"@vitejs/plugin-react": "^4.1.0", "@vitejs/plugin-react": "^4.1.0",
"autoprefixer": "^10.4.16", "autoprefixer": "^10.4.16",
"daisyui": "^3.9.3", "daisyui": "^3.9.3",
"eslint": "^8.51.0", "eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0", "eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1", "eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3", "eslint-plugin-react-refresh": "^0.4.3",
"postcss": "^8.4.31", "postcss": "^8.4.31",
"prettier": "^3.0.3", "prettier": "^3.0.3",
"tailwindcss": "^3.3.3", "tailwindcss": "^3.3.5",
"typescript": "^5.2.2", "typescript": "^5.2.2",
"vite": "^4.4.11" "vite": "^4.5.0"
} }
} }

2656
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -3,20 +3,12 @@ import { Suspense, lazy } from "react";
import { RouteObject } from "react-router-dom"; import { RouteObject } from "react-router-dom";
import Loader from "./components/Loader"; import Loader from "./components/Loader";
import AboutPage from "./features/About/AboutPage"; import AboutPage from "./features/About/AboutPage";
import PersonManager from "./features/Administration/PersonManager";
import App from "./features/App/App"; import App from "./features/App/App";
import LoginPage from "./features/Login/LoginPage"; import LoginPage from "./features/Login/LoginPage";
import { flatternRoutingTable } from "./utils/RoutingTableUtils"; import { flatternRoutingTable } from "./utils/RoutingTableUtils";
import AssetManagement from "./features/Administration/AssetManagement";
import Debugger from "./features/Debugger"; import Debugger from "./features/Debugger";
//---- //----
const AdministrationLazy = lazy(
() => import("./features/Administration/Administration"),
);
const HomePageLazy = lazy(() => import("./features/Home/HomePage")); const HomePageLazy = lazy(() => import("./features/Home/HomePage"));
const MaintenanceLazy = lazy(
() => import("./features/Maintenance/Maintenance"),
);
export const viteEnv = import.meta.env; export const viteEnv = import.meta.env;
@ -49,56 +41,6 @@ export const navigation: CustomRouteObject[] = [
disableBreadcrumbBar: false, disableBreadcrumbBar: false,
}, },
}, },
{
path: "maintenance",
element: (
<Suspense fallback={<Loader />}>
<MaintenanceLazy />
</Suspense>
),
additionalProps: {
name: "Maintenance",
disableRedirect: false,
disableInNavbar: false,
disableBreadcrumbBar: false,
},
},
{
path: "administration",
element: (
<Suspense fallback={<Loader />}>
<AdministrationLazy />
</Suspense>
),
additionalProps: {
name: "Administration",
disableRedirect: false,
disableInNavbar: false,
disableBreadcrumbBar: false,
},
children: [
{
path: "asset_management/:state?/:id?",
element: <AssetManagement />,
additionalProps: {
name: "Asset Management",
disableRedirect: false,
disableInNavbar: false,
disableBreadcrumbBar: false,
},
},
{
path: "person_management",
element: <PersonManager />,
additionalProps: {
name: "Person Management",
disableRedirect: false,
disableInNavbar: false,
disableBreadcrumbBar: false,
},
},
],
},
// about page // about page
{ {
path: "about", path: "about",