2121
2222 // Form state
2323 let heroEmail = $state (' ' );
24- let demoEmail = $state (' ' );
2524 let heroSubmitted = $state (false );
26- let demoSubmitted = $state (false );
2725 let heroError = $state (' ' );
28- let demoError = $state (' ' );
2926 let heroLoading = $state (false );
30- let demoLoading = $state (false );
3127
3228 const BETA_SIGNUP_URL = ' https://dev.context-engine.ai/auth/beta-signup' ;
3329
197193 heroLoading = false ;
198194 }
199195 }
200-
201- async function handleDemoSubmit(e : SubmitEvent ) {
202- e .preventDefault ();
203- demoError = ' ' ;
204- demoLoading = true ;
205- try {
206- const response = await fetch (BETA_SIGNUP_URL , {
207- method: ' POST' ,
208- headers: { ' Content-Type' : ' application/json' },
209- body: JSON .stringify ({ email: demoEmail })
210- });
211- const data = await response .json ();
212- if (response .ok ) {
213- demoSubmitted = true ;
214- } else {
215- demoError = data .detail || ' Something went wrong. Please try again.' ;
216- }
217- } catch (error ) {
218- demoError = ' Network error. Please try again.' ;
219- } finally {
220- demoLoading = false ;
221- }
222- }
223196 </script >
224197
225198<svelte:head >
234207<section class =" hero" >
235208 <div class =" hero-content" >
236209 <div class =" hero-brand" >
237- <img src =" {base }/logo-white.svg" alt =" Context Engine" class =" hero-logo" />
210+ <img src =" {base }/logo-white.svg" alt =" Context Engine" class =" hero-logo hero-logo-dark" />
211+ <img src =" {base }/logo.svg" alt =" Context Engine" class =" hero-logo hero-logo-light" />
238212 <a
239213 href =" https://www.nvidia.com/en-us/startups/"
240214 target =" _blank"
258232
259233 {#if heroSubmitted }
260234 <div class =" hero-form" style =" color: var(--accent); font-size: 16px;" >
261- Beta key sent ! Check your email at {heroEmail }
235+ You're in ! Check your email at {heroEmail }
262236 </div >
263237 {:else }
264238 <form class ="hero-form" onsubmit ={handleHeroSubmit }>
271245 disabled ={heroLoading }
272246 />
273247 <button type ="submit" class ="btn btn-primary btn-lg" disabled ={heroLoading }>
274- {heroLoading ? ' Sending…' : ' Request Early Access ' }
248+ {heroLoading ? ' Sending…' : ' Join Open Beta ' }
275249 </button >
276250 </form >
277251 {#if heroError }
@@ -442,37 +416,6 @@ result = <span class="c-fn">repo_search</span>(
442416 </div >
443417</section >
444418
445- <!-- Demo Section -->
446- <section class =" demo-section" id =" demo" >
447- <h2 class =" section-title" >Get <span class =" gradient-text" >Early Access</span ></h2 >
448- <p class =" section-subtitle" >Join the beta and give your AI the context it deserves.</p >
449-
450- {#if demoSubmitted }
451- <div class =" demo-form" style =" color: var(--accent); font-size: 16px; justify-content: center;" >
452- Beta key sent! Check your email at {demoEmail }
453- </div >
454- {:else }
455- <form class ="demo-form" onsubmit ={handleDemoSubmit }>
456- <input
457- type =" email"
458- class =" input"
459- placeholder =" you@company.com"
460- required
461- bind:value ={demoEmail }
462- disabled ={demoLoading }
463- />
464- <button type ="submit" class ="btn btn-primary btn-lg" disabled ={demoLoading }>
465- {demoLoading ? ' Sending…' : ' Request Invite' }
466- </button >
467- </form >
468- {#if demoError }
469- <div style =" color: #ef4444; font-size: 14px; margin-top: 8px; text-align: center;" >
470- {demoError }
471- </div >
472- {/if }
473- {/if }
474- </section >
475-
476419<!-- Footer -->
477420<footer class =" footer" >
478421 <div class =" footer-content" >
@@ -496,4 +439,8 @@ result = <span class="c-fn">repo_search</span>(
496439 </div >
497440 <div class ="footer-copy" >© {new Date ().getFullYear ()} Context Engine. All rights reserved.</div >
498441 </div >
442+ <div class =" footer-legal" >
443+ © 2025 NVIDIA, the NVIDIA logo, and NVIDIA Inception Program are trademarks and/or registered
444+ trademarks of NVIDIA Corporation in the U.S. and other countries.
445+ </div >
499446</footer >
0 commit comments