Skip to content

Commit 3639aa0

Browse files
committed
[Docs Site] Upgrade to Tailwind v4
1 parent 49763bb commit 3639aa0

21 files changed

+790
-1632
lines changed

astro.config.ts

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { defineConfig } from "astro/config";
22
import starlight from "@astrojs/starlight";
3-
import tailwind from "@astrojs/tailwind";
43
import starlightDocSearch from "@astrojs/starlight-docsearch";
54
import starlightImageZoom from "starlight-image-zoom";
65
import liveCode from "astro-live-code";
@@ -90,11 +89,19 @@ export default defineConfig({
9089
src: "./src/assets/logo.svg",
9190
},
9291
favicon: "/favicon.png",
93-
social: {
94-
github: "https://github.com/cloudflare/cloudflare-docs",
95-
"x.com": "https://x.com/cloudflare",
96-
youtube: "https://www.youtube.com/cloudflare",
97-
},
92+
social: [
93+
{
94+
label: "GitHub",
95+
icon: "github",
96+
href: "https://github.com/cloudflare/cloudflare-docs",
97+
},
98+
{ label: "X.com", icon: "x.com", href: "https://x.com/cloudflare" },
99+
{
100+
label: "YouTube",
101+
icon: "youtube",
102+
href: "https://www.youtube.com/cloudflare",
103+
},
104+
],
98105
editLink: {
99106
baseUrl:
100107
"https://github.com/cloudflare/cloudflare-docs/edit/production/",
@@ -144,9 +151,6 @@ export default defineConfig({
144151
],
145152
lastUpdated: true,
146153
}),
147-
tailwind({
148-
applyBaseStyles: false,
149-
}),
150154
liveCode({}),
151155
icon(),
152156
sitemap({

0 commit comments

Comments
 (0)