Skip to content
Merged
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
headline: Image Text Column
image:
src: /assets/images/getting-started/embedded/primary-card-vapor-logo.jpg
alt: a place holder
Expand Down
12 changes: 12 additions & 0 deletions _data/new-data/get-started/storybook/image-text-row.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
headline: Image Text Row
image:
src: /assets/images/getting-started/embedded/primary-card-vapor-logo.jpg
alt: a place holder
copy:
headline: Low memory footprint with massive performance.
paragraphs:
- 'Culture of Code migrated the infrasture that supports Things to Swift and saw a massive reduction in both cost and response time.'
- 'Leveraging Swift’s built-in features as well as frameworks to enable rapid development, they were able to improve their customer experience without sacrificing time.'
link:
text: Read more
href: '#'
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<div class="image-text-column content-wrapper">
<div
class="image-text-row content-wrapper{% if include.background %} background{% endif %}"
>
{% if include.headline %}
<h2>{{ include.content.headline }}</h2>
{% endif %}
<div class="card-wrapper">
<img
src="{{ include.content.image.src }}"
Expand Down
23 changes: 22 additions & 1 deletion assets/stylesheets/new-stylesheets/pages/_get-started.scss
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,30 @@
}
}

.image-text-column {
.image-text-row {
margin: 60px auto 70px;

&.background {
border-radius: 22px;
padding: 28px 50px 25px 50px;
background: var(--get-started-card-primary-bg);
box-sizing: border-box;

.card-wrapper:first-child {
// Maintain vertical space when there is no headline
margin-top: 10px;
}

@media only screen and (max-width: 768px) {
padding-bottom: 8px;

.card-wrapper:first-child {
// Maintain vertical space when there is no headline
margin-top: 0;
}
}
}

h2 {
font-size: 48px;
margin-bottom: 44px;
Expand Down
2 changes: 1 addition & 1 deletion get-started/cloud-services/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ title: Use case

{% include new-includes/components/card-grid.html content = site.data.new-data.get-started.cloud-services.tertiary-content-cloud-native %}

{% include new-includes/components/image-text-column.html content = site.data.new-data.get-started.cloud-services.image-text-column %}
{% include new-includes/components/image-text-row.html content = site.data.new-data.get-started.cloud-services.image-text-row %}

{% include new-includes/components/headline-section.html content = site.data.new-data.get-started.cloud-services.headline-section %}

Expand Down
4 changes: 3 additions & 1 deletion get-started/storybook/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ title: Storybook
content=site.data.new-data.get-started.storybook.code-text-row
%}

{% include new-includes/components/image-text-column.html content = site.data.new-data.get-started.storybook.image-text-column %}
{% include new-includes/components/image-text-row.html content = site.data.new-data.get-started.storybook.image-text-row %}

{% include new-includes/components/image-text-row.html content = site.data.new-data.get-started.storybook.image-text-row-bg background = true %}

{% include new-includes/components/headline-section.html content = site.data.new-data.get-started.storybook.headline-section %}

Expand Down