Parcourir la source

pin to correct API or image files

staging
azri il y a 1 semaine
Parent
révision
75f2088c70
3 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 2
    2
      public/js/main.js
  2. 2
    2
      resources/js/main.js
  3. 1
    1
      resources/views/article/index.antlers copy.html

+ 2
- 2
public/js/main.js Voir le fichier

@@ -11083,7 +11083,7 @@ $(document).ready(function () {
11083 11083
               $(newField).on('click', function () {
11084 11084
                 handleClickFieldLocation(city, state, field_name, newField);
11085 11085
               });
11086
-              $(newField).find('.field-location-img').attr("style", "background-image:url(https://thebola.club/files/".concat(photo_path, ")"));
11086
+              $(newField).find('.field-location-img').attr("style", "background-image:url(https://api.thebola.club/files/".concat(photo_path, ")"));
11087 11087
               $(container).append(newField);
11088 11088
             });
11089 11089
           } catch (err) {
@@ -11123,7 +11123,7 @@ $(document).ready(function () {
11123 11123
             $(newField).on('click', function () {
11124 11124
               handleClickField(slot_rules, newField);
11125 11125
             });
11126
-            $(newField).find('.field-img').attr("style", "background-image:url(https://thebola.club/files/".concat(photo_path, ")"));
11126
+            $(newField).find('.field-img').attr("style", "background-image:url(https://api.thebola.club/files/".concat(photo_path, ")"));
11127 11127
             $(container).append(newField);
11128 11128
           });
11129 11129
         } catch (err) {

+ 2
- 2
resources/js/main.js Voir le fichier

@@ -145,7 +145,7 @@ $(document).ready(function () {
145 145
                             $(newField).addClass("select-field")
146 146
                             $(newField).find('.field-location-text').text("")
147 147
                             $(newField).on('click', ()=>{ handleClickFieldLocation(city, state, field_name, newField) })
148
-                            $(newField).find('.field-location-img').attr("style", `background-image:url(https://thebola.club/files/${photo_path})`)
148
+                            $(newField).find('.field-location-img').attr("style", `background-image:url(https://api.thebola.club/files/${photo_path})`)
149 149
                             $(container).append(newField)
150 150
 
151 151
                         });
@@ -186,7 +186,7 @@ $(document).ready(function () {
186 186
                     $(newField).addClass("select-field")
187 187
                     $(newField).find('.field-text').text(location_name)
188 188
                     $(newField).on('click', ()=>{ handleClickField(slot_rules, newField)})
189
-                    $(newField).find('.field-img').attr("style", `background-image:url(https://thebola.club/files/${photo_path})`)
189
+                    $(newField).find('.field-img').attr("style", `background-image:url(https://api.thebola.club/files/${photo_path})`)
190 190
                     $(container).append(newField)
191 191
 
192 192
                 });

+ 1
- 1
resources/views/article/index.antlers copy.html Voir le fichier

@@ -2,7 +2,7 @@
2 2
     <div class="text-md-center text-light section-2" style="background-image: url(./assets/image/dbparticle2.png);">
3 3
         <div class="container-fluid p-0 m-0" data-aos="zoom-in" >
4 4
             <p class="db-h3 text-highlight">News</p>
5
-            <p class="mx-auto p-0 about-paragraph db-h5">You can book benue and field to organize your matches according to your preferred date and time.</p>
5
+            <p class="mx-auto p-0 about-paragraph db-h5">You can book venue and field to organize your matches according to your preferred date and time.</p>
6 6
         </div>
7 7
     </div>
8 8
 </section>

Chargement…
Annuler
Enregistrer