Initial Shopify theme
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
<footer>
|
||||
<div class="footer__copyright">
|
||||
©
|
||||
{{ 'now' | date: '%Y' }}
|
||||
{{ shop.name | link_to: routes.root_url }}, {{ powered_by_link }}
|
||||
</div>
|
||||
|
||||
<div class="footer__links">
|
||||
{% for link in section.settings.menu.links %}
|
||||
{{ link.title | link_to: link.url }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class="footer__payment">
|
||||
{% if section.settings.show_payment_icons %}
|
||||
{% for type in shop.enabled_payment_types %}
|
||||
{{ type | payment_type_svg_tag }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% stylesheet %}
|
||||
footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
footer a {
|
||||
text-decoration: none;
|
||||
color: var(--color-foreground);
|
||||
}
|
||||
footer .footer__links,
|
||||
footer .footer__payment {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
}
|
||||
{% endstylesheet %}
|
||||
|
||||
{% schema %}
|
||||
{
|
||||
"name": "t:general.footer",
|
||||
"settings": [
|
||||
{
|
||||
"type": "link_list",
|
||||
"id": "menu",
|
||||
"label": "t:labels.menu"
|
||||
},
|
||||
{
|
||||
"type": "checkbox",
|
||||
"id": "show_payment_icons",
|
||||
"label": "t:labels.show_payment_icons",
|
||||
"default": true
|
||||
}
|
||||
]
|
||||
}
|
||||
{% endschema %}
|
||||
Reference in New Issue
Block a user