-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ab27e5
commit 1c272bd
Showing
6 changed files
with
111 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
title: Kirby Tools | ||
description: A collection of Kirby plugins that empoweres editors and developers alike. | ||
products: | ||
- orientation: vertical | ||
headline: | ||
label: 20% early bird discount | ||
to: /content-translator#pricing | ||
icon: i-ri-discount-percent-fill | ||
title: 'The <span class="text-primary">Holistic</span><br> Content Translation Workflow' | ||
description: Translate content with nested data structures in the Panel or programmatically with DeepL. One page at the time or all at once. | ||
links: | ||
- label: Read More | ||
to: /content-translator | ||
size: xl | ||
color: primary | ||
icon: i-ri-arrow-right-line | ||
trailing: true | ||
video: | ||
path: /vid/kirby-content-translator-demo.mp4 | ||
poster: /vid/kirby-content-translator-demo-poster.jpg | ||
- orientation: vertical | ||
title: '<span class="text-primary">Real-Time</span><br> Page Preview in Your Panel' | ||
description: The Live Preview Panel section shows how your page will look with unsaved changes. It's the plugin content editors and clients have been waiting for. | ||
links: | ||
- label: Read More | ||
to: /live-preview | ||
size: xl | ||
color: primary | ||
icon: i-ri-arrow-right-line | ||
trailing: true | ||
video: | ||
path: /vid/kirby-live-preview-demo.mp4 | ||
poster: /vid/kirby-live-preview-demo-poster.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<script setup lang="ts"> | ||
const { data: page } = await useAsyncData("index", () => | ||
queryContent("/").findOne(), | ||
); | ||
if (!page.value) { | ||
throw createError({ | ||
statusCode: 404, | ||
statusMessage: "Page not found", | ||
fatal: true, | ||
}); | ||
} | ||
useSeoMeta({ | ||
title: page.value.title, | ||
ogTitle: page.value.title, | ||
description: page.value.description, | ||
ogDescription: page.value.description, | ||
}); | ||
defineOgImageComponent("Default", { | ||
title: page.value.title, | ||
description: page.value.description, | ||
}); | ||
</script> | ||
|
||
<template> | ||
<div v-if="page"> | ||
<ULandingHero | ||
v-for="(product, index) of page.products" | ||
:key="index" | ||
:orientation="product.orientation" | ||
:links="product.links" | ||
:class="[index > 0 && '!pt-0']" | ||
> | ||
<template #headline> | ||
<UBadge | ||
v-if="product.headline" | ||
variant="subtle" | ||
size="md" | ||
class="hover:bg-primary-100 dark:bg-primary-950/100 dark:hover:bg-primary-900 relative rounded-full font-medium shadow-none" | ||
> | ||
<NuxtLink | ||
:to="product.headline.to" | ||
class="focus:outline-none" | ||
tabindex="-1" | ||
> | ||
<span class="absolute inset-0" aria-hidden="true" /> | ||
</NuxtLink> | ||
|
||
<span class="flex items-center gap-1"> | ||
<UIcon | ||
v-if="product.headline.icon" | ||
:name="product.headline.icon" | ||
class="pointer-events-none h-4 w-4" | ||
/> | ||
{{ product.headline.label }} | ||
</span> | ||
</UBadge> | ||
</template> | ||
|
||
<template #title> | ||
<span v-html="product.title" /> | ||
</template> | ||
|
||
<template #description> | ||
<span v-html="product.description" /> | ||
</template> | ||
|
||
<template #default> | ||
<ElementVideo v-bind="product.video" /> | ||
</template> | ||
</ULandingHero> | ||
</div> | ||
</template> |