Skip to content

Commit fd82b99

Browse files
authored
feat(waitlist): remove waitlist, update login/signup/verify styling to match landing, remove OTP in dev/docker (#377)
* removed waitlist on landing * remove OTP in dev or docker, remove invite members from sidebar in dev/docker * modified signup, login, verify, and reset password to match landing * add README for npm package * acknowledged PR comments * restore cmd+enter functionality
1 parent f2894e6 commit fd82b99

File tree

16 files changed

+588
-624
lines changed

16 files changed

+588
-624
lines changed

apps/sim/app/(auth)/components/social-login-buttons.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export function SocialLoginButtons({
9999
const githubButton = (
100100
<Button
101101
variant="outline"
102-
className="w-full"
102+
className="w-full bg-neutral-900 border-neutral-700 text-white hover:bg-neutral-800 hover:text-white"
103103
disabled={!githubAvailable || isGithubLoading}
104104
onClick={signInWithGithub}
105105
>
@@ -111,7 +111,7 @@ export function SocialLoginButtons({
111111
const googleButton = (
112112
<Button
113113
variant="outline"
114-
className="w-full"
114+
className="w-full bg-neutral-900 border-neutral-700 text-white hover:bg-neutral-800 hover:text-white"
115115
disabled={!googleAvailable || isGoogleLoading}
116116
onClick={signInWithGoogle}
117117
>
@@ -129,12 +129,12 @@ export function SocialLoginButtons({
129129
<TooltipTrigger asChild>
130130
<div>{githubButton}</div>
131131
</TooltipTrigger>
132-
<TooltipContent>
132+
<TooltipContent className="bg-neutral-800 text-white border-neutral-700">
133133
<p>
134134
GitHub login requires OAuth credentials to be configured. Add the following
135135
environment variables:
136136
</p>
137-
<ul className="mt-2 text-xs space-y-1">
137+
<ul className="mt-2 text-xs space-y-1 text-neutral-300">
138138
<li>• GITHUB_CLIENT_ID</li>
139139
<li>• GITHUB_CLIENT_SECRET</li>
140140
</ul>
@@ -153,12 +153,12 @@ export function SocialLoginButtons({
153153
<TooltipTrigger asChild>
154154
<div>{googleButton}</div>
155155
</TooltipTrigger>
156-
<TooltipContent>
156+
<TooltipContent className="bg-neutral-800 text-white border-neutral-700">
157157
<p>
158158
Google login requires OAuth credentials to be configured. Add the following
159159
environment variables:
160160
</p>
161-
<ul className="mt-2 text-xs space-y-1">
161+
<ul className="mt-2 text-xs space-y-1 text-neutral-300">
162162
<li>• GOOGLE_CLIENT_ID</li>
163163
<li>• GOOGLE_CLIENT_SECRET</li>
164164
</ul>
@@ -169,7 +169,7 @@ export function SocialLoginButtons({
169169
}
170170

171171
return (
172-
<div className="grid gap-2">
172+
<div className="grid gap-3">
173173
{renderGithubButton()}
174174
{renderGoogleButton()}
175175
</div>

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

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
'use client'
2+
3+
import Image from 'next/image'
4+
import Link from 'next/link'
5+
import { GridPattern } from '../(landing)/components/grid-pattern'
6+
import { NotificationList } from '../w/[id]/components/notifications/notifications'
7+
8+
export default function AuthLayout({ children }: { children: React.ReactNode }) {
9+
return (
10+
<main className="min-h-screen bg-[#0C0C0C] text-white relative font-geist-sans flex flex-col">
11+
{/* Background pattern */}
12+
<GridPattern
13+
x={-5}
14+
y={-5}
15+
className="stroke-[#ababab]/5 absolute inset-0 z-0"
16+
width={90}
17+
height={90}
18+
aria-hidden="true"
19+
/>
20+
21+
{/* Header */}
22+
<div className="px-6 py-8 relative z-10">
23+
<div className="max-w-7xl mx-auto">
24+
<Link href="/" className="inline-flex">
25+
<Image src="/sim.svg" alt="Sim Logo" width={42} height={42} />
26+
</Link>
27+
</div>
28+
</div>
29+
30+
{/* Content */}
31+
<div className="flex-1 flex items-center justify-center px-4 pb-6 relative z-10">
32+
<div className="w-full max-w-md">{children}</div>
33+
</div>
34+
35+
{/* Notifications */}
36+
<div className="fixed bottom-4 right-4 z-50">
37+
<NotificationList />
38+
</div>
39+
</main>
40+
)
41+
}

0 commit comments

Comments
 (0)