File size: 1,555 Bytes
0914710
 
 
c75f9b4
 
 
 
 
 
 
 
 
 
 
 
0914710
 
 
27d2629
0914710
 
 
 
 
 
 
c75f9b4
 
 
 
 
0914710
 
 
 
 
 
 
 
 
 
 
 
c75f9b4
 
 
 
 
 
0914710
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<template>
  <div class="relative min-h-screen lg:flex">
    <!-- Menubar -->
    <NavBar
      class="hidden portrait:sd:hidden portrait:md:flex landscape:flex"
      style="z-index: 9999;"
      :switchTabDescription="switchTabDescription"
      :switchTabUrl="switchTabUrl"
    />
    <MobileNavBar
      class="flex portrait:sd:flex portrait:md:hidden landscape:hidden"
      style="z-index: 9999;"
      :switchTabDescription="switchTabDescription"
      :switchTabUrl="switchTabUrl"
    />

    <main id="content" class="flex-1 z-1 lg:ml-0 mr-4 overflow-y-auto md:pl-1 lg:h-screen">
      <header class="hidden items-center justify-between h-10 ml-2 landscape:md:flex portrait:sd:flex portrait:md:h-12 bg-gray-200 border-b">
        <h2 class="hidden sd:text-sm ml-2 md:block md:text-2xl">{{ props.pageTitle }}</h2>
      </header>

      <div class="">
        <slot></slot>
      </div>

      <div class="bottom-0 w-full text-black">
        <Footer
          :currentPageUrl="currentPageUrl"
          :aboutThisDescription="aboutThisDescription"
          :aboutThisUrl="aboutThisUrl"
        ></Footer>
      </div>
    </main>
  </div>

</template>

<script setup lang="ts">
import Footer from "@/components/PageFooter.vue"
import NavBar from '@/components/NavBar/NavBar.vue'
import MobileNavBar from '@/components/NavBar/MobileNavBar.vue'

const props = defineProps<{
  aboutThisDescription: string,
  aboutThisUrl: string,
  currentPageUrl: string,
  pageTitle: string,
  switchTabDescription: string,
  switchTabUrl: string
}>()
</script>