Skip to content

Commit 919b020

Browse files
Add GitHub repo link to demo
1 parent c0b2ee4 commit 919b020

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

demo/demo.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ const ACCENT4 = '#f59e0b'
4141
const CODE_BG = '#131320'
4242
const GLOW = 'rgba(233,69,96,0.18)'
4343
const CARD_COLORS = [ACCENT, '#0f3460', '#533483', ACCENT2, ACCENT3, ACCENT4]
44+
const GITHUB_REPO_URL = 'https://github.com/razroo/geometra'
4445

4546
// ─── State ───────────────────────────────────────────────────────────────────
4647
const vw = signal(window.innerWidth)
@@ -1904,6 +1905,7 @@ function heroSection(): UIElement {
19041905
}),
19051906
]),
19061907
box({ flexDirection: 'row', gap: 10, flexWrap: 'wrap' }, [
1908+
btn('GitHub Repo', false, () => window.open(GITHUB_REPO_URL, '_blank')),
19071909
btn('Starter Docs', false, () => window.open('https://github.com/razroo/geometra#start-here', '_blank')),
19081910
btn('Full-Stack Example', false, () => window.open('https://github.com/razroo/geometra/tree/main/demos/full-stack-dashboard', '_blank')),
19091911
btn('Agent-Native Claims Demo', false, () => { window.location.href = './agent-native-ops/' }),
@@ -2298,8 +2300,8 @@ function footerSection(): UIElement {
22982300
}, [
22992301
center(
23002302
box({ flexDirection: 'row', gap: 24, alignItems: 'center' }, [
2301-
box({ cursor: 'pointer', onClick: () => window.open('https://github.com/razroo/geometra', '_blank') }, [
2302-
text({ text: 'GitHub', font: '600 14px Inter', lineHeight: 20, color: ACCENT }),
2303+
box({ cursor: 'pointer', onClick: () => window.open(GITHUB_REPO_URL, '_blank') }, [
2304+
text({ text: 'github.com/razroo/geometra', font: '600 14px Inter', lineHeight: 20, color: ACCENT }),
23032305
]),
23042306
text({ text: '\u00b7', font: '14px Inter', lineHeight: 20, color: BORDER }),
23052307
box({ cursor: 'pointer', onClick: () => window.open('https://www.npmjs.com/org/geometra', '_blank') }, [

0 commit comments

Comments
 (0)