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/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/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/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"> + @if(in_array('DocuWare', $tags)) + + @endif + + \ 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 a810680..d38f301 100644 --- a/resources/views/app/start/index.blade.php +++ b/resources/views/app/start/index.blade.php @@ -12,4 +12,7 @@ @endforeach + + + \ 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..b13516d --- /dev/null +++ b/resources/views/components/docuware-showme.blade.php @@ -0,0 +1,46 @@ +@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 + + + +
+ +
+ +
+ 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 @@
- - - - - - - - - - - - - - +