File tree Expand file tree Collapse file tree 3 files changed +228
-12
lines changed Expand file tree Collapse file tree 3 files changed +228
-12
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ onMounted(() => {
48
48
</script >
49
49
50
50
<template >
51
- <UPage class =" relative" >
51
+ <UPage class =" relative overflow-hidden " >
52
52
<UPageHero
53
53
:description =" page?.hero.description"
54
54
orientation =" horizontal"
@@ -118,16 +118,24 @@ onMounted(() => {
118
118
</div >
119
119
</template >
120
120
121
- <img
122
- src =" /images/landing/hero-screenshot-dark.svg"
123
- class =" hidden dark:lg:block absolute right-0 h-[300px] lg:h-[380px] xl:h-[440px] 2xl:h-[540px]"
124
- alt =" NuxtHub Deploy page"
125
- >
126
- <img
127
- src =" /images/landing/hero-screenshot-light.svg"
128
- class =" hidden dark:hidden lg:block absolute right-0 h-[300px] lg:h-[380px] xl:h-[440px] 2xl:h-[540px]"
129
- alt =" NuxtHub Deploy page"
121
+ <UCard
122
+ variant =" soft"
123
+ class =" hidden lg:block max-2xl:absolute border border-(--ui-border-accented) bg-(--ui-bg-accented)/40 max-2xl:-right-30 [--padding-card:--spacing(3)] rounded-[calc(theme(borderRadius.lg)+var(--padding-card))] 2xl:scale-110 2xl:origin-right"
124
+ :ui =" {
125
+ body: 'lg:pl-(--padding-card) lg:pt-(--padding-card) lg:pb-(--padding-card) lg:pr-0 2xl:pr-(--padding-card) rounded-(--padding-card)'
126
+ }"
130
127
>
128
+ <img
129
+ src =" /images/landing/hero-screenshot-dark.svg"
130
+ class =" hidden dark:lg:block size-full object-cover object-left h-[300px] lg:h-[380px] xl:h-[440px] 2xl:h-full"
131
+ alt =" NuxtHub Deploy page"
132
+ >
133
+ <img
134
+ src =" /images/landing/hero-screenshot-light.svg"
135
+ class =" hidden dark:hidden lg:block size-full object-cover object-left h-[300px] lg:h-[380px] xl:h-[440px] 2xl:h-full"
136
+ alt =" NuxtHub Deploy page"
137
+ >
138
+ </UCard >
131
139
132
140
<UModal v-model:open =" videoModalOpen" :ui =" { content: 'sm:max-w-4xl lg:max-w-5xl aspect-[16/9]' }" >
133
141
<template #content >
You can’t perform that action at this time.
0 commit comments