Explorar el Código

done cms perk

master
azri hace 3 días
padre
commit
9007d5cfc0
Se han modificado 2 ficheros con 114 adiciones y 85 borrados
  1. 24
    1
      resources/css/site.css
  2. 90
    84
      resources/views/home.antlers.html

+ 24
- 1
resources/css/site.css Ver fichero

@@ -225,12 +225,32 @@ p {
225 225
     margin-bottom: 50px;
226 226
 }
227 227
 
228
+.section .text-highlight4 {
229
+    margin-bottom:50px;
230
+}
231
+
228 232
 .feature-container .feature{
229 233
     margin-bottom: 45px;
230 234
 }
231 235
 
232 236
 .feature-container .feature img{
233 237
     margin-bottom: 25px;
238
+    border-radius: 50px;
239
+    width: 100%;
240
+}
241
+
242
+.perks-container .perks{
243
+    margin-bottom: 45px;
244
+}
245
+
246
+.perks-container .perks h5{
247
+    color:#FFF;
248
+    margin-bottom: 1em;
249
+}
250
+
251
+.perks-container .perks img{
252
+    margin-bottom: 25px;
253
+    border-radius: 50px;
234 254
     width: 100%;
235 255
 }
236 256
 
@@ -667,6 +687,10 @@ p {
667 687
         margin-bottom: 50px;
668 688
     }
669 689
 
690
+    .section .text-highlight4 {
691
+        margin-bottom:150px;
692
+    }
693
+
670 694
     .amics-logo {
671 695
         width: 250px
672 696
     }
