feat: add more pages

This commit is contained in:
Ron
2025-03-14 02:10:03 +02:00
parent 6dd9559b0f
commit 9c54174f9d
10 changed files with 229 additions and 19 deletions

View File

@@ -1,5 +1,9 @@
<script lang="ts" setup>
definePageMeta({
redirect: "/dashboard/site",
});
const tags = usePortalTags();
onBeforeMount(() =>
navigateTo(
toValue(tags).interest ? "/dashboard/interest-analytics" : "/dashboard/site"
)
);
</script>

View File

@@ -0,0 +1,31 @@
<template>
<div class="embed">
<iframe
src="https://flows.portnimara.com/public/dashboards/rLjObZdvDrRCLO8OvI7Bi3Wlmc2S7aFLsnt8B8Rd?org_slug=default"
/>
</div>
</template>
<script lang="ts" setup>
useHead({
title: "Analytics",
});
</script>
<style scoped>
.embed {
position: relative;
overflow: hidden;
width: 100%;
height: 100vh;
}
.embed iframe {
position: absolute;
width: 100%;
height: calc(100% + 180px);
border: 0;
top: 0;
left: 0;
}
</style>

View File

@@ -0,0 +1,30 @@
<template>
<div class="embed">
<iframe
src="https://database.portnimara.com/dashboard/#/nc/gallery/3553e50d-5882-46ea-99e2-4542a1d92ef4"
/>
</div>
</template>
<script lang="ts" setup>
useHead({
title: "Berth List",
});
</script>
<style scoped>
.embed {
position: relative;
overflow: hidden;
width: 100%;
height: 100vh;
}
.embed iframe {
width: 100%;
height: calc(100% + 46px);
border: 0;
position: absolute;
top: -46px;
}
</style>

View File

@@ -0,0 +1,30 @@
<template>
<div class="embed">
<iframe
src="https://database.portnimara.com/dashboard/#/nc/kanban/b695ec72-2af5-4d13-a73f-9c72cd223680"
/>
</div>
</template>
<script lang="ts" setup>
useHead({
title: "Berth Status",
});
</script>
<style scoped>
.embed {
position: relative;
overflow: hidden;
width: 100%;
height: 100vh;
}
.embed iframe {
width: 100%;
height: calc(100% + 46px);
border: 0;
position: absolute;
top: -46px;
}
</style>

View File

@@ -0,0 +1,30 @@
<template>
<div class="embed">
<iframe
src="https://database.portnimara.com/dashboard/#/nc/view/ebf570e4-8329-424d-a43d-a775d2169ffc"
/>
</div>
</template>
<script lang="ts" setup>
useHead({
title: "Interest List",
});
</script>
<style scoped>
.embed {
position: relative;
overflow: hidden;
width: 100%;
height: 100vh;
}
.embed iframe {
width: 100%;
height: calc(100% + 46px);
border: 0;
position: absolute;
top: -46px;
}
</style>

View File

@@ -0,0 +1,30 @@
<template>
<div class="embed">
<iframe
src="https://database.portnimara.com/dashboard/#/nc/kanban/2fe9125c-9051-4b49-93ff-745159528425"
/>
</div>
</template>
<script lang="ts" setup>
useHead({
title: "Interest Status",
});
</script>
<style scoped>
.embed {
position: relative;
overflow: hidden;
width: 100%;
height: 100vh;
}
.embed iframe {
width: 100%;
height: calc(100% + 46px);
border: 0;
position: absolute;
top: -46px;
}
</style>