尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗The marketing site for the LearnThenScroll app, plus a private admin panel.
| URL | What it is |
|---|---|
/ | Homepage with the interactive app demo (index.html) |
/blog/ | SEO blog. Each post is a static page built from the database |
/admin/ | Admin panel: write posts, see download clicks, manage settings and team |
Stack: static HTML on Vercel. Supabase stores posts and settings, handles logins, and records clicks on the download buttons.
/admin and click Publish./api/deploy, which triggers a Vercel rebuild.npm run build (scripts/build.mjs) pulls the published posts and settings from Supabase and writes plain HTML into dist/. This includes the blog pages, sitemap, RSS feed and robots.txt.Clicks on the App Store / Google Play buttons anywhere on the site are recorded (page + store, nothing personal) and shown on the admin Overview.
The main site is the learnthenscroll Vercel project (repo nickzedw/Learnthenscroll, production branch website). Its vercel.json rewrites /blog/*, /admin/*, /api/*, /sitemap.xml and /robots.txt to this project's custom domain https://app.learnthenscroll.com. Use the custom domain rather than learnthenscroll-app.vercel.app, because .vercel.app addresses sit behind Vercel's deployment protection and refuse proxied requests. This project's own vercel.json serves /blog/<slug> both with and without the trailing slash, because the proxy drops it. Visitors and Google see everything on learnthenscroll.com, while the blog code stays out of the app repo.
The homepage's App Store buttons post to /api/click, so their clicks also show on the admin Overview.
supabase/schema.sql, then supabase/seed.sql (the three starter posts).https://learnthenscroll.com and add https://learnthenscroll.com/admin/ to the Redirect URLs.update public.profiles set role = 'admin' where email = '[email protected]';
anon key and the service_role key for the next step.vercel.json are picked up automatically.| Name | Value |
|---|---|
SUPABASE_URL | Supabase Project URL |
SUPABASE_ANON_KEY | Supabase anon key (public) |
SUPABASE_SERVICE_ROLE_KEY | Supabase service_role key (secret: only ever put it in Vercel) |
main branch, then add its URL as the env var VERCEL_DEPLOY_HOOK_URL.learnthenscroll.com and update the DNS records at your domain registrar as Vercel shows.https://learnthenscroll.com/admin/ and sign in.Add the site in Google Search Console and submit https://learnthenscroll.com/sitemap.xml.
npm install
SUPABASE_URL=… SUPABASE_ANON_KEY=… npm run build # without these it builds with no posts
npx serve dist
The /api functions only run on Vercel (or vercel dev).
index.html: homepage. The build fills in <!-- head-extra --> and the <!-- site-links --> block (store buttons).admin/: admin panel (admin.js is the whole app; config.js is generated at build time).api/deploy.js, api/team.js: server functions (rebuild the site; invite or remove team members).scripts/build.mjs: the site build.supabase/schema.sql: tables, roles and security rules. Safe to re-run.supabase/seed.sql: starter posts.