1- @use (App \Enums \LocaleEnum ;use Illuminate\Support\ Str )
1+ @use (App \Enums \LocaleEnum ;use Illuminate\Support\Facades\ Config ; use Illuminate\Support\ Str )
22
33@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
4+ $display = Config:: get (' seeder.seeder.paperflakes' );
135
14- <x -section class -attributes ="relative isolate bg -gray -100 overflow -hidden ">
6+ $showme_url = match (app ()-> getLocale ()) {
7+ LocaleEnum:: EN -> value => ' https://showme.docuware.com/en-gb/interactive-tours' ,
8+ default => ' https://showme.docuware.com/de/interactive-tours'
9+ };
1510
16- <div class ="absolute -top -32 -left -20 -z -10 h -[30rem ] w -[30rem ] rounded -full bg -[# 2E36B4] opacity-10 blur-[120px]"></div>
11+ $product_url = match (app ()-> getLocale ()) {
12+ LocaleEnum:: EN -> value => ' https://www.paperflakes.ch/services/en_CH/dms-ecm-docuware' ,
13+ default => ' https://www.paperflakes.ch/dienstleistungen/de_CH/dms-ecm-docuware'
14+ };
15+ @endphp
1716
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 >
17+ @if ($display )
18+ <x -section class -attributes ="relative isolate bg -gray -100 overflow -hidden ">
19+ <div class ="absolute -top -32 -left -20 -z -10 h -[30rem ] w -[30rem ] rounded -full bg -[# 2E36B4] opacity-10 blur-[120px]"></div>
20+ <section class ="relative z -10 flex flex -col md :flex -row items -center justify -between gap -10 p -6 md :p -12">
21+ <div class ="w -full ">
22+ <x -h2 :title ="__ ('components .docuware .showme .title ')"/>
23+ <p class ="text -gray -700 text -base md :text -lg mb -6">
24+ {{ __ ('components .docuware .showme .teaser ') }}
25+ < / p >
2426
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 >
27+ < div class = " flex flex-col sm:flex-row gap-2 text-center" >
28+ < a href = " {{ $showme_url } }" target = " _blank" rel = " noopener noreferrer"
29+ aria - label = " Interaktive DocuWare-Tour starten"
30+ 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]"
31+ style = " background-color: #2E36B4;" >
32+ {{ __ (' components.docuware.showme.buttons.discover_now' ) }}
33+ < svg xmlns = " http://www.w3.org/2000/svg" fill = " none" viewBox = " 0 0 24 24" stroke - width = " 1.5"
34+ stroke = " currentColor" class = " ml-1 w-4 h-4" >
35+ < path stroke - linecap = " round" stroke - linejoin = " round"
36+ 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" / >
37+ < / svg >
38+ < / a >
3739
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 >
40+ < a href = " {{ $product_url } }" rel = " noopener noreferrer"
41+ 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]"
42+ style = " background-color: white; color: #2E36B4; border-color: #2E36B4;" >
43+ {{ __ (' components.docuware.showme.buttons.more' ) }}
44+ < / a >
45+ < / div >
4346 < / div >
44- < / div >
45- < / section >
46- < / x - section >
47+ < / section >
48+ < / x - section >
49+ @ endif
0 commit comments