Skip to content

Commit fee6a39

Browse files
committed
wip
1 parent 52654e9 commit fee6a39

File tree

2 files changed

+9
-23
lines changed

2 files changed

+9
-23
lines changed

src/content/docs/style-guide/components/cards.mdx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,6 @@ import { Card } from "~/components";
1616
</Card>
1717
```
1818

19-
## List cards
20-
21-
```mdx live
22-
import { ListCard } from "~/components";
23-
24-
<ListCard title="Links" icon="puzzle">
25-
26-
- foo
27-
- bar
28-
- baz
29-
30-
</ListCard>
31-
```
32-
3319
## Link title cards
3420

3521
```mdx live

src/pages/index.astro

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ import { render } from "astro:content";
1111
import { getChangelogs } from "~/util/changelog";
1212
1313
const frontmatter = {
14-
title: "Welcome to Cloudflare",
15-
description:
16-
"Explore guides and tutorials to start building on Cloudflare's platform",
14+
title: "Cloudflare Docs",
15+
description: "Explore guides and tutorials for using Cloudflare.",
1716
template: "splash",
1817
hero: {
19-
title: "Welcome to Cloudflare",
20-
tagline:
21-
"Explore guides and tutorials to start building on Cloudflare's platform",
18+
title: "Cloudflare Docs",
19+
tagline: "Explore guides and tutorials for using Cloudflare.",
2220
image: {
2321
dark: HeroImageDark,
2422
light: HeroImageLight,
@@ -153,7 +151,7 @@ const changelogs = await getChangelogs({}).then((arr) => arr.slice(0, 5));
153151
class="grid list-none grid-cols-3 gap-2 pl-0 text-center"
154152
>
155153
{
156-
["Overview", "Connect & Protect", "Build"].map((label) => (
154+
["Overview", "Connect & Protect", "Build"].map((label, idx) => (
157155
<li
158156
role="presentation"
159157
class="h-14 rounded-t border-l border-r border-t p-4"
@@ -163,7 +161,9 @@ const changelogs = await getChangelogs({}).then((arr) => arr.slice(0, 5));
163161
))
164162
}
165163
</ul>
166-
<div class="h-72 overflow-hidden rounded-b p-6">
164+
<div
165+
class="h-72 overflow-hidden rounded-b border-b border-l border-r p-6"
166+
>
167167
<p>
168168
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum
169169
non placerat arcu. Nunc ornare libero ut metus dignissim, vitae
@@ -251,7 +251,7 @@ const changelogs = await getChangelogs({}).then((arr) => arr.slice(0, 5));
251251
</div>
252252
<a href="/changelog/"> Go to full changelog </a>
253253
</div>
254-
<div class="not-content flex justify-center gap-8 py-16">
254+
<div class="not-content grid grid-cols-1 gap-8 py-16 md:grid-cols-3">
255255
{
256256
footer.map((group) => (
257257
<div>

0 commit comments

Comments
 (0)