Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions assets/icons/close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/icons/search.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions assets/images/logo-text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions src/components/header/header.component.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json

name: Header
group: Components
status: stable
props:
type: object
properties:
header__menu:
type: array
title: Menu Items
description: The list of menu items to display in the header.
items:
type: object
properties:
label:
type: string
url:
type: string
submenu:
type: array
data:
- label: Academics
submenu:
- label: Undergraduate
url: #
- label: Postgraduate
url: #
- label: Admissions
url: /admissions
submenu:
- label: International
url: #
- label: Domestic
url: #
- label: Research
url: #
- label: About
url: #
header__search_placeholder:
type: string
title: Search Placeholder
description: The placeholder text for the search input.
data: Search placeholder
slots:
header__branding:
title: Branding
description: Branding content (logo, site name, etc).
header__menu:
title: Menu
description: Navigation menu content.
header__search:
title: Search
description: Search form content.
Loading
Loading