From 69e47cdc7d58e81e9a68c775801a34afec317ae9 Mon Sep 17 00:00:00 2001 From: Robert Wagner Date: Thu, 29 Jan 2026 10:34:41 -0500 Subject: [PATCH 1/3] Update landing to tailwind 4 --- landing/astro.config.mjs | 13 +- landing/package.json | 14 +- landing/src/components/ArticleCard.astro | 4 +- landing/src/layouts/BlogPost.astro | 2 +- landing/src/pages/pricing.astro | 2 +- landing/src/styles/styles.css | 116 +++- landing/tailwind.config.mjs | 104 --- pnpm-lock.yaml | 787 +++++++++++++++++------ pnpm-workspace.yaml | 1 + 9 files changed, 727 insertions(+), 316 deletions(-) delete mode 100644 landing/tailwind.config.mjs 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;
-
+