mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
performance, accessibility, best practices and seo improvements
This commit is contained in:
parent
cab911d935
commit
ee854adc1f
4 changed files with 3 additions and 7 deletions
|
|
@ -39,8 +39,3 @@ $positions: 40px, 50px, 80px;
|
||||||
.w-full {
|
.w-full {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Contrast fix
|
|
||||||
.bg-success-subtle.text-success {
|
|
||||||
color: #157247 !important;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -60,3 +60,4 @@ sylius:
|
||||||
order_history: 'Order history'
|
order_history: 'Order history'
|
||||||
personal_information: 'Personal information'
|
personal_information: 'Personal information'
|
||||||
top_bar: 'Sign up to our newsletter and grab -20% off'
|
top_bar: 'Sign up to our newsletter and grab -20% off'
|
||||||
|
meta_description: 'Explore the Sylius – a flexible e-commerce platform built on Symfony. Discover features to customize your online store and test its capabilities!'
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,4 @@
|
||||||
{% set path = asset('build/shop/images/200x200.png', 'shop') %}
|
{% set path = asset('build/shop/images/200x200.png', 'shop') %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<img {{ attributes.defaults({ class: 'img-fluid' }) }} src="{{ path }}" {{ sylius_test_html_attribute('main-image') }} alt="Product {{ product.name }} picture" />
|
<img {{ attributes.defaults({ class: 'img-fluid' }) }} src="{{ path }}" {{ sylius_test_html_attribute('main-image') }} alt="{{ 'sylius.ui.product'|trans }} {{ product.name }} {{ 'sylius.ui.image'|trans }}" />
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,9 @@
|
||||||
<title>{% block title %}{{ sylius.channel.name }}{% endblock %}</title>
|
<title>{% block title %}{{ sylius.channel.name }}{% endblock %}</title>
|
||||||
|
|
||||||
<meta content="width=device-width, initial-scale=1, maximum-scale=5, user-scalable=yes" name="viewport">
|
<meta content="width=device-width, initial-scale=1, maximum-scale=5, user-scalable=yes" name="viewport">
|
||||||
<meta name="description" content="Explore the Sylius demo – a flexible e-commerce platform built on Symfony. Discover features to customize your online store and test its capabilities!"/>
|
|
||||||
|
|
||||||
{% block metatags %}
|
{% block metatags %}
|
||||||
|
<meta name="description" content="{{ 'sylius.meta_description'|trans }}"/>
|
||||||
{% hook '#metatags' with { _prefixes: prefixes } %}
|
{% hook '#metatags' with { _prefixes: prefixes } %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue