Update Header and Add New Home Template: Enhanced the header layout by including a language selector for improved localization support. Introduced a new 'neler-yapariz' template that integrates various sections of the home page, ensuring a cohesive structure and better user experience.

This commit is contained in:
Ümit Tunç
2026-01-02 23:32:03 +03:00
parent a1d02de86b
commit 194e575619
3 changed files with 24 additions and 4 deletions
+8 -3
View File
@@ -29,7 +29,10 @@ $rightMenuItems = $menuItems->slice($midPoint);
<div class="navbar-brand"><a href="{{url("./")}}">
<img class="logo-dark" src="{{url("assets/img/truncgil-yatay.svg")}}" alt="image">
<img class="logo-light" src="{{url("assets/img/truncgil-yatay-dark.svg")}}" alt="image">
</a></div>
</a>
</div>
<div class="navbar-other !ml-auto">
<ul class="navbar-nav flex-row items-center">
<li class="nav-item xl:!hidden lg:!hidden">
@@ -39,6 +42,7 @@ $rightMenuItems = $menuItems->slice($midPoint);
<!-- /.navbar-nav -->
</div>
<!-- /.navbar-other -->
</div>
<!-- /.flex -->
<div class="navbar-collapse-wrapper flex flex-row items-center w-full">
@@ -46,8 +50,9 @@ $rightMenuItems = $menuItems->slice($midPoint);
<div class="offcanvas-header lg:mx-auto xl:mx-auto order-0 lg:!order-1 lg:!px-[5rem] xl:!order-1 xl:!px-[5rem] p-[1.5rem] !flex items-center justify-between flex-row">
<a class="transition-none hidden lg:!flex xl:!flex" href="./"><img class="logo-dark" src="assets/img/truncgil-yatay.svg" alt="image">
<img class="logo-light" src="assets/img/truncgil-yatay-dark.svg" alt="image"></a>
<div class="" style="position: relative; left:5px">
@include("components.custom.language-selector")
</div>
</div>
<div class="w-full order-1 lg:!order-none lg:!flex xl:!order-none xl:!flex offcanvas-body">
<ul class="navbar-nav lg:!ml-auto xl:!ml-auto">
@@ -5,7 +5,7 @@
<div class="flex flex-wrap mx-[-15px] !text-center">
<div class="lg:w-8/12 xl:w-8/12 w-full flex-[0_0_auto] !px-[15px] max-w-full xl:!ml-[16.66666667%] lg:!ml-[16.66666667%]">
<h2 class="!text-[0.8rem] uppercase !text-[#e31e24] !mb-3 !leading-[1.35] !tracking-[0.02rem]">{!! t('Mutlu Müşteriler') !!}</h2>
<h3 class="xl:!text-[1.9rem] !text-[calc(1.315rem_+_0.78vw)] !leading-[1.25] font-semibold !mb-10 xxl:!px-10">{!! t('Sadece bizim sözümüze güvenmeyin, müşterilerimizin hakkımızda söylediklerini görün.') !!}</h3>
<h3 class="xl:!text-[1.9rem] !text-[calc(1.315rem_+_0.78vw)] !leading-[1.25] font-semibold !mb-10 xxl:!px-10">{!! t('Bizi müşterilerimizden dinleyin.') !!}</h3>
</div>
<!-- /column -->
</div>
@@ -0,0 +1,15 @@
@extends('layouts.site', ['header' => 'partials.header', 'footer' => 'partials.footer'])
@section('title', 'Anasayfa')
@section('content')
@include('templates.home.hero')
@include('templates.home.services-cards')
@include('templates.home.why-choose-us')
@include('templates.home.carousel')
@include('templates.home.solutions')
@include('templates.home.services-grid')
@include('templates.home.testimonials')
@include('templates.home.contact')
@endsection