Skip to content

Commit e3a5421

Browse files
committed
idk i forgot
1 parent 452fbac commit e3a5421

File tree

7 files changed

+28
-26
lines changed

7 files changed

+28
-26
lines changed

apps/dashboard/app/(main)/settings/_components/account-deletion.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { toast } from 'sonner';
1515
import { z } from 'zod';
1616
import {
1717
AlertDialog,
18-
AlertDialogAction,
1918
AlertDialogCancel,
2019
AlertDialogContent,
2120
AlertDialogDescription,

apps/docs/components/landing/comparison.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default function Comparison() {
138138
</div>
139139
</div>
140140

141-
{features.map((feature, index) => (
141+
{features.map((feature) => (
142142
<div
143143
className="border-border/50 border-b transition-colors last:border-b-0 hover:bg-muted/30"
144144
key={feature.name}

apps/docs/components/landing/cta.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use client';
22

3-
import { ArrowRight, BarChart2, Check, Plus, Zap } from 'lucide-react';
3+
import { ArrowRight, Plus } from 'lucide-react';
44
import Link from 'next/link';
55
import { cn } from '@/lib/utils';
66
import LiquidChrome from '../bits/liquid';
@@ -32,7 +32,7 @@ export default function CTA() {
3232
<Plus className="ml-auto h-8 w-8 translate-x-[16.5px] translate-y-[.5px] text-muted-foreground" />
3333
</div>
3434

35-
{ctaItems.map((item, index) => (
35+
{ctaItems.map((item) => (
3636
<Link
3737
className={cn(
3838
'group flex transform-gpu flex-col justify-center border-border border-t-[1.2px] border-l-[1.2px] p-10 transition-colors hover:bg-muted/50 md:min-h-[240px] md:border-t-0'

apps/docs/components/landing/faq.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { HelpCircle, MessageSquareText } from 'lucide-react';
1+
import { HelpCircle } from 'lucide-react';
22

33
const faqs = [
44
{

apps/docs/components/landing/hero.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default function Hero() {
99
const iframeRef = useRef<HTMLIFrameElement>(null);
1010

1111
const handleFullscreen = () => {
12-
if (iframeRef.current && iframeRef.current.requestFullscreen) {
12+
if (iframeRef.current?.requestFullscreen) {
1313
iframeRef.current.requestFullscreen();
1414
}
1515
};
@@ -55,8 +55,10 @@ export default function Hero() {
5555

5656
{/* Main headline */}
5757
<div className="space-y-4">
58-
<h1 className="font-bold text-4xl tracking-tight sm:text-5xl lg:text-6xl xl:text-7xl">
59-
<span className="text-foreground">Privacy-first</span>
58+
<h1 className="font-semibold text-4xl tracking-tight sm:text-5xl lg:text-6xl xl:text-7xl">
59+
<span className="text-foreground tracking-tight">
60+
Privacy-first
61+
</span>
6062
<br />
6163
<span className="bg-gradient-to-r from-foreground to-muted-foreground bg-clip-text text-transparent">
6264
analytics for devs
@@ -85,6 +87,7 @@ export default function Hero() {
8587
}}
8688
onMouseEnter={() => setIsHovered(true)}
8789
onMouseLeave={() => setIsHovered(false)}
90+
role="tablist"
8891
>
8992
<iframe
9093
allowFullScreen

apps/docs/components/landing/testimonials.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function SlidingTestimonials({
158158
testimonials: typeof testimonials;
159159
reverse?: boolean;
160160
}) {
161-
const duplicatedTestimonials = Array(15).fill(rowTestimonials).flat();
161+
const duplicatedTestimonials = new Array(15).fill(rowTestimonials).flat();
162162

163163
return (
164164
<div className="group relative flex gap-5 overflow-hidden">

apps/docs/components/pricing/pricing-page.tsx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ function calculateDatabuddyCost(events: number) {
147147
remaining -= tierEvents;
148148
}
149149
prev = max;
150-
if (remaining <= 0) break;
150+
if (remaining <= 0) {
151+
break;
152+
}
151153
}
152154
return cost;
153155
}
@@ -164,7 +166,9 @@ function calculateFlatOverage(
164166
break;
165167
}
166168
}
167-
if (events <= plan.events) return plan.price;
169+
if (events <= plan.events) {
170+
return plan.price;
171+
}
168172
return plan.price + (events - plan.events) * overage;
169173
}
170174

@@ -180,21 +184,27 @@ function calculatePosthogCost(events: number) {
180184
remaining -= tierEvents;
181185
}
182186
prev = max;
183-
if (remaining <= 0) break;
187+
if (remaining <= 0) {
188+
break;
189+
}
184190
}
185191
return cost;
186192
}
187193

188194
function calculatePlausibleCost(events: number) {
189195
for (const tier of PLAUSIBLE_TIERS) {
190-
if (typeof tier.price === 'number' && events <= tier.max) return tier.price;
196+
if (typeof tier.price === 'number' && events <= tier.max) {
197+
return tier.price;
198+
}
191199
}
192200
return 'Contact Sales';
193201
}
194202

195203
function calculateFathomCost(events: number) {
196204
for (const tier of FATHOM_TIERS) {
197-
if (typeof tier.price === 'number' && events <= tier.max) return tier.price;
205+
if (typeof tier.price === 'number' && events <= tier.max) {
206+
return tier.price;
207+
}
198208
}
199209
return 'Contact Sales';
200210
}
@@ -218,12 +228,7 @@ function DatabuddyOverageTooltip() {
218228
</div>
219229
<div className="space-y-2">
220230
{DATABUDDY_TIERS.map((tier, i) => {
221-
const from =
222-
i === 0
223-
? 0
224-
: typeof DATABUDDY_TIERS[i - 1].to === 'number'
225-
? Number(DATABUDDY_TIERS[i - 1].to) + 1
226-
: 0;
231+
const from = i === 0 ? 0 : Number(DATABUDDY_TIERS[i - 1].to) + 1;
227232
const to =
228233
tier.to === 'inf' ? '∞' : Number(tier.to).toLocaleString();
229234
return (
@@ -269,12 +274,7 @@ function PosthogOverageTooltip() {
269274
</div>
270275
<div className="space-y-2">
271276
{POSTHOG_TIERS.map((tier, i) => {
272-
const from =
273-
i === 0
274-
? 0
275-
: typeof POSTHOG_TIERS[i - 1].to === 'number'
276-
? Number(POSTHOG_TIERS[i - 1].to) + 1
277-
: 0;
277+
const from = i === 0 ? 0 : Number(POSTHOG_TIERS[i - 1].to) + 1;
278278
const to =
279279
tier.to === 'inf' ? '∞' : Number(tier.to).toLocaleString();
280280
return (

0 commit comments

Comments
 (0)