logo
Information
- Folder
src/components/elements/logo
Files
Schema
$schema: http://json-schema.org/draft-07/schema
$id: /elements/logo
type: object
required:
- url
- label
- width
- height
additionalProperties: false
properties:
class:
type: string
url:
type: string
format: uri-reference
label:
type: string
width:
type: number
height:
type: number
Mocks
url: /
label: Logo
width: 273
height: 339
Template
<a
class="{{ class }}"
href="{{ url }}"
aria-label="{{ label }}"
>
<img
src="{{ url('theme://build/assets/images/logo.svg') }}"
alt="Karoline Scharf Goldschmiedin Logo"
width="{{ width }}"
height="{{ height }}"
>
</a>
Variants