Session 24: Connect everything — Slate wired to all sources, copy fixed, nav fixed, startup prefetch, language button removed (1571 tests)

This commit is contained in:
Kev
2026-06-12 15:45:19 -04:00
parent 0538205fab
commit 433e827103
15 changed files with 586 additions and 99 deletions
+31
View File
@@ -0,0 +1,31 @@
'use client';
import { useEffect } from 'react';
import { useRouter } from 'next/navigation';
/**
* /account (Session 24).
*
* Paid users see "Account" in the nav instead of "Pricing". Rather than
* duplicate the subscription UI, this route forwards to /profile, which
* already renders the current plan, usage, founder pricing, and the
* cancel/manage-subscription controls. Keeping one canonical surface
* avoids two screens drifting out of sync.
*/
export default function AccountPage() {
const router = useRouter();
useEffect(() => {
router.replace('/profile');
}, [router]);
return (
<section style={{ minHeight: '60vh', display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
<p
className="mono"
style={{ color: 'var(--text-tertiary)', fontSize: 13, letterSpacing: '0.08em', textTransform: 'uppercase' }}
>
Opening your account
</p>
</section>
);
}