-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #137 from emulsify-ds/emulsif-240-convert-menus-to…
…-support-sdc EMULSIF-240: Convert Menus to support sdc
- Loading branch information
Showing
10 changed files
with
137 additions
and
74 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
src/components/menus/breadcrumbs/breadcrumbs.component.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json | ||
|
||
name: Breadcrumbs | ||
group: Components/Menus | ||
status: stable | ||
props: | ||
type: object | ||
required: | ||
- breadcrumb | ||
properties: | ||
breadcrumb: | ||
type: array | ||
title: Breadcrumb items | ||
description: The items of the breadcrumb. | ||
data: | ||
- url: '#' | ||
text: 'Home' | ||
- url: '#' | ||
text: 'Parent Page' | ||
- text: 'Current Page' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json | ||
|
||
name: Inline Menu | ||
group: Components/Menus | ||
status: stable | ||
props: | ||
type: object | ||
required: | ||
- inline_menu_items | ||
properties: | ||
inline_menu_items: | ||
type: array | ||
title: Inline menu items | ||
description: The items of the inline menu. | ||
data: | ||
- title: 'Test' | ||
url: '#' | ||
- title: 'Number 2' | ||
url: '#' | ||
- title: 'Item Number 3' | ||
url: '#' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json | ||
|
||
name: Main Menu | ||
group: Components/Menus | ||
status: stable | ||
props: | ||
type: object | ||
required: | ||
- menu_items | ||
properties: | ||
menu_items: | ||
type: array | ||
title: Main menu items | ||
description: The items of the main menu. | ||
data: | ||
- title: 'Academics' | ||
url: '#' | ||
below: | ||
- title: 'Menu Item 1 Sub 1' | ||
url: '#' | ||
- title: 'Menu Item 1 Sub 2' | ||
url: '#' | ||
below: | ||
- title: 'Menu Item 1 Sub Sub 1' | ||
url: '#' | ||
- title: 'Menu Item 1 Sub Sub 2' | ||
url: '#' | ||
- title: 'Menu Item 1 Sub 3' | ||
url: '#' | ||
- title: 'Menu Item 1 Sub 4' | ||
url: '#' | ||
- title: 'Admissions' | ||
url: '#' | ||
below: | ||
- title: 'Menu Item 2 Sub 1' | ||
url: '#' | ||
- title: 'Menu Item 2 Sub 2' | ||
url: '#' | ||
- title: 'Menu Item 2 Sub 3' | ||
url: '#' | ||
- title: 'Research' | ||
url: '#' | ||
below: | ||
- title: 'Menu Item 3 Sub 1' | ||
url: '#' | ||
- title: 'Menu Item 3 Sub 2' | ||
url: '#' | ||
- title: 'Menu Item 3 Sub 3' | ||
url: '#' | ||
- title: 'Menu Item 3 Sub 4' | ||
url: '#' | ||
- title: 'About' | ||
url: '#' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/components/menus/social-menu/social-menu.component.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json | ||
|
||
name: Social Menu | ||
group: Components/Menus | ||
status: stable | ||
props: | ||
type: object | ||
required: | ||
- social_menu_items | ||
properties: | ||
social_menu_items: | ||
type: array | ||
title: Social menu items | ||
description: The items of the social menu. | ||
data: | ||
- title: 'Twitter' | ||
url: '#' | ||
icon: 'twitter' | ||
- title: 'Facebook' | ||
url: '#' | ||
icon: 'facebook' | ||
- title: 'Instagram' | ||
url: '#' | ||
icon: 'instagram' | ||
- title: 'LinkedIn' | ||
url: '#' | ||
icon: 'linkedin' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters