Parcourir la source

add custom fieldset for page blueprint, for home page, improve booking data render, add icon, editable home feature section

staging
AzriIchik il y a 2 mois
Parent
révision
393bc2e5de

+ 68
- 1
content/collections/pages/home.md Voir le fichier

@@ -5,5 +5,72 @@ title: Home
5 5
 template: home
6 6
 author: ab0729b7-bf3b-4b76-930d-938ff5d0a937
7 7
 updated_by: ab0729b7-bf3b-4b76-930d-938ff5d0a937
8
-updated_at: 1710468048
8
+updated_at: 1710742549
9
+grid_field:
10
+  - null
11
+home_section_1:
12
+  -
13
+    id: ltw8galv
14
+    highlight_text: '<p class="text-highlight hero-text-highlight">WHERE <span class="text-db">PASSION</span>  <br> MEETS THE <span class="text-db">PITCH</span></p>'
15
+    description_text: 'Unleash Your Inner Champion'
16
+    type: homepage_section_1
17
+    enabled: true
18
+    button_link: /booking
19
+home_section_2:
20
+  -
21
+    id: wGgYHLHc
22
+    highlight_text: 'Your Football Haven Awaits: Embrace the  <br> Game at Our State-of-the-Art Field!'
23
+    description_text: 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Esse labore ullam error praesentium culpa quae similique, inventore laborum vel a excepturi odit voluptates illum quibusdam, commodi nostrum, tenetur perspiciatis est. Labore adipisci itaque inventore voluptatem pariatur? Quos perferendis sit quo autem praesentium nobis pariatur in! Atque, explicabo magnam! Repellat aliquam dolorem suscipit nam facere'
24
+    button_link: /booking
25
+home_section_4:
26
+  -
27
+    id: s9npkOiq
28
+    highlight_text: Features
29
+    description_text: 'Stay tuned for more latest news and articles brought exclusively by our team'
30
+    features:
31
+      -
32
+        id: ltwhom3l
33
+        highlight: 'Fields Booking and Fixtures 1'
34
+        description_text: 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Esse labore ullam error praesentium culpa quae similique, inventore laborum vel a excepturi odit voluptates illum quibusdam, commodi nostrum, tenetur perspiciatis est. Labore adipisci itaque inventore voluptatem pariatur? Quos perferendis sit quo autem praesentium nobis pariatur in! Atque, explicabo magnam! Repellat aliquam dolorem suscipit nam facere'
35
+        icon: '<i class="fa-solid fa-book-bookmark fa-2x text-db d-none d-lg-inline"></i>'
36
+        link_text: 'Download Now'
37
+        link: /booking
38
+        background_image: group-6742.jpg
39
+        type: feature
40
+        enabled: true
41
+      -
42
+        id: ltwiiwib
43
+        highlight: 'Fields Booking and Fixtures 2'
44
+        description_text: 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Esse labore ullam error praesentium culpa quae similique, inventore laborum vel a excepturi odit voluptates illum quibusdam, commodi nostrum, tenetur perspiciatis est.'
45
+        icon: '<i class="fa-solid fa-book-bookmark fa-2x text-db d-none d-lg-inline"></i>'
46
+        link_text: 'Download Now'
47
+        link: /download
48
+        background_image: group-6741.jpg
49
+        type: feature
50
+        enabled: true
51
+      -
52
+        id: ltwijpnf
53
+        highlight: 'Fields Booking and Fixtures 3'
54
+        description_text: 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Esse labore ullam error praesentium culpa quae similique, inventore laborum vel a excepturi odit voluptates illum quibusdam, commodi nostrum, tenetur perspiciatis est.'
55
+        icon: '<i class="fa-solid fa-book-bookmark fa-2x text-db d-none d-lg-inline"></i>'
56
+        link_text: 'Download Now'
57
+        link: /contact
58
+        background_image: group-6743.jpg
59
+        type: feature
60
+        enabled: true
61
+      -
62
+        id: ltwikvv9
63
+        highlight: 'Fields Booking and Fixtures 4'
64
+        description_text: 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Esse labore ullam error praesentium culpa quae similique, inventore laborum vel a excepturi odit voluptates illum quibusdam, commodi nostrum, tenetur perspiciatis est.'
65
+        icon: '<i class="fa-solid fa-book-bookmark fa-2x text-db d-none d-lg-inline"></i>'
66
+        link_text: 'Download Now'
67
+        link: /news
68
+        background_image: group-6773-1710740276.jpg
69
+        type: feature
70
+        enabled: true
71
+home_section_3:
72
+  -
73
+    id: 24e4lguZ
74
+    test_link: TestLink
75
+    background_image: bg2-1710742546.jpg
9 76
 ---

