From ad15aa7a73b11e54a53c3ad15304a7b69dd86bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Rafael=20Siqueira?= Date: Wed, 7 May 2025 16:34:02 -0300 Subject: [PATCH] add --- superpage/astro.config.mjs | 2 +- superpage/package-lock.json | 4 ++-- superpage/package.json | 4 ++-- superpage/src/components/Modal.astro | 15 ++++++++++----- superpage/src/layouts/Layout.astro | 2 +- superpage/src/pages/index.astro | 2 +- superpage/src/styles/{app.css => global.css} | 0 7 files changed, 17 insertions(+), 12 deletions(-) rename superpage/src/styles/{app.css => global.css} (100%) diff --git a/superpage/astro.config.mjs b/superpage/astro.config.mjs index e685af5..5f34d19 100644 --- a/superpage/astro.config.mjs +++ b/superpage/astro.config.mjs @@ -34,7 +34,7 @@ export default defineConfig({ ], prefetch: true, vite: { - plugins: [tailwindcss()], + plugins: [tailwindcss({ nesting: true })], }, server: { host: "0.0.0.0", diff --git a/superpage/package-lock.json b/superpage/package-lock.json index 221f561..65259ac 100644 --- a/superpage/package-lock.json +++ b/superpage/package-lock.json @@ -13,7 +13,7 @@ "@astrojs/react": "^4.2.4", "@astrojs/sitemap": "^3.3.0", "@hookform/resolvers": "^5.0.1", - "@tailwindcss/vite": "^4.0.13", + "@tailwindcss/vite": "^4.1.5", "@types/react": "^19.1.2", "@types/react-dom": "^19.1.2", "astro": "^5.7.2", @@ -24,7 +24,7 @@ "react-dom": "^19.1.0", "react-hook-form": "^7.56.0", "smartypants": "^0.2.2", - "tailwindcss": "^4.0.13", + "tailwindcss": "^4.1.5", "vanilla-cookieconsent": "^3.1.0", "zod": "^3.24.3" } diff --git a/superpage/package.json b/superpage/package.json index b5a0b86..48c0071 100644 --- a/superpage/package.json +++ b/superpage/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^4.2.4", "@astrojs/sitemap": "^3.3.0", "@hookform/resolvers": "^5.0.1", - "@tailwindcss/vite": "^4.0.13", + "@tailwindcss/vite": "^4.1.5", "@types/react": "^19.1.2", "@types/react-dom": "^19.1.2", "astro": "^5.7.2", @@ -25,7 +25,7 @@ "react-dom": "^19.1.0", "react-hook-form": "^7.56.0", "smartypants": "^0.2.2", - "tailwindcss": "^4.0.13", + "tailwindcss": "^4.1.5", "vanilla-cookieconsent": "^3.1.0", "zod": "^3.24.3" } diff --git a/superpage/src/components/Modal.astro b/superpage/src/components/Modal.astro index 4ed83d2..94e9234 100644 --- a/superpage/src/components/Modal.astro +++ b/superpage/src/components/Modal.astro @@ -2,11 +2,16 @@ import { Icon } from "astro-icon/components"; --- - + + +