diff --git a/wp-content/themes/cosmopet/modules/static-pages/production/template-prod-page.php b/wp-content/themes/cosmopet/modules/static-pages/production/template-prod-page.php index 67a4370..8e6d34a 100644 --- a/wp-content/themes/cosmopet/modules/static-pages/production/template-prod-page.php +++ b/wp-content/themes/cosmopet/modules/static-pages/production/template-prod-page.php @@ -9,10 +9,9 @@ false, 'version' => '1.0.0']); +wp_enqueue_style('gp-front-page-style', get_template_directory_uri() . '/static/css/front-page.css'); +wp_enqueue_style('gp-prod-page-style', get_template_directory_uri() . '/static/css/production-page.css'); +wp_enqueue_script( 'gp-prod-page-main', get_template_directory_uri() . '/static/js/production-page.js', array(), null, true ); }); $context = Timber::get_context(); diff --git a/wp-content/themes/cosmopet/static/production/css/style.css b/wp-content/themes/cosmopet/static/css/production-page.css similarity index 100% rename from wp-content/themes/cosmopet/static/production/css/style.css rename to wp-content/themes/cosmopet/static/css/production-page.css diff --git a/wp-content/themes/cosmopet/static/production/img/cat_dog.png b/wp-content/themes/cosmopet/static/img/cat_dog copy.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/cat_dog.png rename to wp-content/themes/cosmopet/static/img/cat_dog copy.png diff --git a/wp-content/themes/cosmopet/static/production/img/feed1.png b/wp-content/themes/cosmopet/static/img/feed1.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/feed1.png rename to wp-content/themes/cosmopet/static/img/feed1.png diff --git a/wp-content/themes/cosmopet/static/production/img/feed2.png b/wp-content/themes/cosmopet/static/img/feed2.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/feed2.png rename to wp-content/themes/cosmopet/static/img/feed2.png diff --git a/wp-content/themes/cosmopet/static/production/img/feed3.png b/wp-content/themes/cosmopet/static/img/feed3.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/feed3.png rename to wp-content/themes/cosmopet/static/img/feed3.png diff --git a/wp-content/themes/cosmopet/static/production/img/feed4.png b/wp-content/themes/cosmopet/static/img/feed4.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/feed4.png rename to wp-content/themes/cosmopet/static/img/feed4.png diff --git a/wp-content/themes/cosmopet/static/production/img/feed5.png b/wp-content/themes/cosmopet/static/img/feed5.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/feed5.png rename to wp-content/themes/cosmopet/static/img/feed5.png diff --git a/wp-content/themes/cosmopet/static/production/img/feed6.png b/wp-content/themes/cosmopet/static/img/feed6.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/feed6.png rename to wp-content/themes/cosmopet/static/img/feed6.png diff --git a/wp-content/themes/cosmopet/static/production/img/feed7.png b/wp-content/themes/cosmopet/static/img/feed7.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/feed7.png rename to wp-content/themes/cosmopet/static/img/feed7.png diff --git a/wp-content/themes/cosmopet/static/production/img/feed8.png b/wp-content/themes/cosmopet/static/img/feed8.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/feed8.png rename to wp-content/themes/cosmopet/static/img/feed8.png diff --git a/wp-content/themes/cosmopet/static/production/img/home-line.svg b/wp-content/themes/cosmopet/static/img/home-line copy.svg similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/home-line.svg rename to wp-content/themes/cosmopet/static/img/home-line copy.svg diff --git a/wp-content/themes/cosmopet/static/production/img/home-line2.svg b/wp-content/themes/cosmopet/static/img/home-line2 copy.svg similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/home-line2.svg rename to wp-content/themes/cosmopet/static/img/home-line2 copy.svg diff --git a/wp-content/themes/cosmopet/static/production/img/production_main.png b/wp-content/themes/cosmopet/static/img/production_main.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/production_main.png rename to wp-content/themes/cosmopet/static/img/production_main.png diff --git a/wp-content/themes/cosmopet/static/production/img/production_slider1.png b/wp-content/themes/cosmopet/static/img/production_slider1.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/production_slider1.png rename to wp-content/themes/cosmopet/static/img/production_slider1.png diff --git a/wp-content/themes/cosmopet/static/production/img/production_slider2.png b/wp-content/themes/cosmopet/static/img/production_slider2.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/production_slider2.png rename to wp-content/themes/cosmopet/static/img/production_slider2.png diff --git a/wp-content/themes/cosmopet/static/production/img/production_slider3.png b/wp-content/themes/cosmopet/static/img/production_slider3.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/production_slider3.png rename to wp-content/themes/cosmopet/static/img/production_slider3.png diff --git a/wp-content/themes/cosmopet/static/production/img/production_slider4.png b/wp-content/themes/cosmopet/static/img/production_slider4.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/production_slider4.png rename to wp-content/themes/cosmopet/static/img/production_slider4.png diff --git a/wp-content/themes/cosmopet/static/production/img/production_slider5.png b/wp-content/themes/cosmopet/static/img/production_slider5.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/production_slider5.png rename to wp-content/themes/cosmopet/static/img/production_slider5.png diff --git a/wp-content/themes/cosmopet/static/production/img/production_step1.png b/wp-content/themes/cosmopet/static/img/production_step1.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/production_step1.png rename to wp-content/themes/cosmopet/static/img/production_step1.png diff --git a/wp-content/themes/cosmopet/static/production/img/production_step2.png b/wp-content/themes/cosmopet/static/img/production_step2.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/production_step2.png rename to wp-content/themes/cosmopet/static/img/production_step2.png diff --git a/wp-content/themes/cosmopet/static/production/img/production_step3.png b/wp-content/themes/cosmopet/static/img/production_step3.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/production_step3.png rename to wp-content/themes/cosmopet/static/img/production_step3.png diff --git a/wp-content/themes/cosmopet/static/production/img/production_step4.png b/wp-content/themes/cosmopet/static/img/production_step4.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/production_step4.png rename to wp-content/themes/cosmopet/static/img/production_step4.png diff --git a/wp-content/themes/cosmopet/static/production/img/production_step5.png b/wp-content/themes/cosmopet/static/img/production_step5.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/production_step5.png rename to wp-content/themes/cosmopet/static/img/production_step5.png diff --git a/wp-content/themes/cosmopet/static/production/img/production_step6.png b/wp-content/themes/cosmopet/static/img/production_step6.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/production_step6.png rename to wp-content/themes/cosmopet/static/img/production_step6.png diff --git a/wp-content/themes/cosmopet/static/production/img/production_step7.png b/wp-content/themes/cosmopet/static/img/production_step7.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/production_step7.png rename to wp-content/themes/cosmopet/static/img/production_step7.png diff --git a/wp-content/themes/cosmopet/static/production/img/production_step8.png b/wp-content/themes/cosmopet/static/img/production_step8.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/production_step8.png rename to wp-content/themes/cosmopet/static/img/production_step8.png diff --git a/wp-content/themes/cosmopet/static/production/img/slider-next.svg b/wp-content/themes/cosmopet/static/img/slider-next copy.svg similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/slider-next.svg rename to wp-content/themes/cosmopet/static/img/slider-next copy.svg diff --git a/wp-content/themes/cosmopet/static/production/img/slider-prev.svg b/wp-content/themes/cosmopet/static/img/slider-prev copy.svg similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/slider-prev.svg rename to wp-content/themes/cosmopet/static/img/slider-prev copy.svg diff --git a/wp-content/themes/cosmopet/static/production/img/step_border.svg b/wp-content/themes/cosmopet/static/img/step_border.svg similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/step_border.svg rename to wp-content/themes/cosmopet/static/img/step_border.svg diff --git a/wp-content/themes/cosmopet/static/production/img/step_line1.png b/wp-content/themes/cosmopet/static/img/step_line1.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/step_line1.png rename to wp-content/themes/cosmopet/static/img/step_line1.png diff --git a/wp-content/themes/cosmopet/static/production/img/step_line2.png b/wp-content/themes/cosmopet/static/img/step_line2.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/step_line2.png rename to wp-content/themes/cosmopet/static/img/step_line2.png diff --git a/wp-content/themes/cosmopet/static/production/img/step_line3.png b/wp-content/themes/cosmopet/static/img/step_line3.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/step_line3.png rename to wp-content/themes/cosmopet/static/img/step_line3.png diff --git a/wp-content/themes/cosmopet/static/production/img/step_line4.png b/wp-content/themes/cosmopet/static/img/step_line4.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/step_line4.png rename to wp-content/themes/cosmopet/static/img/step_line4.png diff --git a/wp-content/themes/cosmopet/static/production/img/step_line5.png b/wp-content/themes/cosmopet/static/img/step_line5.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/step_line5.png rename to wp-content/themes/cosmopet/static/img/step_line5.png diff --git a/wp-content/themes/cosmopet/static/production/img/step_line6.png b/wp-content/themes/cosmopet/static/img/step_line6.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/step_line6.png rename to wp-content/themes/cosmopet/static/img/step_line6.png diff --git a/wp-content/themes/cosmopet/static/production/img/step_line7.png b/wp-content/themes/cosmopet/static/img/step_line7.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/step_line7.png rename to wp-content/themes/cosmopet/static/img/step_line7.png diff --git a/wp-content/themes/cosmopet/static/production/img/step_line8.png b/wp-content/themes/cosmopet/static/img/step_line8.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/step_line8.png rename to wp-content/themes/cosmopet/static/img/step_line8.png diff --git a/wp-content/themes/cosmopet/static/production/img/steps_main_photo.png b/wp-content/themes/cosmopet/static/img/steps_main_photo.png similarity index 100% rename from wp-content/themes/cosmopet/static/production/img/steps_main_photo.png rename to wp-content/themes/cosmopet/static/img/steps_main_photo.png diff --git a/wp-content/themes/cosmopet/static/production/js/script.js b/wp-content/themes/cosmopet/static/js/production-page.js similarity index 100% rename from wp-content/themes/cosmopet/static/production/js/script.js rename to wp-content/themes/cosmopet/static/js/production-page.js diff --git a/wp-content/themes/cosmopet/templates/_pages/production.twig b/wp-content/themes/cosmopet/templates/_pages/production.twig index 2ae13ca..fe6a75e 100644 --- a/wp-content/themes/cosmopet/templates/_pages/production.twig +++ b/wp-content/themes/cosmopet/templates/_pages/production.twig @@ -12,15 +12,15 @@

{{title}}

{{btn_text}} - - + + - hero image + hero image
- +
{% for item in desc %}

{{ item.text }}

@@ -58,7 +58,7 @@
{% endfor %} - + {% endif %} @@ -92,9 +92,9 @@ {% endfor %}
- - - + + +
@@ -129,8 +129,8 @@ {% endfor %}
- - + +
@@ -165,8 +165,8 @@ {% endfor %}
- - + +
@@ -192,7 +192,7 @@ {% endfor %} -
+