fix assets img path from dev to prod

This commit is contained in:
Jordan Blasenhauer 2024-07-02 12:18:19 +02:00
parent 1d4214a3b8
commit b2e43c1b04
21 changed files with 263 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -1,7 +1,9 @@
<script setup>
import { onMounted, reactive, ref } from "vue";
import logoMenu2 from "@public/img/logo-menu-2.png";
// Get assets path
import logo2 from "@assets/img/logo-menu-2.png";
// Change path on PROD removing '/' in order to get the right path
const logoMenu2 = logo2.substring(import.meta.env.DEV ? 0 : 1);
/**
@name Dashboard/Loader.vue
@description This component is a loader used to transition between pages.

View file

@ -1,10 +1,15 @@
<script setup>
import Icons from "@components/Widget/Icons.vue";
import { reactive, onMounted, onBeforeMount } from "vue";
import { reactive, onBeforeMount } from "vue";
import { menuIndex, menuFloatIndex } from "@/utils/tabindex.js";
import { useBannerStore } from "@store/global.js";
import logoMenu2 from "@public/img/logo-menu-2.png";
import logoMenu from "@public/img/logo-menu.png";
// Get assets path
import logo from "@assets/img/logo-menu.png";
import logo2 from "@assets/img/logo-menu-2.png";
// Change path on PROD removing '/' in order to get the right path
const logoMenu = logo.substring(import.meta.env.DEV ? 0 : 1);
const logoMenu2 = logo2.substring(import.meta.env.DEV ? 0 : 1);
/**
@name Dashboard/Menu.vue

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -7,7 +7,7 @@
<link rel="stylesheet" href="css/flag-icons.min.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BunkerWeb | DASHBOARD</title>
<script nonce="{{ script_nonce }}" type="module" crossorigin src="assets/home-b002ec3a.js"></script>
<script nonce="{{ script_nonce }}" type="module" crossorigin src="assets/home-4dedb9c1.js"></script>
</head>
<body>
<div class="hidden" data-csrf-token="{{ csrf_token() }}"></div>