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.

1.1 KB
Raw Blame
import type { ReactNode } from "react";

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">
        <img
          alt="Linger"
          className="auth-brand-wordmark"
          draggable={false}
          height={386}
          src="/linger-wordmark.svg"
          width={1225}
        />
      </header>

      <div className="auth-stage">
        <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>

      <footer className="auth-footer">&copy; 2026 Linger</footer>
    </main>
  );
}