Skip to content

Commit 237ca35

Browse files
authored
Arcade demo on homepage (#3009)
* Arcade demo in about page of docs. Signed-off-by: merobi-hub <[email protected]> * Move demo to homepage component. Signed-off-by: merobi-hub <[email protected]> --------- Signed-off-by: merobi-hub <[email protected]>
1 parent 1cfa6b7 commit 237ca35

File tree

1 file changed

+17
-1
lines changed
  • docs/src/components/HomepageFeatures

1 file changed

+17
-1
lines changed

docs/src/components/HomepageFeatures/index.tsx

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const featureList: FeatureItem[] = [
5252
quality systems.
5353
</p>
5454
</>
55-
}
55+
},
5656
]
5757

5858
type FeatureItem = {
@@ -90,6 +90,22 @@ export default function HomepageFeatures(): JSX.Element {
9090
))}
9191
</div>
9292
</div>
93+
<div className="container">
94+
<div className={styles.constrain}>
95+
<h3>Interactive Demo</h3>
96+
</div>
97+
<div style={{ position: 'relative', paddingBottom: 'calc(51.71875% + 41px)', marginBottom: 40, height: 0, width: '100%' }}>
98+
<iframe
99+
src="https://demo.arcade.software/jvl9klSzforNlap3HWxS?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true"
100+
title="Marquez"
101+
frameBorder="0"
102+
loading="lazy"
103+
allowFullScreen
104+
allow="clipboard-write"
105+
style={{ position: 'absolute', top: 0, left: 0, width: '100%', height: '100%', colorScheme: 'light' }}
106+
/>
107+
</div>
108+
</div>
93109
</section>
94110
);
95111
}

0 commit comments

Comments
 (0)