diff --git a/src/pages/index.astro b/src/pages/index.astro index cbc3c85..61589e7 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,190 +1,457 @@ --- import AppLayout from '../layouts/AppLayout.astro'; +import ProjectLockup from '../components/ProjectLockup.astro'; +import { hasJoinRequest } from '../lib/db'; +import { existsSync } from 'fs'; +import { join } from 'path'; const user = Astro.locals.user; +const firstName = user.name.split(' ')[0]; +const alreadyJoined = hasJoinRequest(user.id); +const innofoundarLogoExists = existsSync(join(process.cwd(), 'public/innofounder-logo.svg')); --- - +
- -
-

Project Bifrost

-

- Welcome, {user.name.split(' ')[0]}. -

-

- This is the private working space for the Bifrost pilot — where you follow what we are building, - shape it with your experience, and meet the people building it with you. + +

+ +

Welcome, {firstName}.

+
+ + +
+

+ Secure and sovereign AI for regulated environments. + Project Bifrost is where we build it — together with the organisations + who will depend on it.

- - + +
+ {alreadyJoined ? ( +
+

Welcome to Project Bifrost.

+

+ We will be in touch shortly to arrange the next step. +

+
+ ) : ( +
+ +

+ We will follow up personally to discuss the right level of involvement for your organisation. +

+
+ )} +
+ +