<template>
  <div>
    <!--<q-layout view="lHh Lpr lFf" class="shadow-2 rounded-borders">--->
    <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>

      <app-footer></app-footer>

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