Skip to content

Commit 4893d59

Browse files
committed
Docs: thinking about homepage
1 parent e4aa8dd commit 4893d59

File tree

3 files changed

+27
-28
lines changed

3 files changed

+27
-28
lines changed

docs/package-lock.json

Lines changed: 16 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/src/layouts/Homepage.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ body {
8888
oklch(0 0 0 / 0.75) 0%,
8989
oklch(0.25 0.07 228.42 / 0.35) 350px,
9090
oklch(0.12 0.04 228.42 / 0.55) 650px,
91-
oklch(0 0 0) 1400px)
91+
oklch(0 0 0) 90vw)
9292
;
9393
/*
9494
background-image: radial-gradient(circle at 50% 50%, oklch(0 0 0 / 0.9) 0%, oklch(0.32 0.08 228.42 / 0.5) 350px, oklch(0 0 0) 1200px);

docs/src/pages/index.astro

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ const code2=`
4747
<UIContainer>
4848
<div class="text">
4949
<Image src={logoImage} alt="Logo" height="55" loading="eager" style="margin-bottom:2rem;"/>
50-
<h1>A New Language for UI</h1>
51-
<p>A <b>web component framework</b> and UI library designed for NL to code. <b>No build step. No framework lock-in.</b></p>
50+
<h1>A UI Framework for the AI Era</h1>
51+
<p>A <b>web component framework</b> with <b>signals</b>, <b>jsx-like templates</b>, and a complete <b>UI Kit</b>. Built to run in the browser without tooling.</p>
5252
<UIButton secondary href="/ui/start">View Docs</UIButton>
5353
<UIButton primary icon-after icon="right-chevron" href="/learn/selection">Try In 5 Minutes</UIButton>
5454
</div>
@@ -57,32 +57,30 @@ const code2=`
5757
</aboveFold>
5858
<script>
5959
import { createPlasma } from '../javascript/plasma.js'
60-
import { createGlobeUI } from '../javascript/hero-globe-ui.js'
6160
const plasma = createPlasma('#plasma', {
6261
// Colors — just hex
63-
colorFrom: '#000000',
62+
colorFrom: '#00405C',
6463
colorTo: '#0d6e8a',
65-
colorShift: 100,
66-
fps: false,
64+
colorShift: 0,
65+
fps: true,
6766

6867
// Specular
6968
specularTint: '#1a99e6',
70-
specularPower: 2,
71-
specularAmbient: 0.5,
69+
specularPower: 0.5,
70+
specularAmbient: 0.2,
7271

7372
// Animation
74-
speed: 0.2,
73+
speed: 0.1,
7574
density: 1.5,
76-
brightness: 0.3,
77-
resolution: 2,
75+
brightness: 0.8,
76+
resolution: 1,
7877
// Mouse interaction
7978
mouse: {
8079
light: 2, // specular follows cursor
8180
warp: 1.5, // gravity well pulls bands
8281
},
8382
});
8483

85-
// createGlobeUI(document.querySelector('aboveFold'));
8684
</script>
8785
<ribbons>
8886
<ribbon class="proof">

0 commit comments

Comments
 (0)