From 7487a0786f8e37f426831fe55d69e8042f588c1e Mon Sep 17 00:00:00 2001 From: Sebastian Fix Date: Thu, 10 Apr 2025 19:27:14 +0800 Subject: [PATCH 1/5] wip --- resources/views/app/contact/index.blade.php | 2 +- .../views/app/legal/imprint/index.blade.php | 2 +- resources/views/app/start/index.blade.php | 5 +++ .../components/docuware-showme.blade.php | 44 +++++++++++++++++++ 4 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 resources/views/components/docuware-showme.blade.php diff --git a/resources/views/app/contact/index.blade.php b/resources/views/app/contact/index.blade.php index 6d54de0..c3a7939 100644 --- a/resources/views/app/contact/index.blade.php +++ b/resources/views/app/contact/index.blade.php @@ -21,7 +21,7 @@ classAttributes="block"/>

CH-4455 Zunzgen

+ label="{{ __('Google Maps') }}" class-attributes="mt-1" target="_blank" rel="noopener noreferrer"> + class-attributes="mt-1" target="_blank" rel="noopener noreferrer"> + + + + + \ No newline at end of file diff --git a/resources/views/components/docuware-showme.blade.php b/resources/views/components/docuware-showme.blade.php new file mode 100644 index 0000000..15cde30 --- /dev/null +++ b/resources/views/components/docuware-showme.blade.php @@ -0,0 +1,44 @@ +@use(App\Enums\LocaleEnum;use Illuminate\Support\Str) +@php + $showme_url = match (app()->getLocale()) { + LocaleEnum::EN->value => 'https://showme.docuware.com/en-gb/interactive-tours', + default => 'https://showme.docuware.com/de/interactive-tours' + }; + $product_url = match (app()->getLocale()) { + LocaleEnum::EN->value => 'https://www.paperflakes.ch/services/en_CH/dms-ecm-docuware', + default => 'https://www.paperflakes.ch/dienstleistungen/de_CH/dms-ecm-docuware' + }; +@endphp + + +
+
+ +

+ Entdecken Sie interaktive Touren rund um intelligente Dokumentenverarbeitung, Rechnungsfreigabe und + Vertragsmanagement. Sehen Sie live, wie DocuWare Prozesse vereinfacht, Fehler reduziert und Ihr Business + effizienter macht. +

+ + +
+ + \ No newline at end of file From c40cf4767d1014e901481649fad89385f5dbbff1 Mon Sep 17 00:00:00 2001 From: Sebastian Fix Date: Thu, 10 Apr 2025 19:33:42 +0800 Subject: [PATCH 2/5] wip --- resources/views/app/products/show.blade.php | 2 ++ resources/views/app/start/index.blade.php | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/app/products/show.blade.php b/resources/views/app/products/show.blade.php index ce207d0..e6cae6f 100644 --- a/resources/views/app/products/show.blade.php +++ b/resources/views/app/products/show.blade.php @@ -7,4 +7,6 @@ + + \ No newline at end of file diff --git a/resources/views/app/start/index.blade.php b/resources/views/app/start/index.blade.php index ba71856..d38f301 100644 --- a/resources/views/app/start/index.blade.php +++ b/resources/views/app/start/index.blade.php @@ -13,8 +13,6 @@ - - - + \ No newline at end of file From b110062fe1afd5b1691a2a19ffdeb16c584d378e Mon Sep 17 00:00:00 2001 From: Sebastian Fix Date: Thu, 10 Apr 2025 19:36:15 +0800 Subject: [PATCH 3/5] wip --- app/Http/Controllers/Products/ProductsShowController.php | 1 + resources/views/app/products/show.blade.php | 5 ++++- resources/views/components/docuware-showme.blade.php | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Products/ProductsShowController.php b/app/Http/Controllers/Products/ProductsShowController.php index d8f581d..1a828ad 100644 --- a/app/Http/Controllers/Products/ProductsShowController.php +++ b/app/Http/Controllers/Products/ProductsShowController.php @@ -20,6 +20,7 @@ public function __invoke(string $locale, Product $product): View 'name' => $product->name, 'teaser' => $product->teaser, 'content' => Str::of($product->content)->markdown(), + 'tags' => $product->tags, ]); } } diff --git a/resources/views/app/products/show.blade.php b/resources/views/app/products/show.blade.php index e6cae6f..34bf521 100644 --- a/resources/views/app/products/show.blade.php +++ b/resources/views/app/products/show.blade.php @@ -7,6 +7,9 @@ - + @if(in_array('DocuWare', $tags)) + + @endif + \ No newline at end of file diff --git a/resources/views/components/docuware-showme.blade.php b/resources/views/components/docuware-showme.blade.php index 15cde30..cf82df4 100644 --- a/resources/views/components/docuware-showme.blade.php +++ b/resources/views/components/docuware-showme.blade.php @@ -1,4 +1,5 @@ @use(App\Enums\LocaleEnum;use Illuminate\Support\Str) + @php $showme_url = match (app()->getLocale()) { LocaleEnum::EN->value => 'https://showme.docuware.com/en-gb/interactive-tours', From 6ee9500c2be42bf585da4114286ddf38379e2ba3 Mon Sep 17 00:00:00 2001 From: Sebastian Fix Date: Thu, 10 Apr 2025 20:18:04 +0800 Subject: [PATCH 4/5] wip --- resources/css/app.css | 2 +- .../components/docuware-showme.blade.php | 9 +++++--- .../components/icon-docuware-arrow.blade.php | 16 ++++++++++++++ .../components/logo-paperflakes.blade.php | 21 ++++++++++++++++++ .../layouts/_partials/_navigation.blade.php | 22 +------------------ tailwind.config.js | 0 6 files changed, 45 insertions(+), 25 deletions(-) create mode 100644 resources/views/components/icon-docuware-arrow.blade.php create mode 100644 resources/views/components/logo-paperflakes.blade.php create mode 100644 tailwind.config.js diff --git a/resources/css/app.css b/resources/css/app.css index ee1f43c..8bc6b27 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -20,4 +20,4 @@ body { font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif; @apply text-gray-800; -} +} \ No newline at end of file diff --git a/resources/views/components/docuware-showme.blade.php b/resources/views/components/docuware-showme.blade.php index cf82df4..a0d3587 100644 --- a/resources/views/components/docuware-showme.blade.php +++ b/resources/views/components/docuware-showme.blade.php @@ -11,8 +11,11 @@ }; @endphp - -
+ + +
+ +

