diff --git a/resources/views/components/front/menu-item.blade.php b/resources/views/components/front/menu-item.blade.php
new file mode 100644
index 0000000..357faab
--- /dev/null
+++ b/resources/views/components/front/menu-item.blade.php
@@ -0,0 +1,102 @@
+@props(['item'])
+
+@php
+ $hasChildren = $item->children->isNotEmpty();
+ $isMegaMenu = $item->slug === 'urunlerimiz';
+@endphp
+
+@if($isMegaMenu)
+
+ {{ $item->translate('title') }}
+
+
+
+@else
+
+ @if($hasChildren)
+
+ {{ $item->translate('title') }}
+
+
+ @else
+
+ {{ $item->translate('title') }}
+
+ @endif
+
+@endif
+
diff --git a/resources/views/partials/header.blade.php b/resources/views/partials/header.blade.php
index 5bbea44..8a2038d 100644
--- a/resources/views/partials/header.blade.php
+++ b/resources/views/partials/header.blade.php
@@ -1,3 +1,27 @@
+@php
+// Get menu items from Pages with nested children
+$menuItems = \App\Models\Page::with(['children' => function ($query) {
+ $query->where('status', 'published')
+ ->where('show_in_menu', true)
+ ->orderBy('sort_order', 'asc')
+ ->orderBy('title', 'asc');
+ }, 'children.children' => function ($query) {
+ $query->where('status', 'published')
+ ->where('show_in_menu', true)
+ ->orderBy('sort_order', 'asc')
+ ->orderBy('title', 'asc');
+ }])
+ ->whereNull('parent_id')
+ ->where('status', 'published')
+ ->where('show_in_menu', true)
+ ->orderBy('sort_order', 'asc')
+ ->orderBy('title', 'asc')
+ ->get();
+
+$midPoint = ceil($menuItems->count() / 2);
+$leftMenuItems = $menuItems->slice(0, $midPoint);
+$rightMenuItems = $menuItems->slice($midPoint);
+@endphp
\ No newline at end of file
+