Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

feat(web): show Another Me's working day on the login page

muterCa0c95bed7c06
diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css
index 31938226..b65e82bd 100644
--- a/apps/web/src/app/globals.css
+++ b/apps/web/src/app/globals.css
@@ -422,14 +422,21 @@ a[href][aria-disabled="true"],
line-height: 24px;
}
+/* The login page: Another Me's working day on ink, the form on paper. The
+ ink does not stop at a hard edge; it warms as it fades and dissolves into
+ the paper through a faint, blurred apricot glow. */
.auth-page {
position: relative;
display: grid;
- grid-template-columns: minmax(28rem, 1fr) minmax(0, 1fr);
+ grid-template-columns: minmax(0, 1.05fr) minmax(30rem, 1fr);
overflow: hidden;
background: hsl(var(--town-background));
}
+.auth-page ::selection {
+ background: hsl(var(--town-foreground) / 0.12);
+}
+
.auth-brand {
position: absolute;
top: 2rem;
@@ -438,7 +445,21 @@ a[href][aria-disabled="true"],
display: inline-flex;
width: fit-content;
align-items: center;
- gap: 0.75rem;
+ gap: 0.625rem;
+ color: hsl(var(--town-background));
+}
+
+.auth-brand .linger-brand-mark {
+ width: 2.25rem;
+ height: 2.25rem;
+ border-radius: 9px;
+ box-shadow: 0 0 0 1px hsl(var(--town-background) / 0.18);
+}
+
+.auth-brand-name {
+ font-size: 1.0625rem;
+ font-weight: 600;
+ letter-spacing: -0.01em;
}
.linger-brand-mark {
@@ -455,74 +476,188 @@ a[href][aria-disabled="true"],
.auth-panel {
position: relative;
z-index: 2;
- grid-column: 1;
- width: min(24.75rem, calc(100% - 3rem));
+ grid-column: 2;
+ grid-row: 1;
+ width: min(25rem, calc(100% - 3rem));
align-self: center;
justify-self: center;
- padding: 5rem 0 3.5rem;
+ padding: 6rem 0 4rem;
+}
+
+.auth-heading {
+ margin-bottom: 2rem;
+}
+
+.auth-title {
+ font-family: var(--app-font-slab);
+ font-size: 2.75rem;
+ font-weight: 300;
+ line-height: 1.05;
+ letter-spacing: -0.025em;
+ text-wrap: balance;
+}
+
+.auth-subtitle {
+ margin-top: 0.75rem;
+ color: hsl(var(--town-muted-foreground));
+ font-size: 0.9375rem;
+}
+
+.auth-form {
+ display: grid;
+ gap: 1.125rem;
+}
+
+.auth-form .ui-field-control {
+ height: 2.75rem;
+ border-color: hsl(var(--town-border-hover));
+ border-radius: 10px;
+ background: hsl(var(--town-card));
+ padding-inline: 0.875rem;
+ font-size: 0.9375rem;
+}
+
+.auth-form .ui-field-control:hover:not(:disabled) {
+ border-color: hsl(var(--town-foreground) / 0.3);
+}
+
+.auth-form .ui-field-control:focus-visible {
+ border-color: hsl(var(--town-foreground) / 0.7);
+ box-shadow: 0 0 0 3px hsl(var(--town-foreground) / 0.08);
+}
+
+/* Browser autofill paints its own blue; keep the field's paper. */
+.auth-form .ui-field-control:-webkit-autofill {
+ -webkit-box-shadow: 0 0 0 100px hsl(var(--town-card)) inset;
+ -webkit-text-fill-color: hsl(var(--town-foreground));
+ caret-color: hsl(var(--town-foreground));
+}
+
+.auth-form .ui-field-control:-webkit-autofill:focus-visible {
+ -webkit-box-shadow:
+ 0 0 0 100px hsl(var(--town-card)) inset,
+ 0 0 0 3px hsl(var(--town-foreground) / 0.08);
+}
+
+.auth-form .auth-submit {
+ height: 2.75rem;
+ margin-top: 0.375rem;
+ border-radius: 10px;
+ font-size: 0.9375rem;
+}
+
+.auth-local-account {
+ margin-bottom: 1.25rem;
+}
+
+.auth-local-account .ui-button-large {
+ height: 2.75rem;
+ border-radius: 10px;
+}
+
+.auth-divider {
+ display: flex;
+ align-items: center;
+ gap: 0.75rem;
+ margin-top: 1.25rem;
+ color: hsl(var(--town-muted-foreground));
+ font-size: 0.75rem;
+}
+
+.auth-divider > span:not(:nth-child(2)) {
+ height: 1px;
+ flex: 1;
+ background: hsl(var(--town-border-hover));
}
.auth-footer {
position: absolute;
+ right: 0;
bottom: 1.5rem;
- left: 0;
z-index: 2;
- width: 50%;
+ width: calc(100% / 2.05);
+ color: hsl(var(--town-muted-foreground));
+ font-size: 0.75rem;
text-align: center;
}
.auth-illustration {
- grid-column: 2;
+ position: relative;
+ z-index: 1;
+ grid-column: 1;
grid-row: 1;
- width: 100%;
- height: 100%;
min-height: 100dvh;
- padding: 1.5rem;
- background: hsl(var(--town-foreground));
+ color: hsl(var(--town-background));
pointer-events: none;
/* The picture is sized in em off this panel, so it scales with the window. */
container-type: size;
}
-/* The login picture, after the demo film's opening frame: Another Me, a
- personal AI on your own computer, floats in its card and reaches out every
- few seconds. This is the only looping animation, and only on the login page. */
-.auth-art {
- position: relative;
- height: 100%;
- overflow: hidden;
- border-radius: 16px;
- background: hsl(var(--town-background));
- box-shadow: var(--town-shadow-outline);
- font-size: clamp(12px, 2.2cqmin, 20px);
+/* The ink reaches past its column and fades out over the seam. */
+.auth-illustration::before {
+ position: absolute;
+ inset: 0 -14rem 0 0;
+ /* Warmed as it fades, so the hand-off passes through brown, not grey. */
+ background: linear-gradient(
+ 90deg,
+ hsl(var(--town-foreground)) 56%,
+ hsl(22 28% 12%) 70%,
+ hsl(24 40% 20%) 82%,
+ hsl(28 60% 38%) 94%
+ );
+ content: "";
+ /* Eased, not linear: a straight alpha ramp leaves a visible crease where
+ it meets the paper. */
+ mask-image: linear-gradient(
+ 90deg,
+ black 52%,
+ rgb(0 0 0 / 0.82) 62%,
+ rgb(0 0 0 / 0.55) 72%,
+ rgb(0 0 0 / 0.28) 81%,
+ rgb(0 0 0 / 0.1) 89%,
+ rgb(0 0 0 / 0.02) 95%,
+ transparent
+ );
}
-/* The film's faint grid, fading out toward the form. */
-.auth-art::before {
+/* The glow on the seam: light apricot, faint at the top and bottom, blurred
+ into one wash so the warmed ink turns to orange before the paper. */
+.auth-illustration::after {
position: absolute;
- inset: 0;
- background-image:
- linear-gradient(hsl(var(--town-border)) 1px, transparent 1px),
- linear-gradient(90deg, hsl(var(--town-border)) 1px, transparent 1px);
- background-position: center;
- background-size: 2.5em 2.5em;
+ top: -20%;
+ right: -12rem;
+ bottom: -20%;
+ width: 38rem;
+ background:
+ radial-gradient(42% 26% at 52% 28%, hsl(28 96% 74% / 0.6), transparent 70%),
+ radial-gradient(40% 24% at 54% 52%, hsl(20 92% 78% / 0.6), transparent 70%),
+ radial-gradient(42% 26% at 52% 74%, hsl(34 96% 76% / 0.6), transparent 70%),
+ radial-gradient(50% 16% at 56% 10%, hsl(32 95% 80% / 0.3), transparent 75%),
+ radial-gradient(50% 16% at 56% 90%, hsl(26 92% 78% / 0.3), transparent 75%);
content: "";
- mask-image: linear-gradient(90deg, transparent, black 80%);
- animation: auth-art-fade 1.2s var(--ease-town-out) both;
+ filter: blur(64px);
+ animation:
+ auth-art-fade 1.6s var(--ease-town-out) both,
+ auth-seam-drift 18s ease-in-out 1.6s infinite alternate;
}
-.auth-art-copy {
- position: absolute;
- right: 3em;
- bottom: 3em;
- left: 3em;
+.auth-art {
+ position: relative;
+ z-index: 1;
+ display: flex;
+ height: 100%;
+ flex-direction: column;
+ justify-content: center;
+ gap: 4.5em;
+ padding: 7.5em 4em 5em;
+ font-size: clamp(12px, 2.1cqmin, 19px);
}
.auth-art-title {
font-size: 3.5em;
font-weight: 580;
line-height: 1.06;
- letter-spacing: -0.045em;
+ letter-spacing: -0.04em;
}
.auth-art-title > span {
@@ -540,59 +675,30 @@ a[href][aria-disabled="true"],
.auth-art-lede {
max-width: 25em;
margin-top: 1em;
- color: hsl(var(--town-muted-foreground));
+ color: hsl(var(--town-background) / 0.66);
font-size: 1.0625em;
+ line-height: 1.55;
text-wrap: pretty;
animation: auth-art-rise 0.9s var(--ease-town-out) 0.6s both;
}
-.auth-art-steps {
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- gap: 0.625em;
- margin-top: 2em;
+.auth-art-day {
animation: auth-art-rise 0.9s var(--ease-town-out) 0.9s both;
}
-.auth-art-steps > li {
- padding: 0.5em 1em;
- border: 1px solid hsl(var(--town-border-hover));
- border-radius: 999px;
- font-size: 0.9375em;
-}
-
-.auth-art-steps > li[aria-hidden] {
- padding: 0;
- border: 0;
- color: hsl(var(--town-muted-foreground));
-}
-
-/* The film's tilted card turns upright, then floats while the nudges land. */
-.auth-art-mark {
- position: absolute;
- top: 3em;
- right: 3em;
- animation: auth-art-float 6s ease-in-out 2s infinite;
-}
-
-.auth-art-card {
- display: grid;
- width: 10em;
- height: 11.75em;
- place-items: center;
- border: 1px solid hsl(var(--town-border));
- border-radius: 2.25em;
- background: hsl(var(--town-card));
- box-shadow: 0 1.5em 4em hsl(var(--town-foreground) / 0.05);
- animation: auth-art-card-in 3s var(--ease-town-out) both;
+.auth-art-day-head {
+ display: flex;
+ align-items: center;
+ gap: 0.875em;
+ margin-bottom: 1.75em;
}
+/* The figure on its own apricot tile, no mat around it. */
.auth-art-avatar {
position: relative;
display: block;
- width: 6em;
- height: 6em;
+ width: 3.5em;
+ height: 3.5em;
}
.auth-art-badge {
@@ -606,52 +712,86 @@ a[href][aria-disabled="true"],
place-items: center;
border-radius: 999px;
background: var(--app-unread);
- box-shadow: 0 0 0 0.25em hsl(var(--town-card));
+ box-shadow: 0 0 0 0.2em hsl(var(--town-foreground));
color: var(--app-unread-foreground);
font-size: 0.875em;
font-weight: 580;
line-height: 1;
}
-/* Each nudge lands beside the card, then leaves upward as the next lands. */
-.auth-art-nudges {
+.auth-art-day-name {
+ font-weight: 560;
+}
+
+.auth-art-timeline {
+ position: relative;
+ display: grid;
+ gap: 1.375em;
+ max-width: 26em;
+}
+
+/* The day's line runs through the moments' dots. */
+.auth-art-timeline::before {
position: absolute;
- top: 6.5em;
- right: 14em;
+ top: 0.5em;
+ bottom: 0.5em;
+ left: 0.3125em;
+ width: 1px;
+ background: hsl(var(--town-background) / 0.16);
+ content: "";
+}
+
+.auth-art-moment {
+ position: relative;
display: grid;
- width: 20em;
- justify-items: end;
+ padding-left: 2em;
+ transition: opacity 0.5s var(--ease-town-out);
}
-.auth-art-nudge {
- grid-area: 1 / 1;
- width: fit-content;
- padding: 0.625em 0.875em;
- border-radius: 12px;
- background: hsl(var(--town-card));
- box-shadow: var(--town-shadow-lg);
- font-size: 0.875em;
- line-height: 1.4;
- opacity: 0;
- transform: translateY(0.6em);
+.auth-art-moment::before {
+ position: absolute;
+ top: 0.3em;
+ left: 0;
+ width: 0.625em;
+ height: 0.625em;
+ border-radius: 999px;
+ background: hsl(var(--town-foreground));
+ box-shadow: inset 0 0 0 1.5px hsl(var(--town-background) / 0.7);
+ content: "";
transition:
- opacity 0.3s var(--ease-town-out),
- transform 0.3s var(--ease-town-out);
+ background-color 0.5s var(--ease-town-out),
+ transform 0.5s var(--ease-town-out);
}
-.auth-art-nudge[data-state="shown"] {
- opacity: 1;
- transform: none;
+.auth-art-moment[data-state="later"] {
+ opacity: 0.4;
}
-.auth-art-nudge[data-state="previous"] {
- transform: translateY(-0.6em);
+.auth-art-moment[data-state="past"] {
+ opacity: 0.62;
}
-.auth-art-nudge-time {
- display: block;
- color: hsl(var(--town-muted-foreground));
- font-size: 0.857em;
+.auth-art-moment[data-state="past"]::before {
+ background: hsl(var(--town-background) / 0.55);
+ box-shadow: none;
+}
+
+.auth-art-moment[data-state="now"]::before {
+ background: var(--app-unread);
+ box-shadow: none;
+ transform: scale(1.25);
+}
+
+.auth-art-moment-time {
+ margin-bottom: 0.125em;
+ color: hsl(var(--town-background) / 0.6);
+ font-size: 0.8em;
+ font-variant-numeric: tabular-nums;
+}
+
+.auth-art-moment-text {
+ font-size: 1.125em;
+ line-height: 1.4;
}
@keyframes auth-art-fade {
@@ -667,42 +807,30 @@ a[href][aria-disabled="true"],
}
}
-@keyframes auth-art-card-in {
- from {
- opacity: 0;
- transform: rotate(-7deg) scale(0.83);
- }
- 25% {
- opacity: 1;
- }
-}
-
-@keyframes auth-art-float {
- 50% {
- transform: translateY(-0.35em);
+@keyframes auth-seam-drift {
+ to {
+ transform: translateY(6%) scaleY(1.06);
}
}
@media (prefers-reduced-motion: reduce) {
- .auth-art::before,
+ .auth-illustration::after,
.auth-art-title > span,
.auth-art-lede,
- .auth-art-steps,
- .auth-art-mark,
- .auth-art-card,
+ .auth-art-day,
/* Outranks the shared town-pill-pop rule, which comes later in this file. */
.auth-art .auth-art-badge {
animation: none;
}
- .auth-art-nudge {
+ .auth-art-moment,
+ .auth-art-moment::before {
transition: none;
}
}
@media (max-width: 63.999rem) {
.auth-page {
- display: grid;
grid-template-columns: minmax(0, 1fr);
overflow-y: auto;
padding: 1.5rem;
@@ -710,6 +838,11 @@ a[href][aria-disabled="true"],
.auth-brand {
position: static;
+ color: inherit;
+ }
+
+ .auth-brand .linger-brand-mark {
+ box-shadow: none;
}
.auth-stage {
@@ -724,7 +857,7 @@ a[href][aria-disabled="true"],
.auth-panel {
grid-column: 1;
- width: min(100%, 24.75rem);
+ width: min(100%, 25rem);
padding: 2rem 0;
}
@@ -734,23 +867,6 @@ a[href][aria-disabled="true"],
}
}
-@media (max-width: 47.999rem) {
- .auth-page {
- padding: 1.25rem;
- }
-
- .auth-panel {
- width: 100%;
- padding: 2rem 0;
- }
-
- .auth-stage {
- min-height: 100%;
- margin: 0;
- place-items: center;
- }
-}
-
/* Every modal is one surface, one position and one entrance. ModalDialog
applies this; a caller only picks a size and supplies content. The dialog
is centred on screen and fades in from 95% over a pale frosted scrim. */
diff --git a/apps/web/src/features/auth/auth-illustration.test.tsx b/apps/web/src/features/auth/auth-illustration.test.tsx
index f7fa8043..279cf071 100644
--- a/apps/web/src/features/auth/auth-illustration.test.tsx
+++ b/apps/web/src/features/auth/auth-illustration.test.tsx
@@ -28,8 +28,8 @@ afterEach(() => {
function shownNudge() {
return (
- document.querySelector('.auth-art-nudge[data-state="shown"]')
- ?.textContent ?? null
+ document.querySelector('.auth-art-moment[data-state="now"]')?.textContent ??
+ null
);
}
diff --git a/apps/web/src/features/auth/auth-illustration.tsx b/apps/web/src/features/auth/auth-illustration.tsx
index a7e9b229..87e77808 100644
--- a/apps/web/src/features/auth/auth-illustration.tsx
+++ b/apps/web/src/features/auth/auth-illustration.tsx
@@ -10,23 +10,24 @@ const NUDGES = [
{ time: "5:00 PM", text: "Before you go: the deck is ready." },
] as const;
-const ANOTHER_ME = figureKey("deer");
-// The first nudge waits for the headline and the card to settle.
+// A white fox on the seam's apricot, so the figure stands out from its tile.
+const ANOTHER_ME = figureKey("arctic_fox", "#F2A15F");
+// The first nudge waits for the headline and the timeline to settle.
const FIRST_NUDGE_MS = 3_000;
const NUDGE_EVERY_MS = 4_000;
// Long enough to start one peek-and-smile; the figure then finishes it and
// rests on its last frame.
const AWAKE_MS = 1_000;
-type NudgeState = "next" | "previous" | "shown";
+type MomentState = "later" | "now" | "past";
/**
- * The login page's picture: Another Me, a personal AI on your own computer,
- * reaching out before it is asked. It is decorative; the login shell hides it
- * from assistive technology.
+ * The login page's picture: Another Me's working day, a personal AI on your
+ * own computer reaching out before it is asked, one nudge lighting up at a
+ * time. It is decorative; the login shell hides it from assistive technology.
*/
export function AuthIllustration() {
- // Reduced motion keeps the first nudge on screen and never starts the loop.
+ // Reduced motion keeps the first nudge lit and never starts the loop.
const [landed, setLanded] = useState(() => (prefersReducedMotion() ? 1 : 0));
const [awake, setAwake] = useState(false);
@@ -55,21 +56,19 @@ export function AuthIllustration() {
return (
<div className="auth-art">
- <div className="auth-art-nudges">
- {NUDGES.map((nudge, index) => (
- <p
- className="auth-art-nudge"
- data-state={nudgeState(index, current)}
- key={nudge.time}
- >
- <span className="auth-art-nudge-time">{nudge.time}</span>
- {nudge.text}
- </p>
- ))}
+ <div className="auth-art-copy">
+ <h2 className="auth-art-title">
+ <span>Your personal AI.</span>
+ <span>A step ahead.</span>
+ </h2>
+ <p className="auth-art-lede">
+ Another Me runs on your own computer, keeps track of your work, and
+ reaches out before anything slips.
+ </p>
</div>
- <div className="auth-art-mark">
- <div className="auth-art-card">
+ <div className="auth-art-day">
+ <div className="auth-art-day-head">
<span className="auth-art-avatar">
<AgentAvatarPortrait animate={awake} avatarKey={ANOTHER_ME} />
{/* Keyed by the landing so the badge pops again for each nudge. */}
@@ -79,38 +78,29 @@ export function AuthIllustration() {
</span>
)}
</span>
+ <span className="auth-art-day-name">Another Me</span>
</div>
- </div>
-
- <div className="auth-art-copy">
- <h2 className="auth-art-title">
- <span>Your personal AI.</span>
- <span>A step ahead.</span>
- </h2>
- <p className="auth-art-lede">
- Another Me runs on your own computer, keeps track of your work, and
- reaches out before anything slips.
- </p>
- <ol className="auth-art-steps">
- <li>Your computer</li>
- <li aria-hidden="true">→</li>
- <li>Your context</li>
- <li aria-hidden="true">→</li>
- <li>Timely nudges</li>
+ <ol className="auth-art-timeline">
+ {NUDGES.map((nudge, index) => (
+ <li
+ className="auth-art-moment"
+ data-state={momentState(index, current)}
+ key={nudge.time}
+ >
+ <span className="auth-art-moment-time">{nudge.time}</span>
+ <span className="auth-art-moment-text">{nudge.text}</span>
+ </li>
+ ))}
</ol>
</div>
</div>
);
}
-/**
- * The shown nudge leaves upward and the one after it waits below, so every
- * change reads as a new message arriving.
- */
-function nudgeState(index: number, current: number | null): NudgeState {
- if (current === null) return "next";
- if (index === current) return "shown";
- return index === (current + 1) % NUDGES.length ? "next" : "previous";
+/** Earlier moments of the day stay lit; later ones wait. */
+function momentState(index: number, current: number | null): MomentState {
+ if (current === null || index > current) return "later";
+ return index === current ? "now" : "past";
}
function prefersReducedMotion() {
diff --git a/apps/web/src/features/auth/auth-shell.tsx b/apps/web/src/features/auth/auth-shell.tsx
index b9386410..d401e239 100644
--- a/apps/web/src/features/auth/auth-shell.tsx
+++ b/apps/web/src/features/auth/auth-shell.tsx
@@ -6,42 +6,37 @@ import { AuthIllustration } from "./auth-illustration";
export function AuthShell({
children,
+ subtitle,
title,
}: {
children: ReactNode;
+ subtitle: string;
title: string;
}) {
return (
<main className="auth-page min-h-dvh text-foreground">
<header className="auth-brand" aria-label="Linger">
<BrandMark decorative />
- <strong className="block text-lg text-foreground">Linger</strong>
+ <strong className="auth-brand-name">Linger</strong>
</header>
<div className="auth-stage">
- <section
- aria-labelledby="auth-title"
- className="auth-panel w-full max-w-[400px]"
- >
- <div className="mb-8 text-left">
- <h1
- className="text-balance font-(family-name:--app-font-slab) text-[40px] font-light leading-[1.1] tracking-[-0.02em]"
- id="auth-title"
- >
+ <div aria-hidden="true" className="auth-illustration">
+ <AuthIllustration />
+ </div>
+
+ <section aria-labelledby="auth-title" className="auth-panel">
+ <div className="auth-heading">
+ <h1 className="auth-title" id="auth-title">
{title}
</h1>
+ <p className="auth-subtitle">{subtitle}</p>
</div>
{children}
</section>
-
- <div aria-hidden="true" className="auth-illustration">
- <AuthIllustration />
- </div>
</div>
- <footer className="auth-footer text-xs text-muted-foreground">
- &copy; 2026 Linger
- </footer>
+ <footer className="auth-footer">&copy; 2026 Linger</footer>
</main>
);
}
diff --git a/apps/web/src/features/auth/teamhub-login-page.tsx b/apps/web/src/features/auth/teamhub-login-page.tsx
index 3bbc26cc..3de5e91a 100644
--- a/apps/web/src/features/auth/teamhub-login-page.tsx
+++ b/apps/web/src/features/auth/teamhub-login-page.tsx
@@ -1,8 +1,6 @@
import {
ArrowRight02Icon,
ComputerIcon,
- Mail01Icon,
- SquareLock02Icon,
ViewIcon,
ViewOffIcon,
} from "@hugeicons/core-free-icons";
@@ -45,7 +43,7 @@ export function TeamHubLoginPage({
: null;
return (
- <AuthShell title="Log in">
+ <AuthShell subtitle="Welcome back to Linger." title="Log in">
{authenticationNotice ? (
<div className="mb-4">
<FormFeedback tone="danger">{authenticationNotice}</FormFeedback>
@@ -70,7 +68,7 @@ function LocalAccountSignIn({
authentication: AuthenticationController;
}) {
return (
- <div className="mb-4">
+ <div className="auth-local-account">
<Button
className="w-full"
disabled={authentication.state.isSubmitting}
@@ -84,10 +82,10 @@ function LocalAccountSignIn({
<Icon icon={ComputerIcon} size={16} />
<span>Sign in with this computer's account</span>
</Button>
- <div className="mt-4 flex items-center gap-3 text-xs text-muted-foreground">
- <span className="h-px flex-1 bg-border" />
+ <div className="auth-divider">
+ <span />
<span>or</span>
- <span className="h-px flex-1 bg-border" />
+ <span />
</div>
</div>
);
@@ -103,7 +101,7 @@ function AuthenticationForm({
return (
<form
- className="space-y-3"
+ className="auth-form"
noValidate
onSubmit={(event) => {
void handleSubmit(event);
@@ -112,10 +110,8 @@ function AuthenticationForm({
<Field
autoComplete="email"
label="Email"
- labelClassName="sr-only"
onChange={(event) => changeField("email", event.target.value)}
- placeholder="Work email"
- prefix={<Icon icon={Mail01Icon} size={16} />}
+ placeholder="[email protected]"
type="email"
value={email}
/>
@@ -128,7 +124,7 @@ function AuthenticationForm({
{error ? <FormFeedback tone="danger">{error}</FormFeedback> : null}
<Button
aria-label="Sign in"
- className="mt-2 w-full"
+ className="auth-submit w-full"
disabled={isSubmitting}
size="large"
type="submit"
@@ -158,10 +154,7 @@ function PasswordField({
<Field
autoComplete={autoComplete}
label={label}
- labelClassName="sr-only"
onChange={(event) => onChange(event.target.value)}
- placeholder={label}
- prefix={<Icon icon={SquareLock02Icon} size={16} />}
suffix={
<button
aria-label={`${visible ? "Hide" : "Show"} ${label.toLowerCase()}`}