<script setup>
  useHead({
    htmlAttrs: [
      { lang: 'en'}
    ],
    link: [
      { rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },
      { rel: 'icon', sizes: '32x32', href: '/favicon-32x32.png' },
      { rel: 'icon', sizes: '16x16', href: '/favicon-16x16.png' },
      { rel: 'manifest', href: '/site.webmanifest' },
      { rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#5bbad5' },
    ],
    meta: [
      { name: 'msapplication-TileColor', content: '#f59428' },
      { name: 'theme-color', content: '#ffffff' }
    ],
    script: [
      {  defer: 'true', 'data-domain': 'crbtc.org', src: 'https://pa.inspin.io/js/latest.js' }
    ]
  })

  const nuxtApp = useNuxtApp()

  nuxtApp.hook("page:finish", () => {
    window.scrollTo(0, 0)
  })
  
</script>

<template>
  <Header></Header>
  <main>
    <NuxtPage/>
  </main>
  <Footer></Footer>
</template>
