Files
mathew/frontend/app/pages/graph.vue
Aran Roig 68b74eb60b
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 24s
Graph calculator improvmentes
2026-10-02 14:53:00 +02:00

26 lines
860 B
Vue

<script setup lang="ts">
/* The link map's own address. Usually the map fills the page here; but when
the book has this page open — laid on it from the search popup, beside the
open articles — the pane holds the instance, and this host says nothing
over it (the way the article route lets the book draw its pages). */
/* matches the home page's transition so the two surfaces slide past
each other the way the reader does (see main.scss) */
definePageMeta({ transition: { name: 'page', mode: 'out-in' } })
const route = useRoute()
const { t } = useI18n()
const { tabs } = useArticleTabs()
const heldByBook = computed(() => tabAt(tabs.value, route.path)?.tool != null)
useSeoMeta({
title: () => t('graph.metaTitle'),
description: () => t('graph.metaDescription'),
})
</script>
<template>
<GraphStage v-if="!heldByBook" />
</template>