+ 0
- 5
content/collections/test.yaml Voir le fichier

@@ -1,5 +0,0 @@
1
-title: test
2
-revisions: false
3
-date_behavior:
4
-  past: public
5
-  future: private

+ 7
- 0
public/assets/.meta/4-1710741803.jpg.yaml Voir le fichier

@@ -0,0 +1,7 @@
1
+data: {  }
2
+size: 1068215
3
+last_modified: 1710741803
4
+width: 1920
5
+height: 674
6
+mime_type: image/jpeg
7
+duration: null

+ 7
- 0
public/assets/.meta/4.jpg.yaml Voir le fichier

@@ -0,0 +1,7 @@
1
+data: {  }
2
+size: 1068215
3
+last_modified: 1710740737
4
+width: 1920
5
+height: 674
6
+mime_type: image/jpeg
7
+duration: null

+ 7
- 0
public/assets/.meta/bg2-1710742546.jpg.yaml Voir le fichier

@@ -0,0 +1,7 @@
1
+data: {  }
2
+size: 1068215
3
+last_modified: 1710742546
4
+width: 1920
5
+height: 674
6
+mime_type: image/jpeg
7
+duration: null

+ 7
- 0
public/assets/.meta/bg2.jpg.yaml Voir le fichier

@@ -0,0 +1,7 @@
1
+data: {  }
2
+size: 1068215
3
+last_modified: 1710742188
4
+width: 1920
5
+height: 674
6
+mime_type: image/jpeg
7
+duration: null

+ 7
- 0
public/assets/.meta/group-6741.jpg.yaml Voir le fichier

@@ -0,0 +1,7 @@
1
+data: {  }
2
+size: 59155
3
+last_modified: 1710740196
4
+width: 518
5
+height: 246
6
+mime_type: image/jpeg
7
+duration: null

+ 7
- 0
public/assets/.meta/group-6742.jpg.yaml Voir le fichier

@@ -0,0 +1,7 @@
1
+data: {  }
2
+size: 103645
3
+last_modified: 1710738966
4
+width: 518
5
+height: 246
6
+mime_type: image/jpeg
7
+duration: null

+ 7
- 0
public/assets/.meta/group-6743.jpg.yaml Voir le fichier

@@ -0,0 +1,7 @@
1
+data: {  }
2
+size: 39910
3
+last_modified: 1710740227
4
+width: 518
5
+height: 246
6
+mime_type: image/jpeg
7
+duration: null

+ 7
- 0
public/assets/.meta/group-6773-1710740276.jpg.yaml Voir le fichier

@@ -0,0 +1,7 @@
1
+data: {  }
2
+size: 59909
3
+last_modified: 1710740276
4
+width: 526
5
+height: 436
6
+mime_type: image/jpeg
7
+duration: null

BIN
public/assets/4-1710741803.jpg Voir le fichier


BIN
public/assets/4.jpg Voir le fichier


BIN
public/assets/bg2-1710742546.jpg Voir le fichier


BIN
public/assets/bg2.jpg Voir le fichier


