Skip to content

Commit

Permalink
Merge pull request #60 from BitBagCommerce/OPSRC-591/fix_displaying_s…
Browse files Browse the repository at this point in the history
…ylius_logo

OPSRC-591/Fix displaying sylius logo bug
  • Loading branch information
fabulousPuppet authored Jul 29, 2022
2 parents f817e71 + 4c7409c commit 84044c4
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<a class="item" href="{{ path('sylius_admin_dashboard') }}" style="padding: 13px 0;">
<div style="max-width: 90px; margin: 0 auto;">
<img src="{{ asset('build/admin/images/admin-logo.svg', 'admin') }}" class="ui fluid image">
</div>
</a>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{% include '@SyliusUi/Security/_login.html.twig'
with {
'action': path('sylius_admin_login_check'),
'paths': {'logo': asset('build/admin/images/logo.png', 'admin')}
}
%}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div class="ui basic segment">
<div class="ui large text menu">
<div class="ui small image">
<a href="{{ path('sylius_shop_homepage') }}"><img src="{{ asset('build/shop/images/logo.png', 'shop') }}" /></a>
</div>
<div class="right menu">
{% if order.customer.id|default(null) is not null %}
<div class="item" id="purchaser-email" {{ sylius_test_html_attribute('purchaser-name-or-email') }}>{{ 'sylius.ui.checking_out_as'|trans }} {{ app.user is null ? order.customer.email : order.customer.fullName|default(order.customer.email) }}.</div>
{% else %}
<a href="{{ path('sylius_shop_login') }}" class="item">{{ 'sylius.ui.sign_in'|trans }}</a>
{% endif %}
</div>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{% extends '@SyliusShop/layout.html.twig' %}
{% block top %}
{% endblock %}
{% block header %}
{% include '@SyliusShop/Checkout/_header.html.twig' %}
{% endblock %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<img class="ui fluid image" src="{{ asset('build/shop/images/homepage-banner.jpg', 'shop') }}" alt="Sylius">
<div class="ui hidden divider"></div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<div class="four wide column">
<a href="https://sylius.com/plus" target="_blank" style="display: inline-block; text-align: center;">
<h4 class="ui inverted header" style="color: #808080;">
Need even more features?
<div class="sub header" style="padding: 5px 0;">Check Sylius Plus out!</div>
</h4>
<img class="ui fluid image" style="max-width: 170px;" src="{{ asset('build/shop/images/sylius-plus-banner.png', 'shop') }}" alt="Sylius Plus">
</a>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="column">
<a href="{{ path('sylius_shop_homepage') }}">
<img src="{{ asset('build/shop/images/logo.png', 'shop') }}" alt="Sylius logo" class="ui small image" />
</a>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{% extends '@SyliusShop/layout.html.twig' %}

{% block content %}
<h2 class="ui center aligned icon header">
<img src="{{ asset('build/shop/images/logo.png', 'shop') }}" alt="Sylius logo" class="ui small image" />
<br/><br/>
{{ 'sylius.ui.server_has_encountered_some_errors'|trans }}
</h2>
{% endblock %}

0 comments on commit 84044c4

Please sign in to comment.