Skip to content

Commit de032bb

Browse files
committed
Merge branch 'ameers-work' into dev
2 parents 64620b5 + 51ec006 commit de032bb

File tree

102 files changed

+1073
-1147
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+1073
-1147
lines changed

.env.example

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +0,0 @@
1-
CLICKHOUSE_URL="http://default:@localhost:8123/databuddy_analytics"
2-
DATABASE_URL="postgres://databuddy:databuddy_dev_password@localhost:5432/databuddy"
3-
REDIS_URL="redis://localhost:6379"
4-
5-
# Openrouter API key, only needed for the assistant
6-
AI_API_KEY=""
7-
8-
BETTER_AUTH_URL="http://localhost:3000"
9-
BETTER_AUTH_SECRET="your_bcrypt_secret"
10-
11-
# OpenPageRank key, not needed for most operations
12-
OPR_API_KEY=""
13-
14-
# Optional, not necessary unless you plan to upload images to organizations
15-
R2_ACCESS_KEY_ID=""
16-
R2_SECRET_ACCESS_KEY=""
17-
R2_BUCKET=""
18-
R2_ENDPOINT=""
19-
20-
# Not necessary, disabled if node env is development
21-
AUTUMN_SECRET_KEY="autumn pls sponsor me ily"
22-
23-
# Important for local
24-
NODE_ENV=development
25-
26-
# Only change if needed
27-
LOGTAIL_SOURCE_TOKEN="124353"
28-
LOGTAIL_ENDPOINT="1234567.com"
29-
30-
# Not necessary, except for github oauth
31-
GITHUB_CLIENT_ID="gitlabs was here"
32-
GITHUB_CLIENT_SECRET="i guess"
33-
34-
# Not necessary, except for google oauth
35-
GOOGLE_CLIENT_ID="just bing it"
36-
GOOGLE_CLIENT_SECRET="alot"
37-
38-
# Not Necessary unless self-hosting
39-
RESEND_API_KEY="bongo cat"
40-
41-
NEXT_PUBLIC_API_URL="http://localhost:3001"
42-
43-
# Not Necessary unless using blog
44-
MARBLE_WORKSPACE_KEY=
45-
MARBLE_API_URL=https://api.marblecms.com

apps/dashboard/app/(auth)/layout.tsx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,27 @@ export default async function AuthLayout({
2424
<div className="relative hidden flex-col items-start justify-between overflow-hidden p-12 md:flex md:w-1/2">
2525
<div className="absolute inset-0">
2626
<Iridescence
27-
amplitude={0.2}
28-
color={[0.1, 0.2, 0.9]}
27+
amplitude={0.1}
28+
color={[0.1, 0.1, 0.1]}
2929
mouseReact={false}
3030
speed={0.5}
3131
/>
3232
</div>
3333
<Link className="relative z-10" href="https://www.databuddy.cc">
3434
<Button
35-
className="group scale-100 cursor-pointer border-white/10 bg-white/20 text-white transition-all duration-200 hover:scale-105 hover:bg-white/20"
36-
variant="outline"
35+
className="px-0! text-white/50 hover:bg-transparent hover:text-white/80"
36+
variant="ghost"
3737
>
38-
<CaretLeftIcon className="h-4 w-4 transition-all duration-200 group-hover:translate-x-[-4px]" />
38+
<CaretLeftIcon className="size-4 transition-transform duration-200 group-hover:translate-x-[-4px]" />
3939
Back
4040
</Button>
4141
</Link>
42-
<div className="relative z-10 text-white">
43-
<h1 className="mb-4 font-bold text-4xl">
44-
Build better <br />
45-
products with <br />
42+
<div className="relative z-10">
43+
<h1 className="mb-2 w-full max-w-sm font-medium text-4xl text-white/60 leading-[46px]">
44+
Build <span className="text-white">better products</span> with
4645
Databuddy
4746
</h1>
48-
<p className="max-w-md text-white/70">
47+
<p className="max-w-sm text-white/90">
4948
Connect your data sources, build insights, and share them with your
5049
team.
5150
</p>

apps/dashboard/app/(auth)/login/magic/page.tsx

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -46,26 +46,25 @@ export default function MagicLinkPage() {
4646
<div className="relative mx-auto mt-12 w-full max-w-md overflow-hidden p-6">
4747
<div className="mb-12 text-center">
4848
<div className="relative mb-10 inline-flex h-16 w-16 items-center justify-center">
49-
<div className="-inset-1 absolute rounded-full bg-gradient-to-tr from-blue-200 to-blue-100 opacity-20 blur-md" />
49+
<div className="-inset-1 absolute animate-pulse rounded-full bg-radial from-accent-foreground to-transparent opacity-20 blur-md" />
5050
<div className="relative">
5151
<Sparkles className="h-8 w-8 animate-pulse text-foreground" />
5252
</div>
5353
</div>
54-
<h1 className="font-bold text-2xl text-foreground">
54+
<h1 className="font-medium text-2xl text-foreground">
5555
Sign in with magic link
5656
</h1>
57-
<p className="mt-2 text-muted-foreground">
57+
<p className="mt-1 text-muted-foreground text-sm">
5858
No password needed — just use your email
5959
</p>
6060
</div>
6161
<form className="space-y-4" onSubmit={handleMagicLinkLogin}>
62-
<div className="space-y-2">
62+
<div className="space-y-3">
6363
<Label className="font-medium text-foreground" htmlFor="magic-email">
6464
Email address
6565
</Label>
6666
<Input
6767
autoComplete="email"
68-
className="h-11 transition-all duration-200 focus:ring-2 focus:ring-primary/20"
6968
id="magic-email"
7069
name="email"
7170
onChange={(e) => setEmail(e.target.value)}
@@ -76,36 +75,28 @@ export default function MagicLinkPage() {
7675
/>
7776
</div>
7877
<div className="flex items-center gap-3 p-3 text-info-foreground text-sm">
79-
<Sparkles className="h-5 w-5 shrink-0 text-foreground" />
78+
<Sparkles className="size-4 shrink-0 text-foreground" />
8079
<p className="text-muted-foreground">
8180
We'll send a secure link to your email that will sign you in
8281
instantly — no password needed.
8382
</p>
8483
</div>
85-
<Button
86-
className="h-11 w-full bg-info text-info-foreground hover:bg-info/90"
87-
disabled={isLoading}
88-
type="submit"
89-
>
84+
<Button className="w-full" disabled={isLoading} size="lg" type="submit">
9085
{isLoading ? (
9186
<>
92-
<Loader2 className="mr-2 h-4 w-4 animate-spin" />
87+
<Loader2 className="size-4 animate-spin" />
9388
Sending magic link...
9489
</>
9590
) : (
9691
<>
97-
<Sparkles className="mr-2 h-4 w-4" />
92+
<Sparkles className="size-4" />
9893
Send magic link
9994
</>
10095
)}
10196
</Button>
10297
<Link className="block" href="/login">
103-
<Button
104-
className="h-11 w-full border-info/20 hover:cursor-pointer hover:bg-info/5"
105-
type="button"
106-
variant="outline"
107-
>
108-
<ChevronLeft className="mr-2 h-4 w-4" />
98+
<Button className="w-full" size="lg" type="button" variant="ghost">
99+
<ChevronLeft className="size-4" />
109100
Back to login
110101
</Button>
111102
</Link>

0 commit comments

Comments
 (0)