BIN
public/assets/group-6741.jpg Voir le fichier


BIN
public/assets/group-6742.jpg Voir le fichier


BIN
public/assets/group-6743.jpg Voir le fichier


BIN
public/assets/group-6773-1710740276.jpg Voir le fichier


BIN
public/favicon.ico Voir le fichier


+ 4
- 1
public/js/main.js Voir le fichier

@@ -11732,11 +11732,14 @@ $(document).ready(function () {
11732 11732
     });
11733 11733
   }
11734 11734
   $(".booking-item").on("click", function () {
11735
+    var fieldID = $(this).data('fieldid');
11735 11736
     // remove all child active class, then add active on clicked
11736 11737
     var bookingContainer = $('.booking-container');
11737 11738
     $(bookingContainer).find(".booking-item").removeClass("active");
11738 11739
     $(this).addClass("active");
11739
-    var fieldID = $(this).data('fieldid');
11740
+
11741
+    // remove option child
11742
+    $("#input-booking-slot").children(".select-value").remove();
11740 11743
 
11741 11744
     //ensure everything exist
11742 11745
     if (bookingList === undefined || bookingList.length == 0) {

+ 65
- 6
resources/blueprints/collections/pages/page.yaml Voir le fichier

@@ -15,13 +15,72 @@ sections:
15 15
           type: markdown
16 16
           localizable: true
17 17
       -
18
-        handle: template
18
+        handle: home_section_1
19 19
         field:
20
-          hide_partials: true
21
-          blueprint: false
22
-          display: Template
23
-          type: template
24
-          icon: template
20
+          fields:
21
+            -
22
+              import: homepage_section_1
23
+          mode: stacked
24
+          max_rows: 1
25
+          min_rows: 1
26
+          reorderable: true
27
+          display: 'Home Section 1'
28
+          type: grid
29
+          icon: grid
30
+          listable: hidden
31
+          instructions_position: above
32
+          visibility: visible
33
+      -
34
+        handle: home_section_2
35
+        field:
36
+          fields:
37
+            -
38
+              import: home_section_2
39
+          mode: stacked
40
+          max_rows: 1
41
+          min_rows: 1
42
+          reorderable: true
43
+          display: 'Home Section 2'
44
+          type: grid
45
+          icon: grid
46
+          listable: hidden
47
+          instructions_position: above
48
+          visibility: visible
49
+          if:
50
+            title: 'equals Home'
51
+          validate:
52
+            - required
53
+      -
54
+        handle: home_section_3
55
+        field:
56
+          fields:
57
+            -
58
+              import: home_section_3
59
+          mode: stacked
60
+          reorderable: true
61
+          display: 'Home Section 3'
62
+          type: grid
63
+          icon: grid
64
+          listable: hidden
65
+          instructions_position: above
66
+          visibility: visible
67
+          if:
68
+            title: 'equals Home'
69
+          max_rows: 1
70
+          min_rows: 1
71
+      -
72
+        handle: home_section_4
73
+        field:
74
+          fields:
75
+            -
76
+              import: home_section_4
77
+          mode: stacked
78
+          max_rows: 1
79
+          min_rows: 1
80
+          reorderable: true
81
+          display: 'Home Section 4'
82
+          type: grid
83
+          icon: grid
25 84
           listable: hidden
26 85
           instructions_position: above
27 86
           visibility: visible

+ 33
- 0
resources/fieldsets/home_section_2.yaml Voir le fichier

@@ -0,0 +1,33 @@
1
+title: 'Home Section 2'
2
+fields:
3
+  -
4
+    handle: highlight_text
5
+    field:
6
+      input_type: text
7
+      antlers: false
8
+      display: 'Highlight Text'
9
+      type: text
10
+      icon: text
11
+      listable: hidden
12
+      instructions_position: above
13
+      visibility: visible
14
+  -
15
+    handle: description_text
16
+    field:
17
+      input_type: text
18
+      antlers: false
19
+      display: description_text
20
+      type: text
21
+      icon: text
22
+      listable: hidden
23
+      instructions_position: above
24
+      visibility: visible
25
+  -
26
+    handle: button_link
27
+    field:
28
+      display: 'Button Link'
29
+      type: link
30
+      icon: link
31
+      listable: hidden
32
+      instructions_position: above
33
+      visibility: visible

+ 29
- 0
resources/fieldsets/home_section_3.yaml Voir le fichier

@@ -0,0 +1,29 @@
1
+title: 'Home Section 3'
2
+fields:
3
+  -
4
+    handle: test_link
5
+    field:
6
+      input_type: text
7
+      antlers: false
8
+      display: 'Test Link'
9
+      type: text
10
+      icon: text
11
+      listable: hidden
12
+      instructions_position: above
13
+      visibility: visible
14
+  -
15
+    handle: background_image
16
+    field:
17
+      mode: list
18
+      container: assets
19
+      restrict: false
20
+      allow_uploads: true
21
+      show_filename: true
22
+      max_files: 1
23
+      min_files: 1
24
+      display: 'Background Image'
25
+      type: assets
26
+      icon: assets
27
+      listable: hidden
28
+      instructions_position: above
29
+      visibility: visible

+ 106
- 0
resources/fieldsets/home_section_4.yaml Voir le fichier

@@ -0,0 +1,106 @@
1
+title: 'Home Section 4'
2
+fields:
3
+  -
4
+    handle: highlight_text
5
+    field:
6
+      input_type: text
7
+      antlers: false
8
+      display: 'Highlight Text'
9
+      type: text
10
+      icon: text
11
+      listable: hidden
12
+      instructions_position: above
13
+      visibility: visible
14
+  -
15
+    handle: description_text
16
+    field:
17
+      antlers: false
18
+      display: 'Description Text'
19
+      type: textarea
20
+      icon: textarea
21
+      listable: hidden
22
+      instructions_position: above
23
+      visibility: visible
24
+  -
25
+    handle: features
26
+    field:
27
+      collapse: false
28
+      previews: true
29
+      sets:
30
+        feature:
31
+          display: feature
32
+          fields:
33
+            -
34
+              handle: highlight
35
+              field:
36
+                input_type: text
37
+                antlers: false
38
+                display: Highlight
39
+                type: text
40
+                icon: text
41
+                listable: hidden
42
+                instructions_position: above
43
+                visibility: visible
44
+            -
45
+              handle: description_text
46
+              field:
47
+                antlers: false
48
+                display: 'Description Text'
49
+                type: textarea
50
+                icon: textarea
51
+                listable: hidden
52
+                instructions_position: above
53
+                visibility: visible
54
+            -
55
+              handle: icon
56
+              field:
57
+                input_type: text
58
+                antlers: false
59
+                display: Icon
60
+                type: text
61
+                icon: text
62
+                listable: hidden
63
+                instructions_position: above
64
+                visibility: visible
65
+            -
66
+              handle: link_text
67
+              field:
68
+                input_type: text
69
+                antlers: false
70
+                display: 'Link Text'
71
+                type: text
72
+                icon: text
73
+                listable: hidden
74
+                instructions_position: above
75
+                visibility: visible
76
+            -
77
+              handle: link
78
+              field:
79
+                display: Link
80
+                type: link
81
+                icon: link
82
+                listable: hidden
83
+                instructions_position: above
84
+                visibility: visible
85
+            -
86
+              handle: background_image
87
+              field:
88
+                mode: list
89
+                container: assets
90
+                restrict: false
91
+                allow_uploads: true
92
+                show_filename: true
93
+                max_files: 1
94
+                min_files: 1
95
+                display: 'Background Image'
96
+                type: assets
97
+                icon: assets
98
+                listable: hidden
99
+                instructions_position: above
100
+                visibility: visible
101
+      display: features
102
+      type: replicator
103
+      icon: replicator
104
+      listable: hidden
105
+      instructions_position: above
106
+      visibility: visible

+ 33
- 0
resources/fieldsets/homepage_section_1.yaml Voir le fichier

@@ -0,0 +1,33 @@
1
+title: 'Home Section 1'
2
+fields:
3
+  -
4
+    handle: highlight_text
5
+    field:
6
+      input_type: text
7
+      antlers: false
8
+      display: 'Highlight Text'
9
+      type: text
10
+      icon: text
11
+      listable: hidden
12
+      instructions_position: above
13
+      visibility: visible
14
+  -
15
+    handle: description_text
16
+    field:
17
+      input_type: text
18
+      antlers: false
19
+      display: 'Description Text'
20
+      type: text
21
+      icon: text
22
+      listable: hidden
23
+      instructions_position: above
24
+      visibility: visible
25
+  -
26
+    handle: button_link
27
+    field:
28
+      display: 'button link'
29
+      type: link
30
+      icon: link
31
+      listable: hidden
32
+      instructions_position: above
33
+      visibility: visible

+ 3
- 1
resources/js/main.js Voir le fichier

@@ -132,12 +132,14 @@ $(document).ready(function () {
132 132
 
133 133
     $(".booking-item").on("click", function () {
134 134
 
135
+        let fieldID = $(this).data('fieldid');
135 136
         // remove all child active class, then add active on clicked
136 137
         let bookingContainer = $('.booking-container');
137 138
         $(bookingContainer).find(".booking-item").removeClass("active")
138 139
         $(this).addClass("active");
139 140
 
140
-        let fieldID = $(this).data('fieldid');
141
+        // remove option child
142
+        $("#input-booking-slot").children(".select-value").remove();
141 143
 
142 144
         //ensure everything exist
143 145
         if(bookingList === undefined || bookingList.length == 0){

+ 3
- 3
resources/views/booking.antlers.html Voir le fichier

@@ -11,7 +11,7 @@
11 11
         <div class="row g-0 booking-container">
12 12
 
13 13
             <div data-aos="fade-up" class="col-xl-4 position-relative p-0 p-lg-3">
14
-                <div data-fieldid="1" class="position-relative booking-item" style="background-image: url(./assets/image/Group_6775.jpg);">
14
+                <div data-fieldid="1" class="position-relative booking-item" style="background-image: url(./assets/group-6770.jpg);">
15 15
                     <div class="position-absolute d-flex flex-wrap booking-details">
16 16
                         <div class="mt-auto booking-overlay">
17 17
                             <p class="text-highlight db-h5 fw-bold p-0"> FIELD A </p>
@@ -22,7 +22,7 @@
22 22
             </div>
23 23
 
24 24
             <div data-aos="fade-up" class="col-xl-4 position-relative p-0 p-lg-3">
25
-                <div data-fieldid="2" class="position-relative booking-item" style="background-image: url(./assets/image/Group_6775.jpg);">
25
+                <div data-fieldid="2" class="position-relative booking-item" style="background-image: url(./assets/group-6771.jpg);">
26 26
                     <div class="position-absolute d-flex flex-wrap booking-details">
27 27
                         <div class="mt-auto booking-overlay">
28 28
                             <p class="text-highlight db-h5 fw-bold p-0"> FIELD B </p>
@@ -33,7 +33,7 @@
33 33
             </div>
34 34
 
35 35
             <div data-aos="fade-up" class="col-xl-4 position-relative p-0 p-lg-3">
36
-                <div data-fieldid="3" class="position-relative booking-item" style="background-image: url(./assets/image/Group_6775.jpg);">
36
+                <div data-fieldid="3" class="position-relative booking-item" style="background-image: url(./assets/group-6772.jpg);">
37 37
                     <div class="position-absolute d-flex flex-wrap booking-details">
38 38
                         <div class="mt-auto booking-overlay">
39 39
                             <p class="text-highlight db-h5 fw-bold p-0"> FIELD C </p>

+ 37
- 61
resources/views/home.antlers.html Voir le fichier

@@ -1,23 +1,40 @@
1 1
 <section>
2 2
     <div class="d-flex px-5" style="min-height: 90vh;background-image: url(./assets/image/2.jpg);background-size: cover;">
3 3
         <div data-aos="zoom-in" class="text-light text-lg-center m-auto">
4
-            <p class="text-highlight hero-text-highlight" >WHERE <span class="text-db">PASSION</span>  <br/> MEETS THE <span class="text-db">PITCH</span></p>
5
-            <p class="hero-text-description pb-5 pt-3 py-lg-5">Unleash Your Inner Champion</p>
6
-            <button class="nav-link db-btn mx-0 mx-lg-auto" style="font-size: clamp(18px,1vw,23px);font-weight: 500;padding: 0.5rem 3rem">Explore</button>
4
+            {{ grid_field }}
5
+                {{ home_section_1 }}
6
+                    {{ highlight_text }}
7
+                    <p class="hero-text-description pb-5 pt-3 py-lg-5">{{ description_text }} </p>
8
+                    <a href="{{ button_link }}" class="nav-link db-btn mx-0 mx-lg-auto">Explore</a>
9
+                {{ /home_section_1 }}
10
+            {{ /grid_field }}
7 11
         </div>
8 12
     </div>
9 13
 </section>
10 14
 <section>
11 15
     <div class="text-md-center text-light section2" style="background-image: url(./assets/image/3.png);background-size: cover;padding-top: 10rem;padding-bottom: 5rem; background-position: top center;">
12 16
         <div class="container-fluid p-0 m-0" data-aos="zoom-in" >
13
-            <p class="db-h3 text-highlight">Your Football Haven Awaits: Embrace the <br/> Game at Our State-of-the-Art Field!</p>
14
-            <p class="mx-auto my-5 p-0 about-paragraph db-h5">Lorem ipsum dolor sit amet consectetur adipisicing elit. Esse labore ullam error praesentium culpa quae similique, inventore laborum vel a excepturi odit voluptates illum quibusdam, commodi nostrum, tenetur perspiciatis est. Labore adipisci itaque inventore voluptatem pariatur? Quos perferendis sit quo autem praesentium nobis pariatur in! Atque, explicabo magnam! Repellat aliquam dolorem suscipit nam facere assumenda perferendis, provident, ex sapiente ea dolorum! Ipsum voluptate autem dignissimos quo sapiente sequi eius quae! autem dignissimos quo sapiente sequi eius quae autem dignissimos quo sapiente sequi eius quae autem dignissimos</p>
15
-            <button class="nav-link db-btn mx-auto" style="font-size: clamp(18px,1vw,23px);font-weight: 500;padding: 0.5rem 3rem">Read More</button>
17
+
18
+            {{ grid_field }}
19
+                {{ home_section_2 }}
20
+
21
+                    <p class="db-h3 text-highlight">{{ highlight_text }}</p>
22
+                    <p class="mx-auto my-5 p-0 about-paragraph db-h5">{{ description_text }}</p>
23
+                    <a href="{{ button_link }}" class="nav-link db-btn mx-auto">Read More</a>
24
+
25
+                {{ /home_section_2 }}
26
+            {{ /grid_field }}
27
+
16 28
         </div>
17 29
     </div>
18 30
 </section>
19 31
 <section>
20
-    <div style="background-image: url('./assets/image/4.jpg');" class="section3-img"></div>
32
+
33
+    {{ grid_field }}
34
+        {{ home_section_3 }}
35
+            <div class="section3-img" style="background-image: url('.{{ background_image }}');"></div>
36
+        {{ /home_section_3 }}
37
+    {{ /grid_field }}
21 38
 </section>
22 39
 <section>
23 40
     <div class="text-center text-light p-7">
@@ -25,61 +42,20 @@
25 42
         <p class="mx-auto p-0 db-h5">Stay tuned for more latest news and articles brought exclusively by our team</p>
26 43
     </div>
27 44
     <div class="container-fluid p-0">
45
+
28 46
         <div class="row text g-0">
29
-            <div data-aos="fade-up" class="col-12 p-7 text-light row g-0" style="background-image: url('./assets/image/Group_6781.jpg');background-size: cover; background-repeat: no-repeat;">
30
-                <div class="col-2 d-none d-lg-block text-end">
31
-                    <i class="fa-solid fa-book-bookmark fa-2x text-db pe-4"></i>
32
-                </div>
33
-                <div class="col">
34
-                    <p class="fw-bold">Field Booking and Fixtures</p>
35
-                    <p style="margin-bottom: 3rem;">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Iusto molestiae adipisci distinctio impedit quasi quibusdam accusamus, atque dolorem eum consequuntur assumenda voluptates vitae repellat tempora iste quam, repellendus deserunt quo culpa. Voluptate provident excepturi perferendis omnis maxime, earum eos tempora, a corrupti aspernatur est architecto. Deleniti iste quia voluptatem. Eum culpa mollitia saepe nesciunt laborum id neque nulla adipisci ab.</p>
36
-                    <p><a href="#" class="fw-bold text-light" style="text-decoration: none;">Book Now <span><i class="fa-solid fa-arrow-right ps-3 text-db fw-bold"></i></span></a></p>
37
-                </div>
38
-                <div class="col-2">
39
-                    <i class="fa-solid fa-book-bookmark fa-2x text-db d-inline d-lg-none"></i>
40
-                </div>
41
-            </div>
42
-        </div>
43
-        <div class="row text g-0">
44
-            <div data-aos="fade-up" data-aos-delay="100" class="col-md-4 p-5 text-light row g-0" style="background-image: url('./assets/image/Group_6742.jpg');background-size: cover; background-repeat: no-repeat;">
45
-                <div class="col-2 d-none d-lg-block text-end">
46
-                    <i class="fa-solid fa-book-bookmark fa-2x text-db pe-4"></i>
47
-                </div>
48
-                <div class="col">
49
-                    <p class="fw-bold db-h6">Field Booking and Fixtures</p>
50
-                    <p style="margin-bottom: 3rem;">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam, minus. Dicta nemo magnam architecto minus facere itaque natus</p>
51
-                    <p><a href="#" class="fw-bold text-light db-h6" style="text-decoration: none;">Download Now <span><i class="fa-solid fa-arrow-right ps-3 text-db fw-bold"></i></span></a></p>
52
-                </div>
53
-                <div class="col-2">
54
-                    <i class="fa-solid fa-book-bookmark fa-2x text-db d-inline d-lg-none"></i>
55
-                </div>
56
-            </div>
57
-            <div data-aos="fade-up" data-aos-delay="300" class="col-md-4 p-5 text-light row g-0" style="background-image: url('./assets/image/Group_6741.jpg');background-size: cover; background-repeat: no-repeat;">
58
-                <div class="col-2 d-none d-lg-block text-end">
59
-                    <i class="fa-solid fa-book-bookmark fa-2x text-db pe-4"></i>
60
-                </div>
61
-                <div class="col">
62
-                    <p class="fw-bold db-h6">Field Booking and Fixtures</p>
63
-                    <p style="margin-bottom: 3rem;">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam, minus. Dicta nemo magnam architecto minus facere itaque natus</p>
64
-                    <p><a href="#" class="fw-bold text-light db-h6" style="text-decoration: none;">Download Now <span><i class="fa-solid fa-arrow-right ps-3 text-db fw-bold"></i></span></a></p>
65
-                </div>
66
-                <div class="col-2">
67
-                    <i class="fa-solid fa-book-bookmark fa-2x text-db d-inline d-lg-none"></i>
68
-                </div>
69
-            </div>
70
-            <div data-aos="fade-up" data-aos-delay="500" class="col-md-4 p-5 text-light row g-0" style="background-image: url('./assets/image/Group_6780.jpg');background-size: cover; background-repeat: no-repeat;">
71
-                <div class="col-2 d-none d-lg-block text-end">
72
-                    <i class="fa-solid fa-book-bookmark fa-2x text-db pe-4"></i>
73
-                </div>
74
-                <div class="col">
75
-                    <p class="fw-bold db-h6">Field Booking and Fixtures</p>
76
-                    <p style="margin-bottom: 3rem;">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam, minus. Dicta nemo magnam architecto minus facere itaque natus</p>
77
-                    <p><a href="#" class="fw-bold text-light db-h6" style="text-decoration: none;">Download Now <span><i class="fa-solid fa-arrow-right ps-3 text-db fw-bold"></i></span></a></p>
78
-                </div>
79
-                <div class="col-2">
80
-                    <i class="fa-solid fa-book-bookmark fa-2x text-db d-inline d-lg-none"></i>
81
-                </div>
82
-            </div>
47
+
48
+            {{ grid_field }}
49
+                {{ firstEntry = 1 }}
50
+                {{ home_section_4 }}
51
+                    {{ features }}
52
+                        {{ partial:partials/feature }}
53
+                        {{ firstEntry = 0 }}
54
+                    {{ /features }}
55
+                {{ /home_section_4 }}
56
+            {{ /grid_field }}
57
+
58
+
83 59
         </div>
84 60
     </div>
85 61
 </section>

+ 1
- 0
resources/views/layout.antlers.html Voir le fichier

@@ -5,6 +5,7 @@
5 5
         <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
         <meta name="viewport" content="width=device-width, initial-scale=1">
7 7
         <title>{{ title ?? site:name }}</title>
8
+        <link rel="icon" type="image/x-icon" href="/favicon.ico">
8 9
         <link rel="stylesheet" href="{{ mix src='css/bootstrap.css' }}">
9 10
         <link rel="stylesheet" href="{{ mix src='css/main.css' }}">
10 11
         <link rel="stylesheet" href="{{ mix src='css/aos.css' }}">

+ 18
- 0
resources/views/partials/_feature.antlers.html Voir le fichier

@@ -0,0 +1,18 @@
1
+{{ if firstEntry == 1 }}
2
+<div data-aos="fade-up" data-aos-delay="100" class="col-md-12 p-5 text-light row g-0" style="background-image: url('.{{ background_image }}');background-size: cover; background-repeat: no-repeat;">
3
+{{ else }}
4
+<div data-aos="fade-up" data-aos-delay="100" class="col-md-4 p-5 text-light row g-0" style="background-image: url('.{{ background_image }}');background-size: cover; background-repeat: no-repeat;">
5
+{{ /if }}
6
+    <div class="col-2 text-end">
7
+        <i class="fa-solid fa-book-bookmark fa-2x text-db pe-4 d-none d-lg-inline"></i>
8
+    </div>
9
+    <div class="col">
10
+        <p class="fw-bold db-h6">{{ highlight }}</p>
11
+        <p style="margin-bottom: 3rem;"> {{ description_text }} </p>
12
+        <p><a href="{{ link }}" class="fw-bold text-light db-h6" style="text-decoration: none;"> {{ link_text }} <span><i class="fa-solid fa-arrow-right ps-3 text-db fw-bold"></i></span></a></p>
13
+    </div>
14
+    <div class="col-2">
15
+        <i class="fa-solid fa-book-bookmark fa-2x text-db d-inline d-lg-none"></i>
16
+    </div>
17
+</div>
18
+

Chargement…
Annuler
Enregistrer