Skip to content

Commit d3bb7ee

Browse files
jesseabordenJesse Borden
andauthored
chor(storybook): Update content. (#1031)
Co-authored-by: Jesse Borden <jborden@apple.com>
1 parent 16d7d41 commit d3bb7ee

15 files changed

+127
-133
lines changed
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
title: Card Grid Mixed with Hero
22
hero_card:
33
url: /assets/images/placeholders/image_placeholder_large@2x.png
4-
alt: 'A Macbook Pro next to a computer chip.'
4+
alt: An alt description
55
tertiary_cards:
6-
- name: swift-openai-generator
7-
text: Generate Swift client and server code from an OpenAPI document.
8-
link_text: by Apple
6+
- name: A title
7+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
8+
link_text: Lorem ipsum
99
link: #
10-
- name: swift-grpc
11-
text: The Swift language implementation of gRPC.
12-
link_text: by grpc
10+
- name: A title
11+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
12+
link_text: Lorem ipsum
1313
link: #
14-
- name: MongoKitten
15-
text: Pure Swift MongoDB drive built for Server Side Swift.
16-
link_text: by Orlandos
14+
- name: A title
15+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
16+
link_text: Lorem ipsum
1717
link: #
18-
- name: Swift Kafka Client
19-
text: Provides a convenient way to interact with Apache Kafka.
20-
link_text:
18+
- name: A title
19+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
20+
link_text: Lorem ipsum
2121
link: #
Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
11
image: /assets/images/get-started/package.png
2-
image_alt: Package image for Open Source Frameworks & Packages section
2+
image_alt: An alt description
33
title: Card Grid Mixed
44
link:
5-
text: View More at Swift Package Index
5+
text: Lorem Ipsum
66
url: /
77
primary_cards:
8-
- name: Vapor
9-
logo: /assets/images/getting-started/embedded/primary-card-vapor-logo.jpg
10-
logo_alt: Vapor logo
11-
text: Vapor provides a safe, performant and easy to use foundation to build HTTP servers, backends and APIs in Swift.
12-
link_text: Vapor
13-
link: /
14-
- name: Hummingbird
15-
logo_alt: Hummingbird logo
16-
logo: /assets/images/getting-started/embedded/pimary-card-hummingbird-logo.jpg
17-
text: Hummingbird is a lightweight, flexible modern web application framework that runs on top of a SwiftNIO based server implementation. It is designed to require the minimum number of dependencies.
18-
link_text: Hummingbird
8+
- name: Lorem
9+
logo: /assets/images/placeholders/image_placeholder_large@2x.png
10+
logo_alt: An alt description
11+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
12+
link_text: Lorem
13+
link: /
14+
- name: Ipsum
15+
logo_alt: An alt description
16+
logo: /assets/images/placeholders/image_placeholder_large@2x.png
17+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
18+
link_text: Ipsum
1919
link: /
2020
secondary_cards:
21-
- name: Vapor
22-
logo: /assets/images/getting-started/embedded/secondary-card-vapor-logo.jpg
23-
logo_alt: Vapor logo
24-
text: Vapor provides a safe, performant and easy to use foundation to build HTTP servers, backends and APIs in Swift.
25-
link_text: Vapor
26-
link: /
27-
- name: Hummingbird
28-
logo_alt: Hummingbird logo
29-
logo: /assets/images/getting-started/embedded/secondary-card-vapor-logo.jpg
30-
text: Hummingbird is a lightweight, flexible modern web application framework that runs on top of a SwiftNIO based server implementation. It is designed to require the minimum number of dependencies.
31-
link_text: Hummingbird
21+
- name: Lorem
22+
logo: /assets/images/placeholders/image_placeholder_large@2x.png
23+
logo_alt: An alt description
24+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
25+
link_text: Lorem
26+
link: /
27+
- name: Ipsum
28+
logo_alt: An alt description
29+
logo: /assets/images/placeholders/image_placeholder_large@2x.png
30+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
31+
link_text: Ipsum
3232
link: /
3333
tertiary_cards:
34-
- name: swift-openai-generator
35-
text: Generate Swift client and server code from an OpenAPI document.
36-
link_text: by Apple
37-
link: /
38-
- name: swift-grpc
39-
text: The Swift language implementation of gRPC.
40-
link_text: by grpc
41-
link: /
42-
- name: MongoKitten
43-
text: Pure Swift MongoDB drive built for Server Side Swift.
44-
link_text: by Orlandos
45-
link: /
46-
- name: Swift Kafka Client
47-
text: Provides a convenient way to interact with Apache Kafka.
48-
link_text: by Swift Server Workgroup
49-
link: /
34+
- name: A title
35+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
36+
link_text: Lorem ipsum
37+
link: #
38+
- name: A title
39+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
40+
link_text: Lorem ipsum
41+
link: #
42+
- name: A title
43+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
44+
link_text: Lorem ipsum
45+
link: #
46+
- name: A title
47+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
48+
link_text: Lorem ipsum
49+
link: #

_data/new-data/get-started/storybook/code-image-column.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
headline: Code Image Row
2-
body: Optional body content. Optional body content. Optional body content. Optional body content. Optional body content.
2+
body: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
33
link:
44
url: https://github.com/apple/swift-mmio
55
text: Optional Link
66
image:
7-
url: /assets/images/getting-started/embedded/primary-card-vapor-logo.jpg
7+
url: /assets/images/placeholders/image_placeholder_large@2x.png
88
alt: A place holder image
99
code: |-
1010
let vegetable = "red pepper"

_data/new-data/get-started/storybook/code-text-row.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
headline: Code Text Row
22
copy:
3-
headline: Low memory footprint with massive performance.
3+
headline: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
44
paragraphs:
5-
- 'Swift provides verifiable memory safety every time you compile your code, preventing programming errors from escalating into security vulnerabilities. Swift can protect against data races, and provides type safety, lifetime safety, and more. And when interacting with code written in memory unsafe languages, Swift has a strict mode to enable additional memory safety checks.'
5+
- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
66
link:
7-
text: Vapor
7+
text: Lorem
88
url: /
99
code: |-
1010
let vegetable = "red pepper"

_data/new-data/get-started/storybook/full-width-text-code-column.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
headline: Full Width Text Code Column
22
paragraphs:
3-
- The Swift MMIO library offers high-level type-safe access to HW registers, but still compiles down to optimal instruction sequences. (something something zero-cost abstractions…)
3+
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
44
link:
55
url: /
66
text: Learn More
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
headline: Full Width Text Image Column
22
paragraphs:
3-
- The Swift MMIO library offers high-level type-safe access to HW registers, but still compiles down to optimal instruction sequences. (something something zero-cost abstractions…)
4-
- Another paragraph to illustrate that you can add an array of paragraph elements.
3+
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
4+
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
55
link:
66
url: /
7-
text: Learn More
7+
text: Lorem ipsum
88
image:
9-
url: /assets/images/getting-started/embedded/primary-card-vapor-logo.jpg
10-
alt: An fpo image
9+
url: /assets/images/placeholders/image_placeholder_large@2x.png
10+
alt: An alt description
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
headline: Headline Section
2-
body: Embedded Swift is a full-feature subset. The resulting binaries are small and self-contained, and easy to integrate into your existing projects.
2+
body: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
33
link:
44
href: '#'
5-
copy: View Guides
5+
copy: Lorem ipsum
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
- title: Safe
2-
text: Modern software built to last must be free of memory corruption bugs. Swift offers the highest-level guarantees of memory safety, and you can get those in your embedded projects with Embedded Swift, too.
3-
- title: Interoperable
4-
text: Swift's excellent support for seemless integration with C and C++ code works just as well in Embedded Swift. Existing SDKs and API from your vendors can be directly used in your Swift code.
5-
- title: Small binaries
6-
text: Embedded Swift produces self-contained binaries with a tiny footprint and minimal system dependencies. Meaningful binaries can be tens of kilobytes or even less in size.
1+
- title: Lorem
2+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
3+
- title: Ipsum
4+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
5+
- title: Lorem
6+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
url: /assets/images/placeholders/image_placeholder_large@2x.png
2-
alt: 'A Macbook Pro next to a computer chip.'
2+
alt: Lorem ipsum dolor sit amet, consectetur adipiscing elit.

_data/new-data/get-started/storybook/hero.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ link:
55
text: A CTA
66
boxes:
77
- title: Box 1
8-
text: Modern software built to last must be free of memory corruption bugs. Swift offers the highest-level guarantees of memory safety, and you can get those in your embedded projects with Embedded Swift, too.
8+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
99
- title: Box 2
10-
text: Swift's excellent support for seemless integration with C and C++ code works just as well in Embedded Swift. Existing SDKs and API from your vendors can be directly used in your Swift code.
10+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
1111
- title: Box 3
12-
text: Swift's excellent support for seemless integration with C and C++ code works...
12+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
image:
2-
src: /assets/images/getting-started/embedded/primary-card-vapor-logo.jpg
3-
alt: a place holder
2+
src: /assets/images/placeholders/image_placeholder_large@2x.png
3+
alt: An alt description
44
copy:
5-
headline: Low memory footprint with massive performance.
5+
headline: Lorem ipsum dolor
66
paragraphs:
7-
- 'Culture of Code migrated the infrasture that supports Things to Swift and saw a massive reduction in both cost and response time.'
8-
- '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.'
7+
- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
8+
- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
99
link:
10-
text: Read more
10+
text: Lorem ipsum
1111
href: '#'
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
headline: Image Text Row
22
image:
3-
src: /assets/images/getting-started/embedded/primary-card-vapor-logo.jpg
3+
src: /assets/images/placeholders/image_placeholder_large@2x.png
44
alt: a place holder
55
copy:
6-
headline: Low memory footprint with massive performance.
6+
headline: Lorem Ipsum
77
paragraphs:
8-
- 'Culture of Code migrated the infrasture that supports Things to Swift and saw a massive reduction in both cost and response time.'
9-
- '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.'
8+
- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
9+
- 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
1010
link:
1111
text: Read more
1212
href: '#'
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
image: /assets/images/get-started/package.png
2-
image_alt: Package image for Open Source Frameworks & Packages section
1+
image: /assets/images/placeholders/image_placeholder_large@2x.png
2+
image_alt: An alt description
33
title: Primary Content Cards
44
primary_cards:
5-
- name: Vapor
6-
logo: /assets/images/getting-started/embedded/primary-card-vapor-logo.jpg
7-
logo_alt: Vapor logo
8-
text: Vapor provides a safe, performant and easy to use foundation to build HTTP servers, backends and APIs in Swift.
9-
link_text: Vapor
5+
- name: Lorem
6+
logo: /assets/images/placeholders/image_placeholder_large@2x.png
7+
logo_alt: Lorem logo
8+
text: Lorem provides a safe, performant and easy to use foundation to build HTTP servers, backends and APIs in Swift.
9+
link_text: Lorem
1010
link: /
11-
- name: Hummingbird
12-
logo_alt: Hummingbird logo
13-
logo: /assets/images/getting-started/embedded/pimary-card-hummingbird-logo.jpg
14-
text: Hummingbird is a lightweight, flexible modern web application framework that runs on top of a SwiftNIO based server implementation. It is designed to require the minimum number of dependencies.
15-
link_text: Hummingbird
11+
- name: Ipsum
12+
logo_alt: An alt description
13+
logo: /assets/images/placeholders/image_placeholder_large@2x.png
14+
text: Ipsum is a lightweight, flexible modern web application framework that runs on top of a SwiftNIO based server implementation. It is designed to require the minimum number of dependencies.
15+
link_text: Ipsum
1616
link: /
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
image: /assets/images/get-started/package.png
2-
image_alt: Package image for Open Source Frameworks & Packages section
1+
image: /assets/images/placeholders/image_placeholder_large@2x.png
2+
image_alt: An alt description
33
title: Secondary Content Cards
44
secondary_cards:
5-
- name: Vapor
6-
logo: /assets/images/getting-started/embedded/secondary-card-vapor-logo.jpg
7-
logo_alt: Vapor logo
8-
text: Vapor provides a safe, performant and easy to use foundation to build HTTP servers, backends and APIs in Swift.
9-
link_text: Vapor
5+
- name: Lorem
6+
logo: /assets/images/placeholders/image_placeholder_large@2x.png
7+
logo_alt: Lorem logo
8+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
9+
link_text: Lorem
1010
link: /
11-
- name: Hummingbird
12-
logo_alt: Hummingbird logo
13-
logo: /assets/images/getting-started/embedded/secondary-card-vapor-logo.jpg
14-
text: Hummingbird is a lightweight, flexible modern web application framework that runs on top of a SwiftNIO based server implementation. It is designed to require the minimum number of dependencies.
15-
link_text: Hummingbird
11+
- name: Ipsum
12+
logo_alt: Ipsum logo
13+
logo: /assets/images/placeholders/image_placeholder_large@2x.png
14+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
15+
link_text: Ipsum
1616
link: /
Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,20 @@
1-
image: /assets/images/get-started/package.png
2-
image_alt: Package image for Open Source Frameworks & Packages section
1+
image: /assets/images/placeholders/image_placeholder_large@2x.png
2+
image_alt: An alt description
33
title: Tertiary Content Cards
44
tertiary_cards:
5-
- name: MongoKitten
6-
text: Generate Swift client and server code from an OpenAPI document.
7-
link_text: by Apple
8-
link: /
9-
image:
10-
url: /assets/images/getting-started/embedded/secondary-card-vapor-logo.jpg
11-
alt: alt text
12-
- name: Swift Kafka Client
13-
text: The Swift language implementation of gRPC.
14-
link_text: by grpc
15-
link: /
16-
image:
17-
url: /assets/images/getting-started/embedded/secondary-card-vapor-logo.jpg
18-
alt: alt text
19-
- name: MongoKitten
5+
- name: A title
6+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
7+
link_text: Lorem ipsum
8+
link: #
9+
- name: A title
10+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
11+
link_text: Lorem ipsum
12+
link: #
13+
- name: A title
2014
text: Pure Swift MongoDB drive built for Server Side Swift.
21-
link_text: by Orlandos
22-
link: /
23-
- name: Swift Kafka Client
24-
text: Provides a convenient way to interact with Apache Kafka.
25-
link_text: by Swift Server Workgroup
26-
link: /
15+
link_text: Lorem ipsum
16+
link: #
17+
- name: A title
18+
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
19+
link_text: Lorem ipsum
20+
link: #

0 commit comments

Comments
 (0)