Skip to content

Commit cfca945

Browse files
committed
Merge branch 'new-website' into new-website--add-required-scripts
2 parents 638e45c + d723616 commit cfca945

23 files changed

Lines changed: 94 additions & 57 deletions

docs/src/collections/feature/asc-drag-drop-video.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ asset:
66
path: "/features/asc-drag-drop-demo.mp4"
77
alt: "Drag your recorded MP4 or GIF into any destination. Use it as an App Store Preview video or share a visual representation inside GitHub issues and pull requests. Directly share what you're working on in Slack or on Twitter."
88
alignment: "full-width"
9-
columnSpan: 8
9+
columnSpan: 12
1010
sortOrder: 17
1111
---
1212

docs/src/collections/feature/compare-designs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ asset:
66
path: "/features/onboarding-compare.mp4"
77
alt: "Comparing designs on top of the Simulator after exporting them from apps like Figma."
88
alignment: "full-width"
9-
columnSpan: 6
9+
columnSpan: 12
1010
sortOrder: 3
1111
---
1212

docs/src/collections/feature/location-simulation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ asset:
66
path: "../../assets/features/location-routes.png"
77
alt: "Single locations or automobile and walking routes: Test them right in the Simulator."
88
alignment: "full-width"
9-
columnSpan: 6
9+
columnSpan: 12
1010
sortOrder: 8
1111
---
1212

docs/src/collections/feature/magnify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ asset:
66
path: "/features/magnifier-color-picker.mp4"
77
alt: "Use the Color Picker and copy the value as SwiftUI Color, NSColor, or UIColor code."
88
alignment: "full-width"
9-
columnSpan: 6
9+
columnSpan: 12
1010
sortOrder: 5.3
1111
---
1212

docs/src/collections/feature/network-monitoring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ asset:
66
path: "/features/network-monitoring-demo.mp4"
77
alt: "Clicking through network requests that are done while using the Stock Analyzer app."
88
alignment: "full-width"
9-
columnSpan: 6
9+
columnSpan: 12
1010
caption: "Network Monitoring is made possible by [Pulse](https://github.com/kean/Pulse), an open-source project created by [Alex Grebenyuk](https://github.com/kean)."
1111
sortOrder: 1
1212
---

docs/src/collections/feature/recording-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ asset:
66
path: "/features/recording-example.mp4"
77
alt: "RocketSim's touch-attention mode ensures your demo is easy to follow since a touch indicator will be constantly visible."
88
alignment: "full-width"
9-
columnSpan: 8
9+
columnSpan: 6
1010
sortOrder: 16
1111
---
1212

docs/src/collections/feature/user-defaults-editor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ asset:
66
path: "/features/user-defaults-editor.mp4"
77
alt: "Test how your app responds to User Defaults changes. Quickly switch states like User Defaults-driven experiments."
88
alignment: "full-width"
9-
columnSpan: 6
9+
columnSpan: 12
1010
sortOrder: 6
1111
---
1212

docs/src/components/AppStore.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import appStoreFeatured from "../assets/app-store-featured.jpg";
3333
}
3434
</style>
3535

36-
<section class="grid section" aria-label="App Store badges">
36+
<section class="grid section" aria-label="App Store badges" data-aos="fade-in">
3737
<Image
3838
src={appStoreReview}
3939
alt='"4.7 Rating" badge from the Apple App Store, with five gold stars. The badge is black with white text and a white Apple logo, surrounded by a laurel wreath. Text at the bottom reads "App Store Reviews."'

docs/src/components/Feature.astro

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@ if (asset.alignment === "full-width") {
115115
}
116116
</style>
117117

118-
<article class="grid">
118+
<article
119+
class="grid"
120+
data-aos={asset.alignment === "full-width" ? undefined : "fade-up"}
121+
>
119122
<div
120123
class="feature-content"
121124
style={{
@@ -124,6 +127,11 @@ if (asset.alignment === "full-width") {
124127
? "2 / -2"
125128
: `${asset.alignment === "left" ? `span ${12 - asset.columnSpan}` : 1} / ${asset.alignment === "left" ? -1 : `span ${12 - asset.columnSpan}`}`,
126129
}}
130+
data-aos={asset.alignment === "full-width"
131+
? "fade-in"
132+
: asset.alignment === "left"
133+
? "fade-left"
134+
: "fade-right"}
127135
>
128136
<h3
129137
class:list={[
@@ -156,9 +164,10 @@ if (asset.alignment === "full-width") {
156164
style={{
157165
"--image-column":
158166
asset.alignment === "full-width"
159-
? "1 / -1"
167+
? `${(12 - asset.columnSpan) / 2 + 1} / span ${asset.columnSpan}`
160168
: `${asset.alignment === "left" ? 1 : `span ${asset.columnSpan}`} / ${asset.alignment === "left" ? `span ${asset.columnSpan}` : -1}`,
161169
}}
170+
data-aos={asset.alignment === "full-width" ? "fade-up" : undefined}
162171
>
163172
{
164173
asset.type === "image" ? (
@@ -181,6 +190,14 @@ if (asset.alignment === "full-width") {
181190
/>
182191
)
183192
}
184-
{parsedCaption ? <figcaption set:html={parsedCaption} /> : null}
193+
{
194+
parsedCaption ? (
195+
<figcaption
196+
set:html={parsedCaption}
197+
data-aos="fade-up"
198+
data-aos-delay="1000"
199+
/>
200+
) : null
201+
}
185202
</figure>
186203
</article>

docs/src/components/Insights.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import featureImage from "../assets/features/build-insights.png";
2626
</style>
2727

2828
<section>
29-
<div class="header-wrapper">
29+
<div class="header-wrapper" data-aos="fade-in">
3030
<SectionHeader
3131
title="RocketSim Insights"
3232
subtitle="Increase the productivity of your whole team"

0 commit comments

Comments
 (0)