Auto-sign in as alexa@blackroad.io — no signup form needed
Some checks failed
Autonomous Repo Agent / autonomous-build (push) Has been cancelled
BlackRoad AI Agents / agent-response (push) Has been cancelled
🔍 BlackRoad CodeQL Security Analysis / CodeQL Analysis (javascript) (push) Has been cancelled
🔍 BlackRoad CodeQL Security Analysis / CodeQL Analysis (python) (push) Has been cancelled
CI / Test (push) Has been cancelled
Deploy to Cloudflare Pages / Deploy to Cloudflare Pages (push) Has been cancelled
Trinity Compliance Check / check-compliance (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

RoadChain-SHA2048: faabfd99b4210168
RoadChain-Identity: alexa@sovereign
RoadChain-Full: faabfd99b4210168cdf91fc4644b2b767b1ba5a2de244a36c4b2fd473a2d5c0c52a70a8d6b4fb08a28ae2488900304b5e34e6e193e9a9c372c7306361bfd2a3db93214cc617bbd16a26bf7f2d96a66c278c796f56ec26b971220c738086c48177e15bacfb87e228ab3ddb3e418a19807db474d9425f8d586befe080360f7cfbeecf5d65f8a78dd0b95610d92a923a2eb145de8b5d91325c2524b1068de8a016b943a65ac791ce6405afc36c0c2dd13e9037ec52f7f1b678fdfd45ebb95e177d7f7138111077898419f35623c5409c7da0d669dddecf13f0ac3171a7ff6c5944ab49c276d4b359b41582dbdaa7b37bd3e5905326b7cd36df8032097c48cbb7bf9
This commit is contained in:
2026-03-14 18:27:04 -05:00
parent aab2f33897
commit 693ec57b72
2 changed files with 7 additions and 9 deletions

View File

@@ -14,19 +14,17 @@ export default function AppLayout({
}) { }) {
const router = useRouter(); const router = useRouter();
const isAuthenticated = useAuthStore((state) => state.isAuthenticated); const isAuthenticated = useAuthStore((state) => state.isAuthenticated);
const login = useAuthStore((state) => state.login);
const fetchWorkspaces = useWorkspaceStore((state) => state.fetchWorkspaces); const fetchWorkspaces = useWorkspaceStore((state) => state.fetchWorkspaces);
useEffect(() => { useEffect(() => {
if (!isAuthenticated) { if (!isAuthenticated) {
router.push('/login'); // Auto-sign in as Alexa
login('alexa@blackroad.io', '').then(() => fetchWorkspaces());
} else { } else {
fetchWorkspaces(); fetchWorkspaces();
} }
}, [isAuthenticated, router, fetchWorkspaces]); }, [isAuthenticated, login, router, fetchWorkspaces]);
if (!isAuthenticated) {
return null;
}
return ( return (
<div className="flex h-screen overflow-hidden"> <div className="flex h-screen overflow-hidden">

View File

@@ -31,7 +31,7 @@ export default function LandingPage() {
<Link href="#pricing" className="text-gray-400 hover:text-white transition-colors">Pricing</Link> <Link href="#pricing" className="text-gray-400 hover:text-white transition-colors">Pricing</Link>
<Link href="/login" className="text-gray-400 hover:text-white transition-colors">Sign In</Link> <Link href="/login" className="text-gray-400 hover:text-white transition-colors">Sign In</Link>
<Link <Link
href="/signup" href="/workspace"
className="px-5 py-2.5 bg-gradient-to-r from-hot-pink to-violet-600 hover:from-hot-pink/90 hover:to-violet-600/90 rounded-lg font-medium transition-all hover:shadow-lg hover:shadow-hot-pink/25" className="px-5 py-2.5 bg-gradient-to-r from-hot-pink to-violet-600 hover:from-hot-pink/90 hover:to-violet-600/90 rounded-lg font-medium transition-all hover:shadow-lg hover:shadow-hot-pink/25"
> >
Get Started Get Started
@@ -62,7 +62,7 @@ export default function LandingPage() {
<div className="flex flex-col sm:flex-row items-center justify-center gap-4"> <div className="flex flex-col sm:flex-row items-center justify-center gap-4">
<Link <Link
href="/signup" href="/workspace"
className="group flex items-center gap-2 px-8 py-4 bg-gradient-to-r from-hot-pink to-violet-600 rounded-xl font-semibold text-lg transition-all hover:shadow-xl hover:shadow-hot-pink/30 hover:scale-105" className="group flex items-center gap-2 px-8 py-4 bg-gradient-to-r from-hot-pink to-violet-600 rounded-xl font-semibold text-lg transition-all hover:shadow-xl hover:shadow-hot-pink/30 hover:scale-105"
> >
Start Building Start Building
@@ -176,7 +176,7 @@ export default function LandingPage() {
Join the next generation of AI-powered organizations. Join the next generation of AI-powered organizations.
</p> </p>
<Link <Link
href="/signup" href="/workspace"
className="inline-flex items-center gap-2 px-10 py-5 bg-gradient-to-r from-hot-pink to-violet-600 rounded-xl font-semibold text-lg transition-all hover:shadow-xl hover:shadow-hot-pink/30 hover:scale-105" className="inline-flex items-center gap-2 px-10 py-5 bg-gradient-to-r from-hot-pink to-violet-600 rounded-xl font-semibold text-lg transition-all hover:shadow-xl hover:shadow-hot-pink/30 hover:scale-105"
> >
Get Started Free Get Started Free