Compare commits

...

2 Commits

Author SHA1 Message Date
Gustavo Luigi fd20c1f70f change blade 2024-01-30 13:54:13 -03:00
Gustavo Luigi bca0d155f6 change json 2024-01-30 13:53:59 -03:00
2 changed files with 10 additions and 10 deletions

View File

@ -120,12 +120,12 @@
<span class="position-absolute badge rounded-pill bg-danger js-product-counter" style="display: none; bottom: -10px; right: -10px;">0</span>
</a>
@endif
@if($_menue_button)
<a href="{{$_menue_button_link}}" class="btn btn-primary position-relative d-block mt-1 text-light nav-item" @if($_menue_button_external) target="_blank" @endif>
{{$_menue_button_text}}
@if($_menue_button_external)
<svg style="fill: currentColor; width: 13px; margin-left: 2px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M336 0c-8.8 0-16 7.2-16 16s7.2 16 16 16H457.4L212.7 276.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L480 54.6V176c0 8.8 7.2 16 16 16s16-7.2 16-16V16c0-8.8-7.2-16-16-16H336zM64 32C28.7 32 0 60.7 0 96V448c0 35.3 28.7 64 64 64H416c35.3 0 64-28.7 64-64V304c0-8.8-7.2-16-16-16s-16 7.2-16 16V448c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32H208c8.8 0 16-7.2 16-16s-7.2-16-16-16H64z"/></svg>
@endif
@if($_menu_button)
<a href="{{$_menu_button_link}}" class="btn btn-primary position-relative d-block mt-1 text-light nav-item" @if($_menu_button_external) target="_blank" @endif>
{{$_menu_button_text}}
@if($_menu_button_external)
<svg style="fill: currentColor; width: 13px; margin-left: 2px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M336 0c-8.8 0-16 7.2-16 16s7.2 16 16 16H457.4L212.7 276.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L480 54.6V176c0 8.8 7.2 16 16 16s16-7.2 16-16V16c0-8.8-7.2-16-16-16H336zM64 32C28.7 32 0 60.7 0 96V448c0 35.3 28.7 64 64 64H416c35.3 0 64-28.7 64-64V304c0-8.8-7.2-16-16-16s-16 7.2-16 16V448c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32H208c8.8 0 16-7.2 16-16s-7.2-16-16-16H64z"/></svg>
@endif
</a>
@endif
</div>

View File

@ -212,25 +212,25 @@
"description": "Here you can configure some Design and Layout settings.",
"variables": [
{
"id": "menue_button",
"id": "menu_button",
"name": "Schaltfäche Menü",
"type": "boolean",
"required": true,
"variables": [
{
"id": "menue_button_link",
"id": "link",
"name": "Schatfläche Link",
"type": "string",
"required": true
},
{
"id": "menue_button_text",
"id": "text",
"name": "Schatfläche Text",
"type": "string",
"required": true
},
{
"id": "menue_button_external",
"id": "external",
"name": "Ist der Link external?",
"type": "boolean",
"required": true