feat: add basic webui
This commit is contained in:
75
apps/web/app/(home)/components/stats.tsx
Normal file
75
apps/web/app/(home)/components/stats.tsx
Normal file
@@ -0,0 +1,75 @@
|
||||
import { MoveDownLeft, MoveUpRight } from 'lucide-react';
|
||||
|
||||
export const Stats = () => (
|
||||
<div className="w-full py-20 lg:py-40">
|
||||
<div className="container mx-auto">
|
||||
<div className="grid grid-cols-1 gap-10 lg:grid-cols-2">
|
||||
<div className="flex flex-col items-start gap-4">
|
||||
<div className="flex flex-col gap-2">
|
||||
<h2 className="text-left font-regular text-xl tracking-tighter md:text-5xl lg:max-w-xl">
|
||||
This is the start of something new
|
||||
</h2>
|
||||
<p className="text-left text-lg text-muted-foreground leading-relaxed tracking-tight lg:max-w-sm">
|
||||
Managing a small business today is already tough. Avoid further
|
||||
complications by ditching outdated, tedious trade methods. Our
|
||||
goal is to streamline SMB trade, making it easier and faster than
|
||||
ever.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex items-center justify-center">
|
||||
<div className="grid w-full grid-cols-1 gap-2 text-left sm:grid-cols-2 lg:grid-cols-2">
|
||||
<div className="flex flex-col justify-between gap-0 rounded-md border p-6">
|
||||
<MoveUpRight className="mb-10 h-4 w-4 text-primary" />
|
||||
<h2 className="flex max-w-xl flex-row items-end gap-4 text-left font-regular text-4xl tracking-tighter">
|
||||
500.000
|
||||
<span className="text-muted-foreground text-sm tracking-normal">
|
||||
+20.1%
|
||||
</span>
|
||||
</h2>
|
||||
<p className="max-w-xl text-left text-base text-muted-foreground leading-relaxed tracking-tight">
|
||||
Monthly active users
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex flex-col justify-between gap-0 rounded-md border p-6">
|
||||
<MoveDownLeft className="mb-10 h-4 w-4 text-destructive" />
|
||||
<h2 className="flex max-w-xl flex-row items-end gap-4 text-left font-regular text-4xl tracking-tighter">
|
||||
20.105
|
||||
<span className="text-muted-foreground text-sm tracking-normal">
|
||||
-2%
|
||||
</span>
|
||||
</h2>
|
||||
<p className="max-w-xl text-left text-base text-muted-foreground leading-relaxed tracking-tight">
|
||||
Daily active users
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex flex-col justify-between gap-0 rounded-md border p-6">
|
||||
<MoveUpRight className="mb-10 h-4 w-4 text-primary" />
|
||||
<h2 className="flex max-w-xl flex-row items-end gap-4 text-left font-regular text-4xl tracking-tighter">
|
||||
$523.520
|
||||
<span className="text-muted-foreground text-sm tracking-normal">
|
||||
+8%
|
||||
</span>
|
||||
</h2>
|
||||
<p className="max-w-xl text-left text-base text-muted-foreground leading-relaxed tracking-tight">
|
||||
Monthly recurring revenue
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex flex-col justify-between gap-0 rounded-md border p-6">
|
||||
<MoveUpRight className="mb-10 h-4 w-4 text-primary" />
|
||||
<h2 className="flex max-w-xl flex-row items-end gap-4 text-left font-regular text-4xl tracking-tighter">
|
||||
$1052
|
||||
<span className="text-muted-foreground text-sm tracking-normal">
|
||||
+2%
|
||||
</span>
|
||||
</h2>
|
||||
<p className="max-w-xl text-left text-base text-muted-foreground leading-relaxed tracking-tight">
|
||||
Cost per acquisition
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
Reference in New Issue
Block a user