feat: implement multi-language support for product and service menu headers

This commit is contained in:
Ümit Tunç
2026-05-27 07:13:16 +03:00
parent 38b06f9d1c
commit b7ef2450bd
@@ -59,7 +59,7 @@
<div class="xl:w-4/12 lg:w-4/12 w-full flex-[0_0_auto] max-w-full px-5 xl:border-r border-[#0000000a] dark:border-[#ffffff0a] mb-2 lg:mb-0"> <div class="xl:w-4/12 lg:w-4/12 w-full flex-[0_0_auto] max-w-full px-5 xl:border-r border-[#0000000a] dark:border-[#ffffff0a] mb-2 lg:mb-0">
<h6 class="dropdown-header !text-[#e31e24] !pl-0 text-uppercase tracking-wider font-bold text-xs flex items-center" style="margin-top: 5px !important; margin-bottom: 8px !important; padding: 0px !important;"> <h6 class="dropdown-header !text-[#e31e24] !pl-0 text-uppercase tracking-wider font-bold text-xs flex items-center" style="margin-top: 5px !important; margin-bottom: 8px !important; padding: 0px !important;">
<i class="uil uil-cube text-lg mr-2.5"></i> <i class="uil uil-cube text-lg mr-2.5"></i>
{{ __('Ürünlerimiz') }} {{ $locale === 'tr' ? 'Ürünlerimiz' : ($locale === 'se' ? 'Våra Produkter' : 'Products') }}
</h6> </h6>
<ul class="pl-0 list-none mb-0"> <ul class="pl-0 list-none mb-0">
@foreach($products as $prod) @foreach($products as $prod)
@@ -80,7 +80,7 @@
<div class="xl:w-4/12 lg:w-4/12 w-full flex-[0_0_auto] max-w-full px-5 xl:border-r border-[#0000000a] dark:border-[#ffffff0a] mb-2 lg:mb-0"> <div class="xl:w-4/12 lg:w-4/12 w-full flex-[0_0_auto] max-w-full px-5 xl:border-r border-[#0000000a] dark:border-[#ffffff0a] mb-2 lg:mb-0">
<h6 class="dropdown-header !text-[#e31e24] !pl-0 text-uppercase tracking-wider font-bold text-xs flex items-center" style="margin-top: 5px !important; margin-bottom: 8px !important; padding: 0px !important;"> <h6 class="dropdown-header !text-[#e31e24] !pl-0 text-uppercase tracking-wider font-bold text-xs flex items-center" style="margin-top: 5px !important; margin-bottom: 8px !important; padding: 0px !important;">
<i class="uil uil-cog text-lg mr-2.5"></i> <i class="uil uil-cog text-lg mr-2.5"></i>
{{ __('Hizmetlerimiz') }} {{ $locale === 'tr' ? 'Hizmetlerimiz' : ($locale === 'se' ? 'Våra Tjänster' : 'Services') }}
</h6> </h6>
<ul class="pl-0 list-none mb-0"> <ul class="pl-0 list-none mb-0">
@foreach($services as $serv) @foreach($services as $serv)