Skip to content

Commit 271fadb

Browse files
feat: review crafted for web devs (#371)
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
1 parent 3d0ff6f commit 271fadb

File tree

6 files changed

+16
-26
lines changed

6 files changed

+16
-26
lines changed

src/components/Build/index.tsx

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import Guide from "@site/src/components/Guide";
22
import Angular from "@site/static/icons/angular.svg";
33
import Astro from "@site/static/icons/astro.svg";
4-
import JavaScript from "@site/static/icons/javascript.svg";
54
import NextJS from "@site/static/icons/nextjs.svg";
6-
import NodeJS from "@site/static/icons/nodejs.svg";
75
import ReactLogo from "@site/static/icons/react.svg";
86
import Rust from "@site/static/icons/rust.svg";
97
import Svelte from "@site/static/icons/svelte.svg";
@@ -13,10 +11,11 @@ import styles from "./styles.module.scss";
1311
export default function Build(): JSX.Element {
1412
return (
1513
<div className={styles.section}>
16-
<h2 className={styles.sub}>Crafted for web devs</h2>
14+
<h2 className={styles.sub}>Crafted for Web Devs</h2>
1715
<p className={styles.build}>
18-
There are numerous ways to develop on Juno without sacrificing your
19-
preferred tech stack
16+
Use the frontend frameworks you{" "}
17+
<span className="visually-hidden">love</span>❤️ and write serverless
18+
functions in Rust.
2019
</p>
2120

2221
<div className={styles.grid}>
@@ -25,50 +24,32 @@ export default function Build(): JSX.Element {
2524
link="/docs/guides/nextjs"
2625
icon={<NextJS />}
2726
/>
28-
2927
<Guide
3028
title="Use Juno with React"
3129
link="/docs/guides/React"
3230
icon={<ReactLogo />}
3331
/>
34-
3532
<Guide
3633
title="Use Juno with SvelteKit"
3734
link="/docs/guides/sveltekit"
3835
icon={<Svelte />}
3936
/>
40-
4137
<Guide
4238
title="Use Juno with Vue"
4339
link="/docs/guides/vue"
4440
icon={<Vue />}
4541
/>
46-
4742
<Guide
4843
title="Use Juno with Angular"
4944
link="/docs/guides/angular"
5045
icon={<Angular />}
5146
/>
52-
5347
<Guide
5448
title="Use Juno with Astro"
5549
link="/docs/guides/astro"
5650
icon={<Astro />}
5751
/>
58-
59-
<Guide
60-
title="A vanilla JavaScript example showcasing most of Juno's features"
61-
link="https://github.com/junobuild/examples/tree/main/vanilla"
62-
icon={<JavaScript />}
63-
external={true}
64-
/>
65-
66-
<Guide
67-
title="Use Juno in non-interactive environment with NodeJS."
68-
link="/docs/guides/nodejs"
69-
icon={<NodeJS />}
70-
/>
71-
52+
7253
<Guide
7354
title="Juno can also be extended with serverless functions written in Rust."
7455
link="/docs/guides/rust"

src/components/Build/styles.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
display: flex;
1111
flex-wrap: wrap;
1212
justify-content: center;
13+
align-items: center;
1314
gap: 1rem;
1415
padding: 0.75rem 0 4rem;
1516
margin: 0 0 4rem;

src/css/a11y.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.visually-hidden {
2+
clip: rect(0 0 0 0);
3+
clip-path: inset(100%);
4+
height: 1px;
5+
overflow: hidden;
6+
position: absolute;
7+
white-space: nowrap;
8+
width: 1px;
9+
}

src/css/custom.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
@use "navbar";
99
@use "search";
1010
@use "table";
11+
@use "a11y";

static/icons/javascript.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

static/icons/nodejs.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)