Lexiverse
Lexiverse - AI contextual reading engine for English learners. Your next article is your next review.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Marketing site and Parent Portal for Joy (a daily-play app that helps children grow). Built with Next.js (App Router), React 19, TypeScript and Tailwind CSS v4.
This is a front-end prototype. There is no backend: login, children, plans, payments and the AYA Pay checkout are all simulated in the browser. See What is mocked before wiring real services.
Requirements: Node.js 20+ and pnpm.
pnpm install
pnpm dev # http://localhost:3000
pnpm typecheck # tsc --noEmit (must stay clean)
pnpm build && pnpm start
Next.js 16 has breaking changes compared with older versions. If something behaves unexpectedly, read the matching guide in
node_modules/next/dist/docs/.
Fonts (Caveat, Fredoka, Plus Jakarta Sans) are loaded with next/font/google,
so the first build needs internet access.
| Route | File | What it is |
|---|---|---|
/ | app/page.tsx | Landing page |
/how-it-works | app/how-it-works/page.tsx | Guide: elements, animals, development stages |
/pricing | app/pricing/page.tsx | Plans and pricing |
/parent | app/parent/page.tsx | Parent Portal (children, plans, payments, profile) |
app/ Routes, root layout (fonts, metadata), global styles + design tokens
components/
ui/ shadcn/ui primitives (button)
joy/
landing/ Landing page sections
guide/ "How it works" page sections
parent/ Parent Portal
portal.tsx shell, navigation, dialog host
plans.tsx plan cards, buy flow (select -> assign -> pay -> done), voucher, assign
app-guide.tsx "Activate the Joy app" steps shown after payment
dialogs.tsx child form, QR dialogs, avatar picker ...
insights.tsx child insight charts
profile.tsx profile / settings
data.ts, types.ts demo data and shared types
ui.tsx portal-only UI kit (Modal, Field, Btn ...)
review/ Client-review tooling (see below), not part of the product
site-header.tsx, site-footer.tsx, login-modal.tsx ... shared site chrome
lib/ utils (cn) and the demo login session
public/ images, video, icons
supabase/review.sql Table used by the review layer only
Styling is Tailwind utility classes; colours, radii and fonts are defined as
tokens in app/globals.css.
| Area | Today | Replace with |
|---|---|---|
Login (components/joy/login-modal.tsx, lib/joy-session.ts) | Any method signs in a demo parent; session stored in localStorage | Real auth (Apple / Google / phone / email) |
Parent data (components/joy/parent/data.ts) | Seeded demo children, plans, payments; changes live in memory only | API + database |
Payment (parent/plans.tsx, parent/dialogs.tsx) | AYA Pay flow is simulated, the QR code is decorative | AYA Pay integration |
App Store / Google Play buttons (parent/app-guide.tsx) | Point to apps.apple.com / play.google.com/store | Real store listing URLs |
| Vouchers | Validated against a local list | Server-side validation |
components/joy/review/ adds a Comment button so reviewers can pin notes on
any element of the page (and a Desktop/Tablet/Mobile switcher). It is only used
to collect feedback during design review and is off by default.
NEXT_PUBLIC_JOY_REVIEW=1 (see .env.example).NEXT_PUBLIC_SUPABASE_URL and
NEXT_PUBLIC_SUPABASE_ANON_KEY are set (create the table with
supabase/review.sql), otherwise in the reviewer's localStorage.components/joy/review/ and the two
<CommentLayer /> / <DeviceSwitcher /> lines (and their imports) in
app/layout.tsx; supabase/review.sql can go too.Deployed on Vercel from the main branch. No environment variables are required
for the site itself.