Skip to content

Commit cb20cfc

Browse files
brnrdogclaude
andauthored
docs: redesign website with xote-style layout and purple theme (#14)
Restructure the docs website to match the xote docs layout with a purple color palette. Replace the Basefn component-based layout with a custom Layout system featuring a sticky header with search, theme toggle, and GitHub links; a 3-column docs layout with sidebar, content, and table of contents; an interactive homepage with hero, features grid, live code demo, and community sections; and a proper footer with navigation columns. New files: Layout.res, DocsPage.res, HomePage.res, Website.res, SyntaxHighlight.res. Removed old: App.res, Pages.res, Pages__Home.res, Search.res, Breadcrumbs.res, PageNavigation.res, ScrollToTop.res. Co-authored-by: Claude <noreply@anthropic.com>
1 parent 90161c3 commit cb20cfc

15 files changed

Lines changed: 3175 additions & 895 deletions

docs-website/index.html

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
<!DOCTYPE html>
2-
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>ReScript Signals - Reactive Signals for ReScript</title>
7-
<meta name="description" content="A lightweight, high-performance reactive signals library for ReScript with zero runtime dependencies." />
8-
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
9-
</head>
10-
<body>
11-
<div id="app"></div>
12-
<script type="module" src="/src/Main.res.mjs"></script>
13-
</body>
2+
<html lang="en" data-theme="dark">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>rescript-signals - Reactive Signals Library for ReScript</title>
7+
<meta name="description" content="A lightweight, high-performance reactive signals library for ReScript with zero runtime dependencies.">
8+
<meta name="theme-color" content="#0f0f14">
9+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
10+
<link rel="preconnect" href="https://fonts.googleapis.com">
11+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
12+
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300..700;1,9..40,300..700&family=Geist+Mono:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap" rel="stylesheet">
13+
</head>
14+
<body>
15+
<a href="#main-content" class="skip-to-content">Skip to content</a>
16+
<div id="app"></div>
17+
<script type="module" src="/src/Main.res.mjs"></script>
18+
</body>
1419
</html>

docs-website/src/App.res

Lines changed: 0 additions & 133 deletions
This file was deleted.

0 commit comments

Comments
 (0)