added a call to action btn to menue
							parent
							
								
									682a1df459
								
							
						
					
					
						commit
						263648a74c
					
				| 
						 | 
				
			
			@ -94,6 +94,18 @@
 | 
			
		|||
                                </a>
 | 
			
		||||
                            </li>
 | 
			
		||||
                        @endif
 | 
			
		||||
 | 
			
		||||
                        @if($_menue_button)
 | 
			
		||||
 | 
			
		||||
                            <li class="nav-item ms-md-5">
 | 
			
		||||
                                <a href="{{$_menue_button_link}}" class="btn btn-primary position-relative d-block mt-1 text-light">
 | 
			
		||||
                                    {{$_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
 | 
			
		||||
                                </a>
 | 
			
		||||
                            </li>
 | 
			
		||||
                        @endif
 | 
			
		||||
                    </ul>
 | 
			
		||||
                </div>
 | 
			
		||||
            @endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -198,6 +198,39 @@
 | 
			
		|||
      }
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  {
 | 
			
		||||
    "icon": "/font-awesome/light/palette.svg",
 | 
			
		||||
    "group_name": "Hauptmenü",
 | 
			
		||||
    "description": "Here you can configure some Design and Layout settings.",
 | 
			
		||||
    "variables": [
 | 
			
		||||
      {
 | 
			
		||||
        "id": "menue_button",
 | 
			
		||||
        "name": "Schaltfäche Menü",
 | 
			
		||||
        "type": "boolean",
 | 
			
		||||
        "required": true
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        "id": "menue_button_link",
 | 
			
		||||
        "name": "Schatfläche Link",
 | 
			
		||||
        "type": "string",
 | 
			
		||||
        "required": true
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        "id": "menue_button_text",
 | 
			
		||||
        "name": "Schatfläche Text",
 | 
			
		||||
        "type": "string",
 | 
			
		||||
        "required": true
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        "id": "menue_button_external",
 | 
			
		||||
        "name": "Ist der Link external?",
 | 
			
		||||
        "type": "boolean",
 | 
			
		||||
        "required": true
 | 
			
		||||
      }
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  {
 | 
			
		||||
    "icon": "/font-awesome/light/map-pin.svg",
 | 
			
		||||
    "group_name": "Statische Seiten",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue