forked from zackha/nuxtcommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
46 lines (43 loc) · 1.07 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
<script setup lang="ts">
const { siteName } = useAppConfig();
useHead({
htmlAttrs: {
lang: 'en',
},
title: siteName,
meta: [
{ name: 'description', content: 'NuxtCommerce is a dynamic e-commerce solution developed with Nuxt 3 and GraphQL, tailored for WooCommerce.' },
{ property: 'og:image', content: 'https://commerce.nuxt.dev/social-card.jpg' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:site', content: '@zhatlen' },
{ name: 'twitter:creator', content: '@zhatlen' },
],
});
</script>
<template>
<AppHeader />
<div class="pt-[72px] lg:pt-20 min-h-[calc(100vh-72px)]">
<NuxtPage />
</div>
<AppFooter />
</template>
<style lang="postcss">
.dark {
@apply bg-black text-neutral-100;
color-scheme: dark;
}
.dropdown-enter-active {
@apply transition duration-200 ease-out;
}
.dropdown-enter-from,
.dropdown-leave-to {
@apply translate-y-5 opacity-0;
}
.dropdown-enter-to,
.dropdown-leave-from {
@apply transform opacity-100;
}
.dropdown-leave-active {
@apply transition duration-150 ease-in;
}
</style>