Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 18 additions & 10 deletions docs/app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ onMounted(() => {
</script>

<template>
<UPage class="relative">
<UPage class="relative overflow-hidden">
<UPageHero
:description="page?.hero.description"
orientation="horizontal"
Expand Down Expand Up @@ -118,16 +118,24 @@ onMounted(() => {
</div>
</template>

<img
src="/images/landing/hero-screenshot-dark.svg"
class="hidden dark:lg:block absolute right-0 h-[300px] lg:h-[380px] xl:h-[440px] 2xl:h-[540px]"
alt="NuxtHub Deploy page"
>
<img
src="/images/landing/hero-screenshot-light.svg"
class="hidden dark:hidden lg:block absolute right-0 h-[300px] lg:h-[380px] xl:h-[440px] 2xl:h-[540px]"
alt="NuxtHub Deploy page"
<UCard
variant="soft"
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"
:ui="{
body: 'lg:pl-(--padding-card) lg:pt-(--padding-card) lg:pb-(--padding-card) lg:pr-0 2xl:pr-(--padding-card) rounded-(--padding-card)'
}"
>
<img
src="/images/landing/hero-screenshot-dark.svg"
class="hidden dark:lg:block size-full object-cover object-left h-[300px] lg:h-[380px] xl:h-[440px] 2xl:h-full"
alt="NuxtHub Deploy page"
>
<img
src="/images/landing/hero-screenshot-light.svg"
class="hidden dark:hidden lg:block size-full object-cover object-left h-[300px] lg:h-[380px] xl:h-[440px] 2xl:h-full"
alt="NuxtHub Deploy page"
>
</UCard>

<UModal v-model:open="videoModalOpen" :ui="{ content: 'sm:max-w-4xl lg:max-w-5xl aspect-[16/9]' }">
<template #content>
Expand Down
106 changes: 105 additions & 1 deletion docs/public/images/landing/hero-screenshot-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
106 changes: 105 additions & 1 deletion docs/public/images/landing/hero-screenshot-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.