Skip to content

Commit 88ace23

Browse files
feat: review snippet texts shorter
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
1 parent 751d346 commit 88ace23

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

src/components/Snippets/index.tsx

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,32 @@ export default function Snippets(): JSX.Element {
6161
return (
6262
<div className={styles.grid}>
6363
<ul className={styles.list}>
64+
<li>
65+
<button
66+
onClick={() => setSnippet("hosting")}
67+
className={`${styles.btn} ${snippet === "hosting" ? styles.active : ""} button button--juno`}
68+
>
69+
<Feature
70+
title="Hosting"
71+
text="Static sites, SPA, SSG"
72+
link={
73+
<Link to="/docs/build/hosting" className={styles.link}>
74+
Learn more
75+
</Link>
76+
}
77+
icon={<Hosting />}
78+
/>
79+
</button>
80+
</li>
81+
6482
<li>
6583
<button
6684
onClick={() => setSnippet("auth")}
6785
className={`${styles.btn} ${snippet === "auth" ? styles.active : ""} button button--juno`}
6886
>
6987
<Feature
7088
title="Authentication"
71-
text="Add privacy-first authentication to your app."
89+
text="Google, GitHub, Passkeys and Internet Identity"
7290
link={
7391
<Link to="/docs/build/authentication" className={styles.link}>
7492
Learn more
@@ -86,7 +104,7 @@ export default function Snippets(): JSX.Element {
86104
>
87105
<Feature
88106
title="Datastore"
89-
text="SStore JSON documents in collections with a simple key–value model."
107+
text="Simple key–value store (NoSQL like)"
90108
link={
91109
<Link to="/docs/build/datastore" className={styles.link}>
92110
Learn more
@@ -104,7 +122,7 @@ export default function Snippets(): JSX.Element {
104122
>
105123
<Feature
106124
title="Storage"
107-
text="Upload and serve user-generated files and images with access control."
125+
text="File storage with access control"
108126
link={
109127
<Link to="/docs/build/storage" className={styles.link}>
110128
Learn more
@@ -115,32 +133,14 @@ export default function Snippets(): JSX.Element {
115133
</button>
116134
</li>
117135

118-
<li>
119-
<button
120-
onClick={() => setSnippet("hosting")}
121-
className={`${styles.btn} ${snippet === "hosting" ? styles.active : ""} button button--juno`}
122-
>
123-
<Feature
124-
title="Hosting"
125-
text="Serve your app globally on custom domains. No infra, just config."
126-
link={
127-
<Link to="/docs/build/hosting" className={styles.link}>
128-
Learn more
129-
</Link>
130-
}
131-
icon={<Hosting />}
132-
/>
133-
</button>
134-
</li>
135-
136136
<li>
137137
<button
138138
onClick={() => setSnippet("functions")}
139139
className={`${styles.btn} ${snippet === "functions" ? styles.active : ""} button button--juno`}
140140
>
141141
<Feature
142142
title="Functions"
143-
text="Run serverless functions in Rust or TypeScript with hooks and assertions."
143+
text="Serverless functions with Rust or TypeScript"
144144
link={
145145
<Link to="/docs/build/functions" className={styles.link}>
146146
Learn more
@@ -158,7 +158,7 @@ export default function Snippets(): JSX.Element {
158158
>
159159
<Feature
160160
title="Analytics"
161-
text="Capture privacy-friendly, open-source web analytic. No cookies."
161+
text="Privacy-friendly web analytics"
162162
link={
163163
<Link to="/docs/build/analytics" className={styles.link}>
164164
Learn more

0 commit comments

Comments
 (0)