<template>
  <div>
    <q-page
      padding
      class="fit row justify-center content-center items-center"
      v-if="$route.name == mainLink.link"
    >
      <q-card class="col-4" height="">
        <q-card-section>
          {{ mainLink.title }}
        </q-card-section>
      </q-card>
    </q-page>
    <router-view />
  </div>
</template>

<script lang="ts">
import { defineComponent } from '@vue/composition-api';
import { mainLink } from '../plugin';
export default defineComponent({
  // name: 'PageName'
  setup(_, ctx) {
    const a = ctx.root.$flaschengeist_plugins;
    return { a, mainLink };
  }
});
</script>
