Skip to content

Commit

Permalink
Merge pull request #46 from thelia/Typos
Browse files Browse the repository at this point in the history
fix typos on subHeader include causing wrong path
  • Loading branch information
leanormandon authored Aug 8, 2024
2 parents 3677752 + 9db954a commit 66962bf
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion category.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% block body %}
{% set products = resources('/api/front/products', {'productCategories.category.id': attr('category', 'id'), itemsPerPage:9}) %}

{% include '@components/Layout/SubHeader/Category/SubheaderCategory.twig' with {title: attr('category', 'title'), description: attr('category', 'description'), nbProducts: products|length} %}
{% include '@components/Layout/Subheader/Category/SubheaderCategory.twig' with {title: attr('category', 'title'), description: attr('category', 'description'), nbProducts: products|length} %}

<section class="px-6 lg:px-[120px] py-6 lg:flex lg:gap-[115px] lg:justify-between">
<div class="w-[310px] lg:block hidden mt-[44px] sticky top-20">
Expand Down
2 changes: 1 addition & 1 deletion components/account-address.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}
] %}

{% include '@components/Layout/SubHeader/TitleOnly/SubheaderTitle.twig' with {title: "Mes adresses de livraison", position: "centered" } %}
{% include '@components/Layout/Subheader/TitleOnly/SubheaderTitle.twig' with {title: "Mes adresses de livraison", position: "centered" } %}

<div class="flex flex-col items-center justify-center mt-6 md:mt-11 mb-[80px] md:mb-[120px] px-6">
<div class="grid w-full max-w-screen-xl grid-cols-1 gap-6 mx-auto md:grid-cols-2">
Expand Down
2 changes: 1 addition & 1 deletion components/account-orders.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
}
] %}

{% include '@components/Layout/SubHeader/Orders/SubheaderOrders.twig' with {title: "Mes commandes"} %}
{% include '@components/Layout/Subheader/Orders/SubheaderOrders.twig' with {title: "Mes commandes"} %}

<div class="grid max-w-screen-xl grid-cols-1 gap-6 mx-auto md:grid-cols-2 mt-2 md:mt-11 mb-[80px] md:mb-[120px] [&>.OrderCard]:max-w-full">
{% for order in orders %}
Expand Down
2 changes: 1 addition & 1 deletion components/account.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
{% endblock %}

{% block body %}
{% include '@components/Layout/SubHeader/TitleOnly/SubheaderTitle.twig' with {title: "Mon profil", position: "centered" } %}
{% include '@components/Layout/Subheader/TitleOnly/SubheaderTitle.twig' with {title: "Mon profil", position: "centered" } %}
{% endblock %}
2 changes: 1 addition & 1 deletion content.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
img: {url: '/legacy-image-library/category_image_'~c.id~'/full/%5E*!386,280/0/default.webp', alt: c.i18ns.i18ns.fr_FR.title}
})) %}

{% include '@components/Layout/SubHeader/ContentPage/SubheaderContentPage.twig' with {title: attr('content', 'title'), description: attr('content', 'chapo') } %}
{% include '@components/Layout/Subheader/ContentPage/SubheaderContentPage.twig' with {title: attr('content', 'title'), description: attr('content', 'chapo') } %}

<div class="px-[25px] lg:pr-[225px] lg:pl-[250px] xl:pr-[325px] xl:pl-[350px] flex gap-[173px] mt-[25px] lg:mt-[54px] mb-[80px] lg:mb-[120px]">
<article class="wysiwyg">
Expand Down
2 changes: 1 addition & 1 deletion faq.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% endblock %}

{% block body %}
{% include '@components/Layout/SubHeader/TitleOnly/SubheaderTitle.twig' with {title: "FAQ" } %}
{% include '@components/Layout/Subheader/TitleOnly/SubheaderTitle.twig' with {title: "FAQ" } %}

<div class="flex flex-col max-w-[676px] px-6 lg:px-0 mt-[24px] mb-[80px] lg:mt-[56px] lg:mb-[120px] mx-auto">
{% include '@components/Molecules/Accordion/Accordion.twig' with { title: "Une question fréquente ici ?", content: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", variant: "faq" } %}
Expand Down

0 comments on commit 66962bf

Please sign in to comment.