diff --git a/docs-src/astro.config.mjs b/docs-src/astro.config.mjs index 06b300490..5502d07de 100644 --- a/docs-src/astro.config.mjs +++ b/docs-src/astro.config.mjs @@ -2,7 +2,6 @@ import { defineConfig } from 'astro/config'; import starlight from '@astrojs/starlight'; import starlightTypeDoc, { typeDocSidebarGroup } from 'starlight-typedoc'; -import tailwind from "@astrojs/tailwind"; // https://astro.build/config export default defineConfig({ @@ -79,7 +78,6 @@ export default defineConfig({ // }, typeDocSidebarGroup ] - }), - tailwind() + }) ] -}); \ No newline at end of file +}); diff --git a/docs-src/package.json b/docs-src/package.json index e9e65e354..c6f9d2c19 100644 --- a/docs-src/package.json +++ b/docs-src/package.json @@ -11,19 +11,17 @@ "astro": "astro" }, "dependencies": { - "@astrojs/check": "^0.9.4", "@astrojs/starlight": "^0.31.1", - "@astrojs/tailwind": "^6.0.2", "astro": "^5.16.6", - "sharp": "^0.34.3", "shepherd.js": "workspace:*", - "starlight-typedoc": "^0.18.0", - "tailwindcss": "^3.4.17", + "starlight-typedoc": "^0.18.0" + }, + "devDependencies": { + "@astrojs/check": "^0.9.4", + "@flydotio/dockerfile": "^0.7.4", + "sharp": "^0.34.3", "typedoc": "^0.26.7", "typedoc-plugin-markdown": "4.2.9", "typescript": "^5.7.3" - }, - "devDependencies": { - "@flydotio/dockerfile": "^0.7.4" } } diff --git a/docs-src/tailwind.config.mjs b/docs-src/tailwind.config.mjs deleted file mode 100644 index 19f0614dd..000000000 --- a/docs-src/tailwind.config.mjs +++ /dev/null @@ -1,8 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -export default { - content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], - theme: { - extend: {}, - }, - plugins: [], -} diff --git a/landing/astro.config.mjs b/landing/astro.config.mjs index 049eae62a..ca81afac1 100644 --- a/landing/astro.config.mjs +++ b/landing/astro.config.mjs @@ -1,7 +1,7 @@ import { defineConfig } from 'astro/config'; import mdx from '@astrojs/mdx'; import sitemap from '@astrojs/sitemap'; -import tailwind from '@astrojs/tailwind'; +import tailwindcss from '@tailwindcss/vite'; import vercel from '@astrojs/vercel'; @@ -9,12 +9,11 @@ import vercel from '@astrojs/vercel'; export default defineConfig({ site: 'https://shepherdjs.dev', - integrations: [ - mdx(), - sitemap(), - tailwind() - ], + integrations: [mdx(), sitemap()], output: 'static', adapter: vercel(), -}); \ No newline at end of file + vite: { + plugins: [tailwindcss()] + } +}); diff --git a/landing/package.json b/landing/package.json index 9462d98f2..0caf903cd 100644 --- a/landing/package.json +++ b/landing/package.json @@ -11,21 +11,21 @@ "astro": "astro" }, "dependencies": { - "@astrojs/check": "^0.9.6", "@astrojs/mdx": "^4.3.13", - "@astrojs/rss": "^4.0.14", - "@astrojs/sitemap": "^3.6.0", - "@astrojs/tailwind": "^6.0.2", "@astrojs/vercel": "^9.0.2", "@polar-sh/sdk": "^0.20.2", "astro": "^5.16.6", - "shepherd.js": "workspace:*", - "tailwindcss": "^3.4.19", - "typescript": "^5.9.3" + "shepherd.js": "workspace:*" }, "devDependencies": { + "@astrojs/check": "^0.9.6", + "@astrojs/rss": "^4.0.14", + "@astrojs/sitemap": "^3.6.0", "@tailwindcss/typography": "^0.5.19", + "@tailwindcss/vite": "^4.1.18", "sharp": "^0.34.5", + "tailwindcss": "^4.1.18", + "typescript": "^5.9.3", "vite": "^7.3.0" } } diff --git a/landing/src/components/ArticleCard.astro b/landing/src/components/ArticleCard.astro index 97245fa1e..d96e57892 100644 --- a/landing/src/components/ArticleCard.astro +++ b/landing/src/components/ArticleCard.astro @@ -2,9 +2,9 @@ const { article } = Astro.props; --- -
+
{article.image.alt} diff --git a/landing/src/layouts/BlogPost.astro b/landing/src/layouts/BlogPost.astro index 5a63aa78d..16774dab8 100644 --- a/landing/src/layouts/BlogPost.astro +++ b/landing/src/layouts/BlogPost.astro @@ -14,7 +14,7 @@ const { title, description } = Astro.props;
-
+