From 468fddc8663147e53933da4f2e598dbc8daa1a1e Mon Sep 17 00:00:00 2001 From: maksim Date: Sat, 14 Jun 2025 14:14:39 +0300 Subject: [PATCH] =?UTF-8?q?Andrei=20|=20=D1=80=D0=B5=D1=84=D0=B0=D0=BA?= =?UTF-8?q?=D1=82=D0=BE=D1=80=D0=B8=D0=BD=D0=B3=20=D0=BF=D1=80=D0=BE=D0=B5?= =?UTF-8?q?=D0=BA=D1=82=D0=B0=20(=D1=80=D0=B0=D0=B7=D0=BD=D0=B5=D1=81=20?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D1=82=D0=B8=D0=BA=D1=83=20=D1=81=D1=82=D1=80?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D1=86=D1=8B=20=D0=BF=D1=80=D0=BE=D0=B8=D0=B7?= =?UTF-8?q?=D0=B2=D0=BE=D0=B4=D1=81=D1=82=D0=B2=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../production/template-prod-page.php | 7 ++--- .../css/style.css => css/production-page.css} | 0 .../img/cat_dog.png => img/cat_dog copy.png} | Bin .../static/{production => }/img/feed1.png | Bin .../static/{production => }/img/feed2.png | Bin .../static/{production => }/img/feed3.png | Bin .../static/{production => }/img/feed4.png | Bin .../static/{production => }/img/feed5.png | Bin .../static/{production => }/img/feed6.png | Bin .../static/{production => }/img/feed7.png | Bin .../static/{production => }/img/feed8.png | Bin .../home-line.svg => img/home-line copy.svg} | 0 .../home-line2 copy.svg} | 0 .../{production => }/img/production_main.png | Bin .../img/production_slider1.png | Bin .../img/production_slider2.png | Bin .../img/production_slider3.png | Bin .../img/production_slider4.png | Bin .../img/production_slider5.png | Bin .../{production => }/img/production_step1.png | Bin .../{production => }/img/production_step2.png | Bin .../{production => }/img/production_step3.png | Bin .../{production => }/img/production_step4.png | Bin .../{production => }/img/production_step5.png | Bin .../{production => }/img/production_step6.png | Bin .../{production => }/img/production_step7.png | Bin .../{production => }/img/production_step8.png | Bin .../slider-next copy.svg} | 0 .../slider-prev copy.svg} | 0 .../{production => }/img/step_border.svg | 0 .../{production => }/img/step_line1.png | Bin .../{production => }/img/step_line2.png | Bin .../{production => }/img/step_line3.png | Bin .../{production => }/img/step_line4.png | Bin .../{production => }/img/step_line5.png | Bin .../{production => }/img/step_line6.png | Bin .../{production => }/img/step_line7.png | Bin .../{production => }/img/step_line8.png | Bin .../{production => }/img/steps_main_photo.png | Bin .../js/script.js => js/production-page.js} | 0 .../cosmopet/templates/_pages/production.twig | 26 +++++++++--------- 41 files changed, 16 insertions(+), 17 deletions(-) rename wp-content/themes/cosmopet/static/{production/css/style.css => css/production-page.css} (100%) rename wp-content/themes/cosmopet/static/{production/img/cat_dog.png => img/cat_dog copy.png} (100%) rename wp-content/themes/cosmopet/static/{production => }/img/feed1.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/feed2.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/feed3.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/feed4.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/feed5.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/feed6.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/feed7.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/feed8.png (100%) rename wp-content/themes/cosmopet/static/{production/img/home-line.svg => img/home-line copy.svg} (100%) rename wp-content/themes/cosmopet/static/{production/img/home-line2.svg => img/home-line2 copy.svg} (100%) rename wp-content/themes/cosmopet/static/{production => }/img/production_main.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/production_slider1.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/production_slider2.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/production_slider3.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/production_slider4.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/production_slider5.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/production_step1.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/production_step2.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/production_step3.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/production_step4.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/production_step5.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/production_step6.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/production_step7.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/production_step8.png (100%) rename wp-content/themes/cosmopet/static/{production/img/slider-next.svg => img/slider-next copy.svg} (100%) rename wp-content/themes/cosmopet/static/{production/img/slider-prev.svg => img/slider-prev copy.svg} (100%) rename wp-content/themes/cosmopet/static/{production => }/img/step_border.svg (100%) rename wp-content/themes/cosmopet/static/{production => }/img/step_line1.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/step_line2.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/step_line3.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/step_line4.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/step_line5.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/step_line6.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/step_line7.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/step_line8.png (100%) rename wp-content/themes/cosmopet/static/{production => }/img/steps_main_photo.png (100%) rename wp-content/themes/cosmopet/static/{production/js/script.js => js/production-page.js} (100%) 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 %} -
+