fixing path
This commit is contained in:
parent
3a1e6e1997
commit
0fdc351141
3 changed files with 9 additions and 9 deletions
|
|
@ -2,12 +2,12 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<link rel="icon" href="./favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>HRMS - Landing Page</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
<script type="module" src="./src/main.ts"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ import screen2 from "@/assets/screen2.png";
|
|||
import screen3 from "@/assets/screen3.png";
|
||||
import screen4 from "@/assets/screen4.png";
|
||||
|
||||
import assetSso from "@/assets/sso.png";
|
||||
import line2 from "@/assets/line2.png";
|
||||
|
||||
import type { DateCards } from "@/interface/index/Main";
|
||||
|
||||
const $q = useQuasar();
|
||||
|
|
@ -190,7 +193,7 @@ onMounted(async () => {
|
|||
}
|
||||
})
|
||||
.catch((err: any) => {
|
||||
router.push("/sso");
|
||||
// window.location.href = `${config.API.URL_SSO}`;
|
||||
});
|
||||
|
||||
getName();
|
||||
|
|
@ -200,18 +203,14 @@ onMounted(async () => {
|
|||
<template>
|
||||
<!-- Background Image -->
|
||||
<div class="bg-img h-50 fixed-top" style="z-index: -1">
|
||||
<img
|
||||
alt=""
|
||||
src="https://bma-sso.frappet.synology.me/images/line2.png"
|
||||
class="img_absolute_line"
|
||||
/>
|
||||
<img alt="" :src="line2" class="img_absolute_line" />
|
||||
</div>
|
||||
|
||||
<div class="row justify-center">
|
||||
<div class="col-md-8 col-sm-12">
|
||||
<q-toolbar style="padding: 0px">
|
||||
<div class="row items-center q-py-sm">
|
||||
<q-img src="@/assets/sso.png" style="width: 80px" />
|
||||
<q-img :src="assetSso" style="width: 80px" />
|
||||
|
||||
<div class="text-white q-ml-md" v-if="$q.screen.gt.md">
|
||||
<div class="text-grey-5 text-caption text-left">
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ import { VitePWA } from 'vite-plugin-pwa'
|
|||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
base: './', // Ensures relative paths
|
||||
plugins: [
|
||||
vue({
|
||||
template: { transformAssetUrls },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue