Kaynağa Gözat

Created route for under-construction page, Added image for page

golestan 3 yıl önce
ebeveyn
işleme
3420795cdc

+ 2 - 1
public/mix-manifest.json

@@ -2,5 +2,6 @@
     "/js/home.js": "/js/home.js",
     "/css/home.css": "/css/home.css",
     "/images/home/banner-bg-1.jpg": "/images/home/banner-bg-1.jpg",
-    "/images/home/banner-bg-2.jpg": "/images/home/banner-bg-2.jpg"
+    "/images/home/banner-bg-2.jpg": "/images/home/banner-bg-2.jpg",
+    "/images/home/under-construction.png": "/images/home/under-construction.png"
 }

BIN
resources/images/home/under-construction.png


+ 26 - 0
resources/views/home/under-construction.blade.php

@@ -0,0 +1,26 @@
+@component('home.layouts.component', ['title' => 'درحال بروزرسانی'])
+
+    @slot('style')
+    @endslot
+
+    @slot('content_top')
+    @endslot
+
+    @slot('content')
+        <section class="employment-list-holder">
+            <div class="container">
+                <div>
+                    <img src="{{ asset('images/home/under-construction.png') }}" alt="under-construction-img">
+                </div>
+            </div>
+        </section>
+    @endslot
+
+    @slot('script')
+        <script>
+
+
+        </script>
+    @endslot
+
+@endcomponent

+ 4 - 1
routes/web.php

@@ -30,4 +30,7 @@ Route::get('/our-team', function () {
 
 Route::get('/employment', function () {
     return view('home.employment');
-});
+});
+Route::get('/under-construction', function () {
+    return view('home.under-construction');
+});