The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add some hover animation to button component
Joshen Limee9ecaedded9
diff --git a/www/components/button.tsx b/www/components/button.tsxindex c9ab3c2b12f..51dba58f2db 100644--- a/www/components/button.tsx+++ b/www/components/button.tsx@@ -23,11 +23,12 @@ const Button = (props: Props) => {className={`mt-1 inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-mediumrounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-500+ group transition${colorClass} ${className}`}>- {text}- { url && <span className="ml-2">→</span> }+ <span className="relative transition-all left-3 group-hover:left-0">{text}</span>+ { url && <span className="ml-2 transition-all opacity-0 group-hover:opacity-100">→</span> }</button>)diff --git a/www/tailwind.config.js b/www/tailwind.config.jsindex 9799c5d5c30..998ddd671c5 100644--- a/www/tailwind.config.js+++ b/www/tailwind.config.js@@ -96,7 +96,9 @@ module.exports = {},},variants: {- extend: {},+ extend: {+ inset: ['responsive', 'group-hover']+ },},plugins: [],}