A site branding component that renders a logo image wrapped in a homepage link, designed for landscape-oriented logos with consistent alignment.
Usage
{{ include('neonbyte:header-logo', {
site_logo,
}, with_context = false) }}
Props
| Property | Type | Description |
|---|---|---|
site_logo |
string | Path to the logo image file |
CSS Custom Properties
--header-logo-max-height- Maximum height for logo image (default: 44px)
Logo Configuration
Upload your site logo through the Dripyard Base theme settings:
- Navigate to Appearance in Drupal admin
- Click Settings next to the Dripyard Base theme
- Upload logo using the Logo image field
SVG format is recommended for optimal clarity and scalability.
Accessibility Features
- Semantic markup: Uses proper link structure with
rel="home" - Alt text: Provides "Home" alt text for screen readers
- High priority loading: Uses
fetchpriority="high"for above-the-fold content - Keyboard navigation: Standard link focus behavior