@@ -95,15 +76,7 @@ function AuthModal({ isOpen, onConnect, onClose, iframeUrl }: AuthModalProps) {
{/* Iframe affichée uniquement si dispo */}
{!authSuccess && (
-
+
)}
diff --git a/components/4nk/Iframe.tsx b/components/4nk/Iframe.tsx
index edcfb07..4187bb1 100644
--- a/components/4nk/Iframe.tsx
+++ b/components/4nk/Iframe.tsx
@@ -17,13 +17,7 @@ function Iframe({ iframeUrl, showIframe = false }: { iframeUrl: string; showIfra
);
}
diff --git a/lib/4nk/Loader.tsx b/lib/4nk/Loader.tsx
index 10b347a..de32bcb 100644
--- a/lib/4nk/Loader.tsx
+++ b/lib/4nk/Loader.tsx
@@ -2,19 +2,11 @@ import { memo } from 'react';
function Loader({ width = 40 }: { width?: number }) {
return (
-
+
);
}
diff --git a/tailwind.config.js b/tailwind.config.js
index 09cee67..3ac0240 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -6,7 +6,17 @@ module.exports = {
'./components/**/*.{js,ts,jsx,tsx}' // tous les composants
],
theme: {
- extend: {},
+ extend: {
+ animation: {
+ 'fade-in': 'fadeIn 0.4s ease-out',
+ },
+ keyframes: {
+ fadeIn: {
+ '0%': { opacity: '0', transform: 'translateY(10px)' },
+ '100%': { opacity: '1', transform: 'translateY(0)' },
+ }
+ }
+ },
},
plugins: [],
}