|
| 1 | +@use(App\Enums\LocaleEnum;use Illuminate\Support\Str) |
| 2 | +
|
| 3 | +@php |
| 4 | + $showme_url = match (app()->getLocale()) { |
| 5 | + LocaleEnum::EN->value => 'https://showme.docuware.com/en-gb/interactive-tours', |
| 6 | + default => 'https://showme.docuware.com/de/interactive-tours' |
| 7 | + }; |
| 8 | + $product_url = match (app()->getLocale()) { |
| 9 | + LocaleEnum::EN->value => 'https://www.paperflakes.ch/services/en_CH/dms-ecm-docuware', |
| 10 | + default => 'https://www.paperflakes.ch/dienstleistungen/de_CH/dms-ecm-docuware' |
| 11 | + }; |
| 12 | +@endphp |
| 13 | +
|
| 14 | +<x-section class-attributes="relative isolate bg-gray-100 overflow-hidden"> |
| 15 | +
|
| 16 | + <div class="absolute -top-32 -left-20 -z-10 h-[30rem] w-[30rem] rounded-full bg-[#2E36B4] opacity-10 blur-[120px]"></div> |
| 17 | +
|
| 18 | + <section class="relative z-10 flex flex-col md:flex-row items-center justify-between gap-10 p-6 md:p-12"> |
| 19 | + <div class="w-full"> |
| 20 | + <x-h2 :title="__('components.docuware.showme.title')"/> |
| 21 | + <p class="text-gray-700 text-base md:text-lg mb-6"> |
| 22 | + {{ __('components.docuware.showme.teaser') }} |
| 23 | + </p> |
| 24 | +
|
| 25 | + <div class="flex flex-col sm:flex-row gap-2 text-center"> |
| 26 | + <a href="{{ $showme_url }}" target="_blank" rel="noopener noreferrer" |
| 27 | + aria-label="Interaktive DocuWare-Tour starten" |
| 28 | + 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]" |
| 29 | + style="background-color: #2E36B4;"> |
| 30 | + {{ __('components.docuware.showme.buttons.discover_now') }} |
| 31 | + <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" |
| 32 | + stroke="currentColor" class="ml-1 w-4 h-4"> |
| 33 | + <path stroke-linecap="round" stroke-linejoin="round" |
| 34 | + d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"/> |
| 35 | + </svg> |
| 36 | + </a> |
| 37 | +
|
| 38 | + <a href="{{ $product_url }}" rel="noopener noreferrer" |
| 39 | + class="px-4 py-2 border rounded-md text-sm font-medium hover:font-semibold transition w-full sm:w-auto focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-[#2E36B4]" |
| 40 | + style="background-color: white; color: #2E36B4; border-color: #2E36B4;"> |
| 41 | + {{ __('components.docuware.showme.buttons.more') }} |
| 42 | + </a> |
| 43 | + </div> |
| 44 | + </div> |
| 45 | + </section> |
| 46 | +</x-section> |
0 commit comments