forked from nuxt/movies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
53 lines (50 loc) · 1.21 KB
/
app.vue
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
53
<script setup>
import '@unocss/reset/tailwind.css'
useHead({
htmlAttrs: {
lang: 'en',
},
charset: 'utf-8',
title: 'Nuxt Movies',
titleTemplate: title => title !== 'Nuxt Movies' ? `${title} · Nuxt Movies` : title,
meta: [
{ name: 'description', content: 'A TMDB client built with Nuxt Image to show the potential of it ✨' },
{ property: 'og:image', content: 'https://movies.nuxt.space/social-card.png' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:site', content: '@nuxt_js' },
{ name: 'twitter:creator', content: '@nuxt_js' },
],
link: [
{
rel: 'icon',
type: 'image/webp',
href: '/movies.webp',
},
],
})
</script>
<template>
<NuxtLoadingIndicator />
<div
h-full w-full font-sans
grid="~ lt-lg:rows-[1fr_max-content] lg:cols-[max-content_1fr]"
of-hidden view-transition-app transition duration-0
>
<div id="app-scroller" of-x-hidden of-y-auto relative>
<NuxtPage />
</div>
<NavBar lg:order-first />
<IframeModal />
<PhotoModal />
</div>
</template>
<style>
html, body , #__nuxt{
height: 100vh;
margin: 0;
padding: 0;
background: #111;
color: white;
color-scheme: dark;
}
</style>