From 3a045ccd0ae1fd584c69ad32998f977c5b95e986 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Fri, 13 Feb 2026 20:46:07 +0100 Subject: [PATCH] landing Animations --- package-lock.json | 20 +++++++++-- package.json | 4 ++- src/app/globals.css | 3 ++ src/app/page.tsx | 83 +++++++++++++++++++++++++++------------------ 4 files changed, 74 insertions(+), 36 deletions(-) diff --git a/package-lock.json b/package-lock.json index 55d4389..59921e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,9 @@ "radix-ui": "^1.4.3", "react": "19.2.3", "react-dom": "19.2.3", - "tailwind-merge": "^3.4.0" + "tailwind-animations": "^1.0.1", + "tailwind-merge": "^3.4.0", + "tailwind-motlib": "^1.0.4" }, "devDependencies": { "@tailwindcss/postcss": "^4", @@ -7371,6 +7373,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/tailwind-animations": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/tailwind-animations/-/tailwind-animations-1.0.1.tgz", + "integrity": "sha512-5ouCdgfGS4kcyuzRSb/1O3o9f5Akssi7ue46PHfKjvPLMWjtnzmqM8i6ElES3tKVTyhjSaTPfLti7aB7WSxhZg==", + "license": "MIT", + "peerDependencies": { + "tailwindcss": "^4.0.0" + } + }, "node_modules/tailwind-merge": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.4.0.tgz", @@ -7381,11 +7392,16 @@ "url": "https://github.com/sponsors/dcastil" } }, + "node_modules/tailwind-motlib": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/tailwind-motlib/-/tailwind-motlib-1.0.4.tgz", + "integrity": "sha512-4M80sHBTmXQn/fWo8xZYRDlr8yqLv4ZC2MzpHw8MsGPTbXV75Y3NW518ec3CWSiO3WSEZlhXfOHBKpxEvCuoRw==", + "license": "ISC" + }, "node_modules/tailwindcss": { "version": "4.1.18", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.18.tgz", "integrity": "sha512-4+Z+0yiYyEtUVCScyfHCxOYP06L5Ne+JiHhY2IjR2KWMIWhJOYZKLSGZaP5HkZ8+bY0cxfzwDE5uOmzFXyIwxw==", - "dev": true, "license": "MIT" }, "node_modules/tapable": { diff --git a/package.json b/package.json index e931373..8b3d99b 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,9 @@ "radix-ui": "^1.4.3", "react": "19.2.3", "react-dom": "19.2.3", - "tailwind-merge": "^3.4.0" + "tailwind-animations": "^1.0.1", + "tailwind-merge": "^3.4.0", + "tailwind-motlib": "^1.0.4" }, "devDependencies": { "@tailwindcss/postcss": "^4", diff --git a/src/app/globals.css b/src/app/globals.css index 4db1fb8..5b22053 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1,6 +1,9 @@ @import "tailwindcss"; @import "tw-animate-css"; @import "shadcn/tailwind.css"; +@import 'tailwind-animations'; + +@tailwind utilities; @custom-variant dark (&:is(.dark *)); diff --git a/src/app/page.tsx b/src/app/page.tsx index 9b5b65d..251ce97 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,4 +1,6 @@ +"use client"; import Link from "next/link"; +import { Motion, Staggered } from "tailwind-motlib"; export default function Landing() { return ( @@ -55,45 +57,60 @@ export default function Landing() { {/* Why Nexa */}
-
-

Risk-aware by default

-

- Every trade is evaluated against holder concentration, bundlers, - deployer behavior, and liquidity signals, before execution. -

-
+ + +
+

+ Risk-aware by default +

+

+ Every trade is evaluated against holder concentration, + bundlers, deployer behavior, and liquidity signals, before + execution. +

+
+
-
-

AI where it matters

-

- No magic predictions. Just automated checks that experienced - traders already do, instantly and consistently. -

-
+ +
+

+ AI where it matters +

+

+ No magic predictions. Just automated checks that experienced + traders already do, instantly and consistently. +

+
+
-
-

Built for speed

-

- Optimized request batching, Solana-native execution, and Jupiter - routing keep latency low even during peak volume. -

-
+ +
+

Built for speed

+

+ Optimized request batching, Solana-native execution, and + Jupiter routing keep latency low even during peak volume. +

+
+
+
{/* Risk interception highlight */} -
-
-

- Nexa can stop you before you buy a rug -

-

- When high-risk patterns are detected, Nexa blocks execution by - default and tells you exactly why. If you still want in, that's your - call. But it won't be blind. -

-
-
+ +
+
+

+ Nexa can stop you before you buy a rug +

+

+ When high-risk patterns are detected, Nexa blocks execution by + default and tells you exactly why. If you still want in, that's + your call. But it won't be blind. +

+
+
+
{/* How it works */}