diff --git a/content/1.docs/2.content-translator/1.index.md b/content/1.docs/2.content-translator/1.index.md index 1dbaab4..b093a0a 100644 --- a/content/1.docs/2.content-translator/1.index.md +++ b/content/1.docs/2.content-translator/1.index.md @@ -27,7 +27,7 @@ site/plugins/ │ └─ … All plugin files ``` -### Step 2: Configure DeepL Integration +### Step 2: Configure DeepL By default, this plugin uses the [DeepL API](https://www.deepl.com) to translate your content. However, you can also use any other translation service by defining a [custom translator function](/docs/content-translator/configuration#custom-translator-function). @@ -80,7 +80,7 @@ Click the **Translate** button to translate the content of the freshly imported For mor configuration options, see the [Configuration](/docs/live-preview/configuration) guide. -### Step 4: License Activation +### Step 4: Buy a License You can test the plugin locally. However, you need to purchase a license to use the plugin in a production environment. diff --git a/content/content-translator.yml b/content/content-translator.yml index c706dfa..c2d7a52 100644 --- a/content/content-translator.yml +++ b/content/content-translator.yml @@ -1,6 +1,5 @@ title: Content Translator description: Translate any page in the Panel or programmatically with DeepL. -navigation: false hero: orientation: horizontal headline: diff --git a/content/index.yml b/content/index.yml new file mode 100644 index 0000000..7c808d8 --- /dev/null +++ b/content/index.yml @@ -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 Holistic
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: 'Real-Time
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 diff --git a/content/live-preview.yml b/content/live-preview.yml index a58bf81..c97bf0b 100644 --- a/content/live-preview.yml +++ b/content/live-preview.yml @@ -1,6 +1,5 @@ title: Live Preview description: Real-time preview of unsaved changes right in the Panel. -navigation: false hero: orientation: horizontal headline: diff --git a/nuxt.config.ts b/nuxt.config.ts index 3811d65..8a7a8cf 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -44,14 +44,13 @@ export default defineNuxtConfig({ }, routeRules: { - "/": { redirect: "/live-preview", prerender: false }, "/docs": { redirect: "/docs/live-preview", prerender: false }, }, nitro: { prerender: { crawlLinks: true, - routes: ["/live-preview", "/api/search.json"], + routes: ["/", "/live-preview", "/content-translator", "/api/search.json"], }, }, }); diff --git a/pages/index.vue b/pages/index.vue new file mode 100644 index 0000000..7a2dbef --- /dev/null +++ b/pages/index.vue @@ -0,0 +1,75 @@ + + +