@@ -42,4 +45,4 @@ class="px-4 py-2 border rounded-md text-sm font-medium hover:font-semibold trans

-
\ No newline at end of file + diff --git a/resources/views/components/icon-docuware-arrow.blade.php b/resources/views/components/icon-docuware-arrow.blade.php new file mode 100644 index 0000000..f2d171f --- /dev/null +++ b/resources/views/components/icon-docuware-arrow.blade.php @@ -0,0 +1,16 @@ + + + + + + + \ No newline at end of file diff --git a/resources/views/components/logo-paperflakes.blade.php b/resources/views/components/logo-paperflakes.blade.php new file mode 100644 index 0000000..da264c1 --- /dev/null +++ b/resources/views/components/logo-paperflakes.blade.php @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/views/layouts/_partials/_navigation.blade.php b/resources/views/layouts/_partials/_navigation.blade.php index 4aa0cb3..59ba090 100644 --- a/resources/views/layouts/_partials/_navigation.blade.php +++ b/resources/views/layouts/_partials/_navigation.blade.php @@ -2,27 +2,7 @@ diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..e69de29 From 7d02fec1223366e058517a06bf6878315b43d2f3 Mon Sep 17 00:00:00 2001 From: Sebastian Fix Date: Thu, 10 Apr 2025 20:21:35 +0800 Subject: [PATCH 5/5] wip --- lang/de_CH/components.php | 17 +++++++++++++++++ lang/en_CH/components.php | 15 +++++++++++++++ .../views/components/docuware-showme.blade.php | 10 ++++------ tailwind.config.js | 0 4 files changed, 36 insertions(+), 6 deletions(-) create mode 100644 lang/de_CH/components.php create mode 100644 lang/en_CH/components.php delete mode 100644 tailwind.config.js diff --git a/lang/de_CH/components.php b/lang/de_CH/components.php new file mode 100644 index 0000000..5677919 --- /dev/null +++ b/lang/de_CH/components.php @@ -0,0 +1,17 @@ + [ + 'showme' => [ + 'title' => 'Erleben Sie DocuWare in Aktion', + 'teaser' => 'Entdecken Sie interaktive Touren rund um intelligente Dokumentenverarbeitung, Rechnungsfreigabe und + Vertragsmanagement. Sehen Sie live, wie DocuWare Prozesse vereinfacht, Fehler reduziert und Ihr Business + effizienter macht.', + 'buttons' => [ + 'discover_now' => 'Jetzt entdecken', + 'more' => 'Mehr über DocuWare,', + ], + ], + ], +]; diff --git a/lang/en_CH/components.php b/lang/en_CH/components.php new file mode 100644 index 0000000..768a885 --- /dev/null +++ b/lang/en_CH/components.php @@ -0,0 +1,15 @@ + [ + 'showme' => [ + 'title' => 'Experience DocuWare in Action', + 'teaser' => 'Discover interactive tours focused on intelligent document processing, invoice approval, and contract management. See how DocuWare streamlines processes, reduces errors, and makes your business more efficient.', + 'buttons' => [ + 'discover_now' => 'Discover Now', + 'more' => 'More about DocuWare', + ], + ], + ], +]; diff --git a/resources/views/components/docuware-showme.blade.php b/resources/views/components/docuware-showme.blade.php index a0d3587..b13516d 100644 --- a/resources/views/components/docuware-showme.blade.php +++ b/resources/views/components/docuware-showme.blade.php @@ -17,11 +17,9 @@
- +

- Entdecken Sie interaktive Touren rund um intelligente Dokumentenverarbeitung, Rechnungsfreigabe und - Vertragsmanagement. Sehen Sie live, wie DocuWare Prozesse vereinfacht, Fehler reduziert und Ihr Business - effizienter macht. + {{ __('components.docuware.showme.teaser') }}

@@ -29,7 +27,7 @@ aria-label="Interaktive DocuWare-Tour starten" class="flex items-center justify-center px-4 py-2 rounded-md text-sm font-medium hover:font-semibold transition text-white w-full sm:w-auto focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-[#2E36B4]" style="background-color: #2E36B4;"> - Jetzt entdecken + {{ __('components.docuware.showme.buttons.discover_now') }} - Mehr über DocuWare + {{ __('components.docuware.showme.buttons.more') }}
diff --git a/tailwind.config.js b/tailwind.config.js deleted file mode 100644 index e69de29..0000000