Тема магазина по макету Figma
Каталог, карточка товара, корзина, оформление заказа и блог на WooCommerce. Стили разложены по слоям: токены из Figma, база, компоненты, страницы, брейкпоинты. Цвета, типографика, радиусы и отступы взяты из Variables и текстовых стилей макета, ниже по слоям хардкода нет. Иконки — Phosphor, вставляются инлайном как SVG, символами ничего не рисуется. Стили WooCommerce отключены, вёрстка своя, !important не используется.
This commit is contained in:
commit
29d10ce4cf
72 files changed
+7465
No files matched your search
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* Generic page.
|
||||
*
|
||||
* @package VyatkaShop
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
if ( function_exists( 'is_cart' ) && ( is_cart() || is_checkout() ) ) {
|
||||
the_content();
|
||||
continue;
|
||||
}
|
||||
?>
|
||||
<article class="container article-layout">
|
||||
<?php vyatka_shop_breadcrumbs( get_the_title() ); ?>
|
||||
<h1 class="page-heading"><?php the_title(); ?></h1>
|
||||
<div class="prose"><?php the_content(); ?></div>
|
||||
</article>
|
||||
<?php
|
||||
endwhile;
|
||||
|
||||
get_footer();
|
||||
Reference in new issue
Block a user