Skip to content

Commit

Permalink
Add main menu block to other yml files
Browse files Browse the repository at this point in the history
  • Loading branch information
AshGDS committed Nov 15, 2024
1 parent 1881e2d commit 1b8db5e
Show file tree
Hide file tree
Showing 7 changed files with 259 additions and 14 deletions.
39 changes: 37 additions & 2 deletions lib/data/landing_page_content_items/be_kinder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,43 @@ navigation_groups:
- text: Be thankful
href: "/landing-page/be-thankful"
blocks:
- type: main_navigation
navigation_group_id: Top Menu
- type: main_menu
button_label: "Landing page menu"
groups:
- heading: "First heading"
links:
- text: Landing page homepage very long text here to demonstrate wrapping
href: "/landing-page/homepage"
- text: Landing page homepage
href: "/landing-page/homepage"
- text: Landing page homepage
href: "/landing-page/homepage"
- heading: "Goals"
links:
- text: Goal 1
href: "/landing-page/goal-1"
- text: Goal 2 very long text here to demonstrate wrapping
href: "/landing-page/goal-2"
- text: Goal 3
href: "/landing-page/goal-3"
- text: Goal 4
href: "/landing-page/goal-4"
- text: Goal 5
href: "/landing-page/goal-5"
- text: Goal 6
href: "/landing-page/goal-6"
- heading: "Tasks"
links:
- text: Be kinder
href: "/landing-page/be-kinder"
- text: Exercise more
href: "/landing-page/exercise-more"
- text: Donate to charity and this has extra text to demonstrate more wrapping
href: "/landing-page/donate-to-charity"
- text: Learn something new
href: "/landing-page/learn-something-new"
- text: Be thankful
href: "/landing-page/be-thankful"
- type: hero
image:
alt: "Placeholder alt text"
Expand Down
39 changes: 37 additions & 2 deletions lib/data/landing_page_content_items/be_thankful.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,43 @@ navigation_groups:
- text: Be thankful
href: "/landing-page/be-thankful"
blocks:
- type: main_navigation
navigation_group_id: Top Menu
- type: main_menu
button_label: "Landing page menu"
groups:
- heading: "First heading"
links:
- text: Landing page homepage very long text here to demonstrate wrapping
href: "/landing-page/homepage"
- text: Landing page homepage
href: "/landing-page/homepage"
- text: Landing page homepage
href: "/landing-page/homepage"
- heading: "Goals"
links:
- text: Goal 1
href: "/landing-page/goal-1"
- text: Goal 2 very long text here to demonstrate wrapping
href: "/landing-page/goal-2"
- text: Goal 3
href: "/landing-page/goal-3"
- text: Goal 4
href: "/landing-page/goal-4"
- text: Goal 5
href: "/landing-page/goal-5"
- text: Goal 6
href: "/landing-page/goal-6"
- heading: "Tasks"
links:
- text: Be kinder
href: "/landing-page/be-kinder"
- text: Exercise more
href: "/landing-page/exercise-more"
- text: Donate to charity and this has extra text to demonstrate more wrapping
href: "/landing-page/donate-to-charity"
- text: Learn something new
href: "/landing-page/learn-something-new"
- text: Be thankful
href: "/landing-page/be-thankful"
- type: hero
image:
alt: "Placeholder alt text"
Expand Down
39 changes: 37 additions & 2 deletions lib/data/landing_page_content_items/donate_to_charity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,43 @@ navigation_groups:
- text: Be thankful
href: "/landing-page/be-thankful"
blocks:
- type: main_navigation
navigation_group_id: Top Menu
- type: main_menu
button_label: "Landing page menu"
groups:
- heading: "First heading"
links:
- text: Landing page homepage very long text here to demonstrate wrapping
href: "/landing-page/homepage"
- text: Landing page homepage
href: "/landing-page/homepage"
- text: Landing page homepage
href: "/landing-page/homepage"
- heading: "Goals"
links:
- text: Goal 1
href: "/landing-page/goal-1"
- text: Goal 2 very long text here to demonstrate wrapping
href: "/landing-page/goal-2"
- text: Goal 3
href: "/landing-page/goal-3"
- text: Goal 4
href: "/landing-page/goal-4"
- text: Goal 5
href: "/landing-page/goal-5"
- text: Goal 6
href: "/landing-page/goal-6"
- heading: "Tasks"
links:
- text: Be kinder
href: "/landing-page/be-kinder"
- text: Exercise more
href: "/landing-page/exercise-more"
- text: Donate to charity and this has extra text to demonstrate more wrapping
href: "/landing-page/donate-to-charity"
- text: Learn something new
href: "/landing-page/learn-something-new"
- text: Be thankful
href: "/landing-page/be-thankful"
- type: hero
image:
alt: "Placeholder alt text"
Expand Down
39 changes: 37 additions & 2 deletions lib/data/landing_page_content_items/exercise_more.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,43 @@ navigation_groups:
- text: Be thankful
href: "/landing-page/be-thankful"
blocks:
- type: main_navigation
navigation_group_id: Top Menu
- type: main_menu
button_label: "Landing page menu"
groups:
- heading: "First heading"
links:
- text: Landing page homepage very long text here to demonstrate wrapping
href: "/landing-page/homepage"
- text: Landing page homepage
href: "/landing-page/homepage"
- text: Landing page homepage
href: "/landing-page/homepage"
- heading: "Goals"
links:
- text: Goal 1
href: "/landing-page/goal-1"
- text: Goal 2 very long text here to demonstrate wrapping
href: "/landing-page/goal-2"
- text: Goal 3
href: "/landing-page/goal-3"
- text: Goal 4
href: "/landing-page/goal-4"
- text: Goal 5
href: "/landing-page/goal-5"
- text: Goal 6
href: "/landing-page/goal-6"
- heading: "Tasks"
links:
- text: Be kinder
href: "/landing-page/be-kinder"
- text: Exercise more
href: "/landing-page/exercise-more"
- text: Donate to charity and this has extra text to demonstrate more wrapping
href: "/landing-page/donate-to-charity"
- text: Learn something new
href: "/landing-page/learn-something-new"
- text: Be thankful
href: "/landing-page/be-thankful"
- type: hero
image:
alt: "Placeholder alt text"
Expand Down
39 changes: 37 additions & 2 deletions lib/data/landing_page_content_items/goals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,43 @@ navigation_groups:
- text: Be thankful
href: "/landing-page/be-thankful"
blocks:
- type: main_navigation
navigation_group_id: Top Menu
- type: main_menu
button_label: "Landing page menu"
groups:
- heading: "First heading"
links:
- text: Landing page homepage very long text here to demonstrate wrapping
href: "/landing-page/homepage"
- text: Landing page homepage
href: "/landing-page/homepage"
- text: Landing page homepage
href: "/landing-page/homepage"
- heading: "Goals"
links:
- text: Goal 1
href: "/landing-page/goal-1"
- text: Goal 2 very long text here to demonstrate wrapping
href: "/landing-page/goal-2"
- text: Goal 3
href: "/landing-page/goal-3"
- text: Goal 4
href: "/landing-page/goal-4"
- text: Goal 5
href: "/landing-page/goal-5"
- text: Goal 6
href: "/landing-page/goal-6"
- heading: "Tasks"
links:
- text: Be kinder
href: "/landing-page/be-kinder"
- text: Exercise more
href: "/landing-page/exercise-more"
- text: Donate to charity and this has extra text to demonstrate more wrapping
href: "/landing-page/donate-to-charity"
- text: Learn something new
href: "/landing-page/learn-something-new"
- text: Be thankful
href: "/landing-page/be-thankful"
- type: hero
image:
alt: "Placeholder alt text"
Expand Down
39 changes: 37 additions & 2 deletions lib/data/landing_page_content_items/learn_something_new.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,43 @@ navigation_groups:
- text: Be thankful
href: "/landing-page/be-thankful"
blocks:
- type: main_navigation
navigation_group_id: Top Menu
- type: main_menu
button_label: "Landing page menu"
groups:
- heading: "First heading"
links:
- text: Landing page homepage very long text here to demonstrate wrapping
href: "/landing-page/homepage"
- text: Landing page homepage
href: "/landing-page/homepage"
- text: Landing page homepage
href: "/landing-page/homepage"
- heading: "Goals"
links:
- text: Goal 1
href: "/landing-page/goal-1"
- text: Goal 2 very long text here to demonstrate wrapping
href: "/landing-page/goal-2"
- text: Goal 3
href: "/landing-page/goal-3"
- text: Goal 4
href: "/landing-page/goal-4"
- text: Goal 5
href: "/landing-page/goal-5"
- text: Goal 6
href: "/landing-page/goal-6"
- heading: "Tasks"
links:
- text: Be kinder
href: "/landing-page/be-kinder"
- text: Exercise more
href: "/landing-page/exercise-more"
- text: Donate to charity and this has extra text to demonstrate more wrapping
href: "/landing-page/donate-to-charity"
- text: Learn something new
href: "/landing-page/learn-something-new"
- text: Be thankful
href: "/landing-page/be-thankful"
- type: hero
image:
alt: "Placeholder alt text"
Expand Down
39 changes: 37 additions & 2 deletions lib/data/landing_page_content_items/tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,43 @@ navigation_groups:
- text: Be thankful
href: "/landing-page/be-thankful"
blocks:
- type: main_navigation
navigation_group_id: Top Menu
- type: main_menu
button_label: "Landing page menu"
groups:
- heading: "First heading"
links:
- text: Landing page homepage very long text here to demonstrate wrapping
href: "/landing-page/homepage"
- text: Landing page homepage
href: "/landing-page/homepage"
- text: Landing page homepage
href: "/landing-page/homepage"
- heading: "Goals"
links:
- text: Goal 1
href: "/landing-page/goal-1"
- text: Goal 2 very long text here to demonstrate wrapping
href: "/landing-page/goal-2"
- text: Goal 3
href: "/landing-page/goal-3"
- text: Goal 4
href: "/landing-page/goal-4"
- text: Goal 5
href: "/landing-page/goal-5"
- text: Goal 6
href: "/landing-page/goal-6"
- heading: "Tasks"
links:
- text: Be kinder
href: "/landing-page/be-kinder"
- text: Exercise more
href: "/landing-page/exercise-more"
- text: Donate to charity and this has extra text to demonstrate more wrapping
href: "/landing-page/donate-to-charity"
- text: Learn something new
href: "/landing-page/learn-something-new"
- text: Be thankful
href: "/landing-page/be-thankful"
- type: hero
image:
alt: "Placeholder alt text"
Expand Down

0 comments on commit 1b8db5e

Please sign in to comment.