Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: update site

Dillion Vermaac828c8497ff
diff --git a/app/(docs)/layout.tsx b/app/(docs)/layout.tsx
index 173cf408..5c5d9095 100644
--- a/app/(docs)/layout.tsx
+++ b/app/(docs)/layout.tsx
@@ -1,3 +1,4 @@
+import { DealBanner } from "@/components/deal-banner";
import { SiteFooter } from "@/components/site-footer";
import { SiteHeader } from "@/components/site-header";
import { getCurrentUser } from "@/lib/session";
@@ -13,6 +14,7 @@ export default async function MarketingLayout({
return (
<>
+ <DealBanner />
<SiteHeader user={user} />
<main className="flex-1">{children}</main>
<SiteFooter />
diff --git a/components/crisp-chat.tsx b/components/crisp-chat.tsx
index d3c3b938..be83b22e 100644
--- a/components/crisp-chat.tsx
+++ b/components/crisp-chat.tsx
@@ -25,7 +25,7 @@ export function CrispChat({ isNewVisitor }: { isNewVisitor: boolean }) {
if (isNewVisitor) {
const timeoutId1 = setTimeout(() => {
- Crisp.message.show("text", "hi there!");
+ Crisp.message.show("text", "hi there! can i help with anything?");
}, 1000);
// Cleanup function to clear timeouts
diff --git a/components/pricing/pricing.tsx b/components/pricing/pricing.tsx
index 0056f5e3..90abdd33 100644
--- a/components/pricing/pricing.tsx
+++ b/components/pricing/pricing.tsx
@@ -39,14 +39,11 @@ export default async function Hero() {
<div className="mx-auto my-8 inline-flex w-full items-center justify-center gap-2">
<Gift className="h-4 w-4 animate-bounce" />
<span>
- <strong>
- $100 off for the first {Math.ceil((payments + 1) / 100) * 100}
- </strong>{" "}
- customers (
- {payments > 0
+ <strong>$100 off for the next 20 customers</strong>
+ (11 left)
+ {/* {payments > 0
? Math.ceil((payments + 1) / 100) * 100 - payments
- : 0}{" "}
- left)
+ : 0}{" "} */}
</span>
</div>
</FadeIn>