@@ -712,7 +736,6 @@ p {
712 736
     .section3 {
713 737
         padding-top: 105px;
714 738
         border-radius: 150px 150px 0 0;
715
-        transform: translateY(-16%);
716 739
     }
717 740
 
718 741
     .section4 {

+ 90
- 84
resources/views/home.antlers.html Ver fichero

@@ -46,82 +46,63 @@
46 46
     </h1>
47 47
     <h2 class="text-start text-md-end text-secondary2 text-highlight3">Amplify the worth of your <br /> time by
48 48
         minimising repetative task</h2>
49
-    <h5 class="text-start text-secondary2" style="margin-bottom: 150px;">Customizable software solutions designed to
49
+    <h5 class="text-start text-secondary2 text-highlight4">Customizable software solutions designed to
50 50
         help organizations efficiently<br />
51 51
         manage employee data and streamline HR operations.</h5>
52 52
 
53 53
     <div class="row feature-container">
54 54
 
55
-        <div class="col-12 col-md-4 feature">
56
-            <img src="../assets/images/wallpaper2.jpg" alt="...">
57
-            <div class="card-body">
58
-                <h5 class="card-title fw-bolder">Attendance Management</h5>
59
-                <p class="card-text text-secondary2">Allow staff to keep track of their working hours using fingerprint,
60
-                    facial recognition and magnetic card readers.</p>
61
-            </div>
62
-        </div>
55
+        {{ counter = 1 }}
56
+        {{ home_field[0]["feature"] }}
57
+            
58
+        {{ if counter < 4 }}
63 59
 
64
-        <div class="col-12 col-md-4 feature">
65
-            <img src="../assets/images/wallpaper2.jpg" alt="...">
66
-            <div class="card-body">
67
-                <h5 class="card-title fw-bolder">Attendance Management</h5>
68
-                <p class="card-text text-secondary2">Allow staff to keep track of their working hours using fingerprint,
69
-                    facial recognition and magnetic card readers.</p>
70
-            </div>
71
-        </div>
60
+                <div class="col-12 col-md-4 feature">
61
+                    <img src="../assets/images/wallpaper1.jpg" alt="...">
62
+                    <div class="card-body">
63
+                        <h5 class="card-title fw-bolder">{{ title }} </h5>
64
+                        <p class="card-text text-secondary2">{{ description }}</p>
65
+                    </div>
66
+                </div>
72 67
 
73
-        <div class="col-12 col-md-4 feature">
74
-            <img src="../assets/images/wallpaper2.jpg" alt="...">
75
-            <div class="card-body">
76
-                <h5 class="card-title fw-bolder">Attendance Management</h5>
77
-                <p class="card-text text-secondary2">Allow staff to keep track of their working hours using fingerprint,
78
-                    facial recognition and magnetic card readers.</p>
79
-            </div>
80
-        </div>
68
+            {{ endif }}
69
+
70
+            {{ counter = counter + 1}}
71
+            
72
+        {{ /home_field[0]["feature"] }}
81 73
 
82 74
     </div>
83 75
 
84 76
     <div class="collapse" id="moreFeature">
85 77
         <div class="row feature-container">
86 78
 
87
-            <div class="col-12 col-md-4 feature">
88
-                <img src="../assets/images/wallpaper2.jpg" alt="...">
89
-                <div class="card-body">
90
-                    <h5 class="card-title fw-bolder">Attendance Management</h5>
91
-                    <p class="card-text text-secondary2">Allow staff to keep track of their working hours using
92
-                        fingerprint,
93
-                        facial recognition and magnetic card readers.</p>
94
-                </div>
95
-            </div>
79
+            {{ counter = 1 }}
80
+            {{ home_field[0]["feature"] }}
96 81
 
97
-            <div class="col-12 col-md-4 feature">
98
-                <img src="../assets/images/wallpaper2.jpg" alt="...">
99
-                <div class="card-body">
100
-                    <h5 class="card-title fw-bolder">Attendance Management</h5>
101
-                    <p class="card-text text-secondary2">Allow staff to keep track of their working hours using
102
-                        fingerprint,
103
-                        facial recognition and magnetic card readers.</p>
104
-                </div>
105
-            </div>
82
+                {{ if counter > 3 }}
106 83
 
107
-            <div class="col-12 col-md-4 feature">
108
-                <img src="../assets/images/wallpaper2.jpg" alt="...">
109
-                <div class="card-body">
110
-                    <h5 class="card-title fw-bolder">Attendance Management</h5>
111
-                    <p class="card-text text-secondary2">Allow staff to keep track of their working hours using
112
-                        fingerprint,
113
-                        facial recognition and magnetic card readers.</p>
114
-                </div>
115
-            </div>
84
+                    <div class="col-12 col-md-4 feature">
85
+                        <img src="../assets/images/wallpaper1.jpg" alt="...">
86
+                        <div class="card-body">
87
+                            <h5 class="card-title fw-bolder">{{ title }} </h5>
88
+                            <p class="card-text text-secondary2">{{ description }}</p>
89
+                        </div>
90
+                    </div>
116 91
 
117
-        </div>
118
-    </div>
92
+                {{ endif }}
119 93
 
94
+                {{ counter = counter + 1}}
95
+                
96
+            {{ /home_field[0]["feature"] }}
120 97
 
98
+        </div>
99
+    </div>
121 100
 
122
-    <button type="button" class="btn-amics fw-bold mx-auto" data-bs-toggle="collapse" data-bs-target="#moreFeature">
123
-        Explore More
124
-    </button>
101
+    <div class="d-flex">
102
+        <button class="btn-amics fw-bold mx-auto" type="button" data-bs-toggle="collapse" data-bs-target="#moreFeature">
103
+            Explore More
104
+        </button>
105
+    </div>
125 106
 
126 107
 </section>
127 108
 
@@ -140,36 +121,61 @@
140 121
             communication with
141 122
             stakeholders in a streamlined and<br /> compliant manner, ensuring transparency and trust.</h5>
142 123
 
143
-        <div class="row d-none d-lg-flex">
144
-            <div class="col-4">
145
-                <div class="card w-100 text-white" style="background-color: rgba(0,0,0,0);">
146
-                    <img src="../assets/images/wallpaper5.jpg" class="card-img-top" alt="..."
147
-                        style="max-height: 500px;margin-bottom: 45px;">
148
-                    <div class="card-body">
149
-                        <h5 class="card-title text-white fw-bolder">Absence and Leave Management</h5>
150
-                        <p class="card-text text-secondary2">Centralised repository for investor profiles, contact
151
-                            details, and investment history.</p>
152
-                    </div>
153
-                </div>
154
-            </div>
155
-            <div class="col">
156
-                <div class="card text-white" style="background-color: rgba(0,0,0,0);">
157
-                    <img src="../assets/images/wallpaper6.jpg" class="card-img-top" alt="..."
158
-                        style="max-height: 500px;object-fit: cover;margin-bottom: 45px;">
159
-                    <div class="card-body">
160
-                        <h5 class="card-title text-white fw-bolder">Absence and Leave Management</h5>
161
-                        <p class="card-text text-secondary2">Management of lease documents such as contracts,
162
-                            amendments, and correspondence related to the lease. Besides, customisable alert in order to
163
-                            configure the system to send alerts via email, SMS, or within the system itself based on
164
-                            predefined timelines before the lease expiration.</p>
165
-                    </div>
166
-                </div>
167
-            </div>
168
-            <div class="d-flex" style="margin-top: 140px;padding-bottom: 250px;">
169
-                <button type="button" class="btn-amics fw-bold mx-auto text-white">Explore More</button>
124
+        <div class="row perks-container">
125
+
126
+            {{ counter = 1 }}
127
+            {{ home_field[0]["perks"] }}
128
+
129
+                {{ if counter < 4 }}
130
+
131
+                        <div class="col-12 col-md-4 perks">
132
+                            <img src="../assets/images/wallpaper1.jpg" alt="...">
133
+                            <div class="card-body d-flex flex-column">
134
+                                <h5 class="card-title fw-bolder">{{ title }} </h5>
135
+                                <p class="card-text text-secondary2 mt-auto">{{ description }}</p>
136
+                            </div>
137
+                        </div>
138
+                    
139
+                {{ endif }}
140
+
141
+                {{ counter = counter + 1}}
142
+                
143
+            {{ /home_field[0]["perks"] }}
144
+
145
+        </div>
146
+
147
+        <div class="collapse" id="morePerk">
148
+            <div class="row perks-container">
149
+
150
+                {{ counter = 1 }}
151
+                {{ home_field[0]["perks"] }}
152
+
153
+                    {{ if counter > 3 }}
154
+
155
+                        <div class="col-12 col-md-4 perks">
156
+                            <img src="../assets/images/wallpaper1.jpg" alt="...">
157
+                            <div class="card-body">
158
+                                <h5 class="card-title fw-bolder">{{ title }} </h5>
159
+                                <p class="card-text text-secondary2">{{ description }}</p>
160
+                            </div>
161
+                        </div>
162
+
163
+                    {{ endif }}
164
+
165
+                    {{ counter = counter + 1}}
166
+                    
167
+                {{ /home_field[0]["perks"] }}
168
+
170 169
             </div>
171 170
         </div>
172 171
 
172
+        <div class="d-flex pb-5">
173
+            <button class="btn-amics fw-bold mx-auto text-light" type="button" data-bs-toggle="collapse"
174
+                data-bs-target="#morePerk">
175
+                Explore More
176
+            </button>
177
+        </div>
178
+
173 179
     </div>
174 180
 
175 181
 </section>

Loading…
Cancelar
Guardar