-
Notifications
You must be signed in to change notification settings - Fork 20
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 #4279 from alphagov/landing-page-tasks-plural-page…
…-demo Add a demo of a tasks (plural) type of landing-page
- Loading branch information
Showing
1 changed file
with
105 additions
and
0 deletions.
There are no files selected for viewing
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,105 @@ | ||
blocks: | ||
- type: main_navigation | ||
links: | ||
- text: Ipsums for Lorem | ||
href: /ipsum | ||
- text: Our Lorem | ||
href: /landing-page/sub-page-1 | ||
children: | ||
- text: Child 1 | ||
href: /a | ||
- text: Child 2 | ||
href: /b | ||
title: Service name | ||
title_link: /landing-page | ||
- type: hero | ||
image: | ||
alt: "Placeholder alt text" | ||
sources: | ||
desktop: "landing_page/placeholder/desktop.png" | ||
desktop_2x: "landing_page/placeholder/desktop_2x.png" | ||
mobile: "landing_page/placeholder/mobile.png" | ||
mobile_2x: "landing_page/placeholder/mobile_2x.png" | ||
tablet: "landing_page/placeholder/tablet.png" | ||
tablet_2x: "landing_page/placeholder/tablet_2x.png" | ||
hero_content: | ||
blocks: | ||
- type: govspeak | ||
inverse: true | ||
content: | | ||
<h2>Rorem ipsum dolor sit</h2> | ||
<p>Yorem ipsum dolor sit amet, consectetur | ||
adipiscing elit. Nunc vulputate libero et velit | ||
interdum, ac aliquet odio mattis class.</p> | ||
- type: action_link | ||
inverse: true | ||
text: "Learn more about our goals" | ||
href: "todo" | ||
- type: two_column_layout | ||
theme: one_third_two_thirds | ||
blocks: | ||
- type: side_navigation | ||
- type: blocks_container | ||
blocks: | ||
- type: card | ||
image: | ||
alt: "Placeholder alt text" | ||
source: "landing_page/placeholder/chart.png" | ||
card_content: | ||
blocks: | ||
- type: govspeak | ||
inverse: true | ||
content: <h2><a href="http://gov.uk">Rorem ipsum dolor sit amet, consectetur adipiscing elit.</a></h2> | ||
- type: card | ||
image: | ||
alt: "Placeholder alt text" | ||
source: "landing_page/placeholder/chart.png" | ||
card_content: | ||
blocks: | ||
- type: govspeak | ||
inverse: true | ||
content: <h2><a href="http://gov.uk">Rorem ipsum dolor sit amet, consectetur adipiscing elit.</a></h2> | ||
- type: card | ||
image: | ||
alt: "Placeholder alt text" | ||
source: "landing_page/placeholder/chart.png" | ||
card_content: | ||
blocks: | ||
- type: govspeak | ||
inverse: true | ||
content: <h2><a href="http://gov.uk">Rorem ipsum dolor sit amet, consectetur adipiscing elit.</a></h2> | ||
- type: card | ||
image: | ||
alt: "Placeholder alt text" | ||
source: "landing_page/placeholder/chart.png" | ||
card_content: | ||
blocks: | ||
- type: govspeak | ||
inverse: true | ||
content: <h2><a href="http://gov.uk">Rorem ipsum dolor sit amet, consectetur adipiscing elit.</a></h2> | ||
- type: card | ||
image: | ||
alt: "Placeholder alt text" | ||
source: "landing_page/placeholder/chart.png" | ||
card_content: | ||
blocks: | ||
- type: govspeak | ||
inverse: true | ||
content: <h2><a href="http://gov.uk">Rorem ipsum dolor sit amet, consectetur adipiscing elit.</a></h2> | ||
- type: share_links | ||
links: | ||
- href: "/twitter-share-link" | ||
text: "Twitter" | ||
icon: "twitter" | ||
- href: "/instagram-share-link" | ||
text: "Instagram" | ||
icon: "instagram" | ||
- href: "/flickr-share-link" | ||
text: "Flickr" | ||
icon: "flickr" | ||
- href: "/facebook-share-link" | ||
text: "Facebook" | ||
icon: "facebook" | ||
- href: "/youtube-share-link" | ||
text: "YouTube" | ||
icon: "youtube" |