fix footer and removed one component
This commit is contained in:
parent
8a9a900fec
commit
d72ee98e89
|
|
@ -3,10 +3,12 @@
|
||||||
<div class="flex gap-0.5 justify-end h-full">
|
<div class="flex gap-0.5 justify-end h-full">
|
||||||
<span class="h-fit my-auto text-[13px]">
|
<span class="h-fit my-auto text-[13px]">
|
||||||
<span style="font-family: sans-serif" class="font-bold">©</span>
|
<span style="font-family: sans-serif" class="font-bold">©</span>
|
||||||
2025, Mavorion Systems. All rights reserved.
|
{{ dateYear }}, Mavorion Systems. All rights reserved.
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup></script>
|
<script lang="ts" setup>
|
||||||
|
const dateYear = new Date().getFullYear();
|
||||||
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -60,11 +60,6 @@ const authChildren: Array<RouteRecordRaw> = [
|
||||||
name: "loader",
|
name: "loader",
|
||||||
component: () => import("@/views/Components/Loader.vue"),
|
component: () => import("@/views/Components/Loader.vue"),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: "image-cropper",
|
|
||||||
name: "image-cropper",
|
|
||||||
component: () => import("@/views/Components/ImageCropper.vue"),
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<template>
|
|
||||||
<button class="btn btn-primary" @click="showModal = true">Open Modal</button>
|
|
||||||
<UploadImage :show="showModal" @onClose="showModal = false" @onCrop="handleCrop" :uploadSize="2" />
|
|
||||||
<img :src="croppedImageVal" alt="" />
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script setup lang="ts">
|
|
||||||
import { UploadImage } from "dolphin-components";
|
|
||||||
import { ref } from "vue";
|
|
||||||
|
|
||||||
const showModal = ref(false);
|
|
||||||
const croppedImageVal = ref("");
|
|
||||||
|
|
||||||
const handleCrop = (croppedImage: string) => {
|
|
||||||
croppedImageVal.value = croppedImage;
|
|
||||||
console.log("Cropped Image:", croppedImage);
|
|
||||||
showModal.value = false;
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
Loading…
Reference in New Issue
Block a user