浏览代码

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

golestan 3 年之前
父节点
当前提交
3420795cdc
共有 4 个文件被更改,包括 32 次插入2 次删除
  1. 2 1
      public/mix-manifest.json
  2. 二进制
      resources/images/home/under-construction.png
  3. 26 0
      resources/views/home/under-construction.blade.php
  4. 4 1
      routes/web.php

+ 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"
 }

二进制
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');
+});