Skip to content

Commit baa54b2

Browse files
authored
refactor: standardize component metadata and descriptions with 8-bit prefix (#171)
1 parent e0ed12b commit baa54b2

File tree

38 files changed

+154
-198
lines changed

38 files changed

+154
-198
lines changed

app/docs/components/alert-dialog/page.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ import InstallationCommands from "../installation-commands"
2121
import { OpenInV0Button } from "../open-in-v0-button"
2222

2323
export const metadata: Metadata = {
24-
title: "8bit Alert Dialog",
25-
description:
26-
"Displays a Alert Dialog or a component that looks like a 8-bit Alert Dialog.",
24+
title: "8-bit Alert Dialog",
25+
description: "Displays an 8-bit alert dialog component.",
2726
openGraph: {
2827
images: alertDialogMetaData,
2928
},
@@ -41,18 +40,17 @@ export default function AlertDialogPage() {
4140
</div>
4241

4342
<p className="text-muted-foreground">
44-
Displays a Alert Dialog or a component that looks like a 8-bit Alert
45-
Dialog.
43+
Displays an 8-bit alert dialog component.
4644
</p>
4745

4846
<div className="flex flex-col gap-4 border rounded-lg p-4 min-h-[450px] relative">
4947
<div className="flex items-center justify-between">
5048
<h2 className="text-sm text-muted-foreground sm:pl-3">
51-
A simple 8-bit Alert Dialog component
49+
8-bit alert dialog component
5250
</h2>
5351

5452
<div className="flex items-center gap-2">
55-
<OpenInV0Button name="8bit-badge" className="w-fit" />
53+
<OpenInV0Button name="8bit-alert-dialog" className="w-fit" />
5654
</div>
5755
</div>
5856
<div className="flex items-center justify-center min-h-[400px] relative">

app/docs/components/alert/page.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ import InstallationCommands from "../installation-commands"
1010
import { OpenInV0Button } from "../open-in-v0-button"
1111

1212
export const metadata: Metadata = {
13-
title: "8bit Alert",
14-
description:
15-
"Displays an alert or a component that looks like a 8-bit alert.",
13+
title: "8-bit Alert",
14+
description: "Displays an 8-bit alert component.",
1615
openGraph: {
1716
images: alertMetaData,
1817
},
@@ -30,13 +29,13 @@ export default function AlertPage() {
3029
</div>
3130

3231
<p className="text-muted-foreground">
33-
Displays an alert or a component that looks like a 8-bit alert.
32+
Displays an 8-bit alert component.
3433
</p>
3534

3635
<div className="flex flex-col gap-4 border rounded-lg p-4 min-h-[450px] relative">
3736
<div className="flex items-center justify-between">
3837
<h2 className="text-sm text-muted-foreground sm:pl-3">
39-
A simple 8-bit alert component
38+
8-bit alert component
4039
</h2>
4140

4241
<div className="flex items-center gap-2">

app/docs/components/avatar/page.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ import InstallationCommands from "../installation-commands"
1414
import { OpenInV0Button } from "../open-in-v0-button"
1515

1616
export const metadata: Metadata = {
17-
title: "8bit Avatar",
18-
description:
19-
"Displays an avatar or a component that looks like a 8-bit avatar.",
17+
title: "8-bit Avatar",
18+
description: "Displays an 8-bit avatar component.",
2019
openGraph: {
2120
images: avatarMetaData,
2221
},
@@ -41,7 +40,7 @@ export default function AvatarPage() {
4140
<div className="flex flex-col gap-4 border rounded-lg p-4 min-h-[450px] relative">
4241
<div className="flex items-center justify-between">
4342
<h2 className="text-sm text-muted-foreground sm:pl-3">
44-
A pixelated 8-bit avatar component
43+
8-bit avatar component
4544
</h2>
4645

4746
<div className="flex items-center gap-2">

app/docs/components/badge/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import InstallationCommands from "../installation-commands"
1010
import { OpenInV0Button } from "../open-in-v0-button"
1111

1212
export const metadata: Metadata = {
13-
title: "8bit Badge",
14-
description: "Displays a badge or a component that looks like a 8-bit badge.",
13+
title: "8-bit Badge",
14+
description: "Displays an 8-bit badge component.",
1515
openGraph: {
1616
images: badgeMetaData,
1717
},
@@ -29,13 +29,13 @@ export default function BadgePage() {
2929
</div>
3030

3131
<p className="text-muted-foreground">
32-
Displays a badge or a component that looks like a 8-bit badge.
32+
Displays an 8-bit badge component.
3333
</p>
3434

3535
<div className="flex flex-col gap-4 border rounded-lg p-4 min-h-[450px] relative">
3636
<div className="flex items-center justify-between">
3737
<h2 className="text-sm text-muted-foreground sm:pl-3">
38-
A simple 8-bit badge component
38+
8-bit badge component
3939
</h2>
4040

4141
<div className="flex items-center gap-2">

app/docs/components/breadcrumb/page.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ const pressStart = Press_Start_2P({
3232
})
3333

3434
export const metadata: Metadata = {
35-
title: "8bit Breadcrumb",
36-
description:
37-
"Displays the path to the current resource using a hierarchy of links.",
35+
title: "8-bit Breadcrumb",
36+
description: "Displays an 8-bit breadcrumb component.",
3837
openGraph: {
3938
images: breadcrumbMetaData,
4039
},
@@ -126,7 +125,7 @@ export default function BreadcrumbPageNext() {
126125
</div>
127126

128127
<p className="text-muted-foreground">
129-
Displays the path to the current resource using a hierarchy of links.
128+
Displays an 8-bit breadcrumb component.
130129
</p>
131130

132131
<div className="flex flex-col gap-4 border rounded-lg p-4 min-h-[450px] relative">

app/docs/components/button/page.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ import InstallationCommands from "../installation-commands"
1010
import { OpenInV0Button } from "../open-in-v0-button"
1111

1212
export const metadata: Metadata = {
13-
title: "8bit Button",
14-
description:
15-
"Displays a button or a component that looks like a 8-bit button.",
13+
title: "8-bit Button",
14+
description: "Displays an 8-bit button component.",
1615
openGraph: {
1716
images: buttonMetaData,
1817
},
@@ -30,13 +29,13 @@ export default function ButtonPage() {
3029
</div>
3130

3231
<p className="text-muted-foreground">
33-
Displays a button or a component that looks like a 8-bit button.
32+
Displays an 8-bit button component.
3433
</p>
3534

3635
<div className="flex flex-col gap-4 border rounded-lg p-4 min-h-[450px]">
3736
<div className="flex items-center justify-between">
3837
<h2 className="text-sm text-muted-foreground sm:pl-3">
39-
A simple 8-bit button component
38+
8-bit button component
4039
</h2>
4140

4241
<div className="flex items-center gap-2">

app/docs/components/calendar/page.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ import InstallationCommands from "../installation-commands"
1010
import { OpenInV0Button } from "../open-in-v0-button"
1111

1212
export const metadata: Metadata = {
13-
title: "8bit Calendar",
14-
description:
15-
" Displays a calendar or a component that looks like a 8-bit calendar.",
13+
title: "8-bit Calendar",
14+
description: "Displays an 8-bit calendar component.",
1615
openGraph: {
1716
images: calendarMetaData,
1817
},
@@ -30,13 +29,13 @@ const CalendarPage = () => {
3029
</div>
3130

3231
<p className="text-muted-foreground">
33-
Displays a calendar or a component that looks like a 8-bit calendar.
32+
Displays an 8-bit calendar component.
3433
</p>
3534

3635
<div className="flex flex-col gap-4 border rounded-lg p-4 min-h-[450px] relative">
3736
<div className="flex items-center justify-between">
3837
<h2 className="text-sm text-muted-foreground sm:pl-3">
39-
A simple 8-bit calendar component
38+
8-bit calendar component
4039
</h2>
4140

4241
<div className="flex items-center gap-2">

app/docs/components/card/page.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import InstallationCommands from "../installation-commands"
2727
import { OpenInV0Button } from "../open-in-v0-button"
2828

2929
export const metadata: Metadata = {
30-
title: "8bit Card",
31-
description: "Displays a card or a component that looks like a 8-bit card.",
30+
title: "8-bit Card",
31+
description: "Displays an 8-bit card component.",
3232
openGraph: {
3333
images: cardMetaData,
3434
},
@@ -45,14 +45,12 @@ export default function TextareaPage() {
4545
/>
4646
</div>
4747

48-
<p className="text-muted-foreground">
49-
Displays a card or a component that looks like a 8-bit card.
50-
</p>
48+
<p className="text-muted-foreground">Displays an 8-bit card component.</p>
5149

5250
<div className="flex flex-col gap-4 border rounded-lg p-4 min-h-[450px] relative">
5351
<div className="flex items-center justify-between">
5452
<h2 className="text-sm text-muted-foreground sm:pl-3">
55-
A simple 8-bit card component
53+
8-bit card component
5654
</h2>
5755

5856
<div className="flex items-center gap-2">

app/docs/components/carousel/page.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ import {
1414
} from "./_demos/carousel"
1515

1616
export const metadata: Metadata = {
17-
title: "8bit Carousel",
18-
description:
19-
"Displays a carousel or a component that looks like a 8-bit carousel.",
17+
title: "8-bit Carousel",
18+
description: "Displays an 8-bit carousel component.",
2019
openGraph: {
2120
images: carouselMetaData,
2221
},
@@ -40,11 +39,11 @@ export default function CarouselPage() {
4039
<div className="flex flex-col gap-4 border rounded-lg p-4 min-h-[450px]">
4140
<div className="flex items-center justify-between">
4241
<h2 className="text-sm text-muted-foreground sm:pl-3">
43-
A simple 8-bit button component
42+
8-bit carousel component
4443
</h2>
4544

4645
<div className="flex items-center gap-2">
47-
<OpenInV0Button name="8bit-button" className="w-fit" />
46+
<OpenInV0Button name="8bit-carousel" className="w-fit" />
4847
</div>
4948
</div>
5049
<div className="flex items-center justify-center min-h-[400px] relative">

app/docs/components/chart/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import InstallationCommands from "../installation-commands"
1010
import { OpenInV0Button } from "../open-in-v0-button"
1111

1212
export const metadata: Metadata = {
13-
title: "8bit Chart",
14-
description: "Displays a 8-bit chart.",
13+
title: "8-bit Chart",
14+
description: "Displays an 8-bit chart.",
1515
openGraph: {
1616
images: chartMetaData,
1717
},
@@ -28,12 +28,12 @@ export default function ChartPage() {
2828
/>
2929
</div>
3030

31-
<p className="text-muted-foreground">Displays a 8-bit chart.</p>
31+
<p className="text-muted-foreground">Displays an 8-bit chart.</p>
3232

3333
<div className="flex flex-col gap-4 border rounded-lg p-4 min-h-[450px]">
3434
<div className="flex items-center justify-between">
3535
<h2 className="text-sm text-muted-foreground sm:pl-3">
36-
A simple 8-bit chart component
36+
8-bit chart component
3737
</h2>
3838

3939
<div className="flex items-center gap-2">

0 commit comments

Comments
 (0)