wip
This commit is contained in:
@@ -104,18 +104,19 @@ export default function UserPill() {
|
||||
}, [session, driver, primaryDriverId]);
|
||||
|
||||
if (!session) {
|
||||
const loginHref = '/auth/iracing/start?returnTo=/dashboard';
|
||||
|
||||
return (
|
||||
<div className="flex items-center">
|
||||
<div className="flex items-center gap-2">
|
||||
<Link
|
||||
href={loginHref}
|
||||
href="/auth/login"
|
||||
className="inline-flex items-center gap-2 rounded-full bg-iron-gray border border-charcoal-outline px-4 py-1.5 text-xs font-medium text-gray-300 hover:text-white hover:border-gray-500 transition-all"
|
||||
>
|
||||
Sign In
|
||||
</Link>
|
||||
<Link
|
||||
href="/auth/signup"
|
||||
className="inline-flex items-center gap-2 rounded-full bg-primary-blue px-4 py-1.5 text-xs font-semibold text-white shadow-[0_0_12px_rgba(25,140,255,0.5)] hover:bg-primary-blue/90 hover:shadow-[0_0_18px_rgba(25,140,255,0.8)] transition-all"
|
||||
>
|
||||
<span className="inline-flex h-4 w-4 items-center justify-center rounded-full bg-white/10">
|
||||
<Star className="h-3 w-3 text-amber-300" />
|
||||
</span>
|
||||
<span>Authenticate with iRacing</span>
|
||||
Get Started
|
||||
</Link>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user