<template>
  <div>
    <q-layout
      view="hHh LpR fFf"
      :class="
        `shadow-2 rounded-borders ` +
        (darkcookie && !finishLoading ? `bg-black` : ``)
      "
    >
      <app-header></app-header>
      <q-ajax-bar></q-ajax-bar>

      <!--<CPreloadImages :arrimg="static_data.preLoadImages">
      </CPreloadImages>-->

      <q-page-container
        id="mypage"
        :class="darkcookie && !finishLoading ? `bg-black` : ``"
      >
        <div v-if="finishLoading">
          <CFirstPageApp></CFirstPageApp>
          <router-view />
        </div>
        <q-inner-loading id="spinner" :showing="!finishLoading">
          <q-spinner-tail color="primary" size="4em"> </q-spinner-tail>
        </q-inner-loading>
      </q-page-container>

      <MyFooter></MyFooter>
    </q-layout>
  </div>
  <BannerCookies urlInfo="/policy"></BannerCookies>
</template>
<script lang="ts" src="./App.ts">
</script>
