diff --git a/front-page.php b/front-page.php index b4db670..ad07dd0 100644 --- a/front-page.php +++ b/front-page.php @@ -1,5 +1,7 @@ +
+
- \ No newline at end of file + diff --git a/frontend/docker-compose.yml b/frontend/docker-compose.yml index 5bd36be..023ccf1 100644 --- a/frontend/docker-compose.yml +++ b/frontend/docker-compose.yml @@ -7,5 +7,4 @@ services: - ./src:/app/src - ./public:/app/public ports: - - 5173:5173 - restart: always + - 5173:5173 diff --git a/frontend/src/styles/components/article-item.css b/frontend/src/styles/components/article-item.css index 18ca61b..008f451 100644 --- a/frontend/src/styles/components/article-item.css +++ b/frontend/src/styles/components/article-item.css @@ -8,6 +8,17 @@ margin-left: -1px; } +.main-title-mob{ + display: none; + font-weight: bold; + color: #006842; + margin: 12px 0 12px 0; +} + +.article-item-mob{ + display: none; +} + @media (max-width: 1024px) { .article-item { width: 100%; @@ -119,6 +130,15 @@ } @media (max-width: 767px) { + + .article-item-mob{ + display: block; + } + + .main-title-mob{ + display: block; + } + .article-item__image-container img { height: auto; } diff --git a/frontend/src/styles/components/hero.css b/frontend/src/styles/components/hero.css index a267731..422ed52 100644 --- a/frontend/src/styles/components/hero.css +++ b/frontend/src/styles/components/hero.css @@ -73,6 +73,7 @@ .hero__container { padding: 0; + display: none; } .hero__inner { diff --git a/frontend/src/styles/components/menu.css b/frontend/src/styles/components/menu.css index 2bf0f80..c2f7467 100644 --- a/frontend/src/styles/components/menu.css +++ b/frontend/src/styles/components/menu.css @@ -65,6 +65,7 @@ @media (max-width: 767px) { .menu { + display: none; padding: 1.5rem 0; overflow: auto; background: #edefe4; diff --git a/partials/pinned-post-mob.php b/partials/pinned-post-mob.php new file mode 100644 index 0000000..9c9d63e --- /dev/null +++ b/partials/pinned-post-mob.php @@ -0,0 +1,26 @@ + + +
Главное
+ +
+ + ID ); ?> +
+
+
+ ID); ?> +

ID); ?>

+
+
+ + \ No newline at end of file diff --git a/partials/pinned-post.php b/partials/pinned-post.php index 96102f9..dfd691f 100644 --- a/partials/pinned-post.php +++ b/partials/pinned-post.php @@ -1,6 +1,15 @@