尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Sleep Atlas website
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Your Sleep Environment. A sound and sleep-environment app for people whose sleep is hard-won — shift workers, night workers, rotating rotas, and anyone on a loud street. The session leads; the rota calculators and trackers support it.
Brand system, logo pack and construction spec live in FIELD-Brand/.
Stack: Next.js 14 (App Router, fully static/SSR), TypeScript, Tailwind CSS. Supabase is stubbed, ready to wire.
npm install
npm run dev # http://localhost:5001
npm run build # production build (all routes pre-render as static HTML)
Note: if node_modules looks partial from a previous install, just run npm install again — it self-repairs.
| Route | Purpose |
|---|---|
/ | Hero, interactive rota visualizer, bento tools grid, founder authority, the session feature |
/tools/ | Hub + 5 calculators: Night Shift Recovery, Rota Flip-Flop, Sleep Debt Logger, Noise Calibration, Chronotype Matcher |
/session/ | "Try sounds": the free browser player. Built-in Web Audio engine, 13 synthesized sounds (all free), 30/60/90-min and custom fade-out timer, wake-up chime, 3-question rule-based blend (not AI) and saved mixes (browser localStorage: per-account key when signed in, a guest key otherwise). The timer/chime only run while the page stays open. /lullai/ and /mask-ai/ permanently redirect here. |
/account/ | Sign up / log in (demo auth in this browser until Supabase is wired) |
/admin/ | Member dashboard — visible only to the admin email in lib/auth.ts: signups, plans, upgrade/downgrade |
/trackers/ | Shift journal (browser localStorage) |
/scores/ | Sleyp Score framework explainer |
/resources/ | Modular article engine — 6 categories, 3 flagship articles live |
/shop/ | Curated affiliate gear (links are # placeholders) |
/pricing/ | The Sleyp iOS app (coming soon): 22 free library sounds, guest mix saving; Sleyp Plus = AI mix generation and Discovery. No prices, no website subscription |
lib/tools.ts + one component in components/calculators/ + a thin page wrapper. Explainer, how-it-works, FAQs and all schema render automatically via ToolPageLayout.lib/articles.ts. Page, category, sitemap, Article + FAQPage schema and author box are automatic.lib/site.ts.robots.ts explicitly allows GPTBot, PerplexityBot, ClaudeBot, Google-Extended etc.; sitemap.ts auto-includes every tool and article.lib/supabase.ts — install @supabase/supabase-js, add env keys. Then swap the demo function bodies in lib/auth.ts for Supabase Auth + a profiles table (components only call those functions, nothing else changes) — the admin dashboard will then show every real signup.plan field in lib/auth.ts and the admin plan toggle are left in place but no longer affect the website.SITE.url in lib/site.ts (currently https://www.getsleyp.com); sitemap, robots, canonicals, schema and OG derive from it.# hrefs in app/shop/page.tsx (GEAR array).Defined once in tailwind.config.ts; use the brand's own names, not "the green one".
| Token | Hex | Role |
|---|---|---|
cream | #F5F3ED | FIELD CREAM — page ground, replaces pure white |
paper / card | #FBFAF6 / #FFFFFF | raised panels, card fill |
mist / soft | #EDF2F0 / #D9E4E2 | dividers and form fields / selected states |
sage | #5D8786 | FIELD SAGE — identity, icons, active states |
sage-deep | #3F6362 | the readable sage: links, accented text (5.97) |
deep | #304847 | DEEP FIELD — body text and primary button ground (8.83) |
ink / -muted / -faint | #304847 / #4F6663 / #5B7472 | text ramp, all AA or better on cream |
sand / sand-ink | #C8B99F / #7A6540 | WARM SAND fills / its readable text form |
good / warn | #3F6B59 / #9A5A2A | semantic only, separate from the brand accent |
Two rules the numbers force: sage is never small text (3.59 on cream), and the primary button is bg-deep text-cream, never sage with a white label (3.98).
Type: Schibsted Grotesk display/UI, Hanken Grotesk body, JetBrains Mono for figures — loaded via <link> in app/layout.tsx.
The mark lives in components/FieldMark.tsx as inline SVG so it inherits currentColor. <FieldMark settle /> plays the three-wave settle once; use it on the hero only.