+ diff --git a/apps/web/public/images/pig-compute-field.webp b/apps/web/public/images/pig-compute-field.webp new file mode 100644 index 0000000..213103c Binary files /dev/null and b/apps/web/public/images/pig-compute-field.webp differ diff --git a/apps/web/src/App.tsx b/apps/web/src/App.tsx index 9c39caf..cdf3ac9 100644 --- a/apps/web/src/App.tsx +++ b/apps/web/src/App.tsx @@ -11,7 +11,6 @@ import { IdentityProvider, useIdentityQuery } from '@/lib/identity'; import { LayoutProvider } from '@/lib/layout'; import { PiggyContextProvider } from '@/lib/piggy-context'; import { PlatformAudioProvider } from '@/lib/audio'; -import { AudioControl } from '@/components/AudioControl'; import { Shell } from '@/components/Shell'; import { SignIn } from '@/pages/SignIn'; import { CreateProfile } from '@/pages/CreateProfile'; @@ -108,25 +107,14 @@ export function App() { } /** - * The signed-out screens render outside Shell, so they get no app header — and - * therefore no way to stop the music. Audio a visitor cannot switch off is the - * worst version of this feature, so every unauthenticated screen gets the - * control pinned in a corner. + * The signed-out screens render outside Shell. Their shared AuthShell supplies + * the public header and its music control; keeping this boundary component + * means the auth gate does not need to know anything about that presentation. * * Learn is not wrapped: it brings its own chrome and already hosts one. */ function SignedOut({ children }: { children: React.ReactNode }) { - return ( - <> - {children} -
+ - You're already authenticated. This creates a PIG profile only after workspace access is verified. -
-+ Private workspace +
++ You're already authenticated. This creates a PIG profile only after workspace access is + verified. +
+ {error} +
+ ) : null} + + +Registration is not open here
-- This deployment cannot create accounts on its own. Ask an administrator to - provision one for you, then sign in. -
- -Registration is not open here
++ This deployment cannot create accounts on its own. Ask an administrator to provision one + for you, then sign in. +
+ +
- Use an email you control. A valid PIG invite is required before the server creates workspace access.
+
+ Private workspace
+
+ Use an email you control. A valid PIG invite is required before the server creates
+ workspace access.
+
This flow does not enable open registration on the shared identity provider.
+ Create your account
+
+
Prime Intellect Growth
++ A sign-in link is on its way to {email}. It expires shortly, so use it soon. +
+Check your email
-- A sign-in link is on its way to {email}. It expires shortly, so use it - soon. -
-+ Private workspace +
++ Authentication stays with the deployment's identity provider. PIG never stores your + password. +
+- Private workspace + ))} +
+ This workspace is invite-only. Ask an administrator to provision access; this + screen never opens self-registration. +
+ ) : null} + + > + )}