Commit Graph

38 Commits

Author SHA1 Message Date
TerryM
4a20d80f68 feat: 顶栏显示当前页名,去掉独立标题行;Logo回首页/页名回顶部
- 新增 PageTitleContext:页面上报标题,顶栏 brand 位显示当前页名(全部资料/
  热门资料/最新/官方/分类名/搜索/我的收藏),未上报则回退品牌名
- AssetStreamPage、Favorites 上报标题;移除资料流内单独的标题行,省出空间
- 顶栏拆分点击:Logo→首页(首页则回顶部);页名文字→回到当前页顶部

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-30 02:37:30 +08:00
TerryM
8425809f98 fix: 全部资料页底部导航固定在屏幕底部
/browse 的 main 分支缺少 flex-1,内容少时主区不撑开,底部导航跟着内容
跳到屏幕中间。补上 flex-1,主区填满剩余高度,sticky 底部导航始终贴底。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-30 01:34:16 +08:00
TerryM
cb14cb166a ui: prevent layout shift when mobile search overlay opens
- SearchPanel: focus input with { preventScroll: true } so the browser
  doesn't auto-scroll the underlying page when the overlay mounts.
- SearchPanel: add overscroll-contain on the scroll container so
  reaching the panel's edges does not chain into the body on Android.
- PublicLayout: lock background scroll while the mobile search overlay
  is open using the iOS-compatible position-fixed + restore pattern,
  so the page underneath cannot move at all.
2026-05-30 01:02:18 +08:00
TerryM
d19f2f9efa feat: 移除「关于本站」按钮与功能
- PublicLayout: 删除桌面导航/下拉菜单/页脚三处入口及空页脚,移除 about 导航类型与判断
- App: 移除 /about 路由及 AboutPage 引入
- 删除 pages/About 页面
- DocumentMeta: 移除 /about 的 meta 处理与 about 描述文案(中/英)
- i18n: 移除 aboutTitle / aboutIntro / footerAbout(中/英)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-30 00:59:06 +08:00
TerryM
33a466841c style: prettier 格式化 PublicLayout 以修复 format:check
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 18:19:08 +08:00
TerryM
54bdbbc0e9 feat: 点击 logo 在首页时 scroll to top 2026-05-29 17:27:54 +08:00
TerryM
4f6b4a498f fix: scope back-to-top to browse, speed up reveal, reset scroll on sort change
- BackToTop now only mounts on the /browse feed (covers all / latest /
  popular / search) instead of every route.
- Reveal animation duration cut 0.4s -> 0.25s so scrolled-in content
  appears faster.
- ScrollToTop also watches `search`, so switching between sort views on
  the same /browse path (e.g. 全部资料 <-> 热门资料) returns to the top.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 13:22:40 +08:00
TerryM
f73131dc03 style: apply prettier formatting to fix format:check
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 12:49:22 +08:00
TerryM
88a25b6ad4 feat: scroll to post bubble from recommended card + back-to-top button
Some checks failed
Deploy to Frontend Servers / deploy (push) Failing after 14s
Recommended cards already routed to /browse#post-<id>, but the stream had
no logic to scroll to the target bubble — and the post might not be paged
in yet. MessageStream now resolves the #post-<id> hash, auto-loads more
pages until the bubble renders, scrolls to it, and gives it a brief gold
highlight. Bubbles get scroll-mt so they clear the sticky header.

Also adds a global floating back-to-top button (BackToTop) mounted in
PublicLayout, shown after scrolling past 400px.

Bundles related staging UI work already present in the working tree.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 11:50:27 +08:00
TerryM
35e25fa023 fix: hide language selector in desktop menu
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 20s
2026-05-29 01:08:26 +08:00
TerryM
9b21b7e301 feat: add public page fade in 2026-05-29 00:50:15 +08:00
TerryM
5ae9647465 Add header reveal animations 2026-05-28 22:57:05 +08:00
TerryM
b59fd82006 Refine mobile dropdown close behavior 2026-05-28 22:41:23 +08:00
TerryM
f183a401fc feat: enhance SEO with meta tags and sitemap, add DocumentMeta component 2026-05-28 22:28:23 +08:00
TerryM
f1a0e9ab40 feat: animate dropdown menus 2026-05-28 22:01:17 +08:00
TerryM
15d873be63 fix: align popular sorting links
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 20s
2026-05-28 18:52:01 +08:00
TerryM
6f901f48e1 feat: add mobile search panel 2026-05-28 18:51:55 +08:00
TerryM
5fec82dbba fix: route home view-all links 2026-05-28 16:49:30 +08:00
TerryM
4c15e01460 fix: keep video downloads visible while playing 2026-05-28 16:37:00 +08:00
TerryM
6a998c0186 feat: separate popular browse navigation 2026-05-28 16:28:50 +08:00
TerryM
16b047ba04 fix: stick mobile footer nav to bottom 2026-05-28 16:19:21 +08:00
TerryM
e0240f6217 feat: refine home section navigation 2026-05-28 16:07:08 +08:00
TerryM
0e98428f64 feat: polish figma mobile home and nav 2026-05-28 15:32:15 +08:00
TerryM
e65c473369 feat: align figma browse and category sections 2026-05-28 15:11:13 +08:00
TerryM
49f61b89f1 feat: apply figma browse mobile redesign 2026-05-28 10:41:53 +08:00
TerryM
3825c4ec2f feat: replace language selector text/globe with country flag icons 2026-05-28 10:27:47 +08:00
TerryM
47cff67b87 feat: replace mobile header logo image with i18n text
Use ArkLogoMark + t('brand') on the mobile header so the wordmark can be translated (zh-CN: 'ARK 资料库', en: 'ARK Library'). Desktop nav already used this pattern.
2026-05-28 10:15:03 +08:00
TerryM
3f0a395f40 feat: unify search with browse page 2026-05-27 12:35:47 +08:00
TerryM
2b1874ab01 implement figma mobile header 2026-05-27 11:00:52 +08:00
TerryM
7546faf15e remove wallet functionality 2026-05-27 10:40:02 +08:00
TerryM
292383f122 fix: replace mobile wallet nav item 2026-05-26 20:02:40 +08:00
TerryM
54f71c6ab3 feat: refine language menu and lightbox caption 2026-05-26 18:37:17 +08:00
TerryM
e7a5952d58 feat: align frontend languages with posts api 2026-05-26 07:36:53 +08:00
TerryM
a784f159fe feat: add telegram-style resource stream 2026-05-25 05:25:57 +08:00
TerryM
e6bc212c4e fix: align official recommendations behavior
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 47s
2026-05-19 00:34:29 +08:00
TerryM
40143afc39 FIX: Remove yellow ring
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 47s
2026-05-18 07:44:35 +08:00
TerryM
2c76039c44 feat: apply figma responsive home design
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 49s
2026-05-17 19:38:43 +08:00
TerryM
9c54ffec76 Initial frontend import 2026-05-16 00:18:22 +08:00