Skip to content

feat: refactor trust navbar responsiveness#106

Merged
thewilloftheshadow merged 1 commit intoopenclaw:mainfrom
geoffrey-xiao:feat/refactor-navbar-for-small-screens
Mar 17, 2026
Merged

feat: refactor trust navbar responsiveness#106
thewilloftheshadow merged 1 commit intoopenclaw:mainfrom
geoffrey-xiao:feat/refactor-navbar-for-small-screens

Conversation

@geoffrey-xiao
Copy link
Contributor

Summary

Refactors the Trust-site navbar into a shared TrustTopbar component and makes the header behave better on smaller screens.

What Changed

  • Extracted the duplicated trust/threat-model topbar into src/components/TrustTopbar.astro
  • Replaced the per-page navbar markup/CSS across all trust locale pages
  • Kept the original OpenClaw logo on the left
  • Preserved Trust / Threat Model mode links
  • Switched smaller-screen language navigation to a compact selector while keeping desktop language links
  • Cleaned up stale responsive code from the earlier iterations

before
image

after
image

Pages Covered

  • /trust
  • /trust/threatmodel
  • /trust/zh-cn
  • /trust/zh-cn/threatmodel
  • /trust/ko
  • /trust/ko/threatmodel
  • /trust/ja
  • /trust/ja/threatmodel

Verification

  • bun run build

@vercel
Copy link

vercel bot commented Mar 16, 2026

@geoffrey-xiao is attempting to deploy a commit to the Jamie's projects Team on Vercel.

A member of the Team first needs to authorize it.

@thewilloftheshadow thewilloftheshadow merged commit e7a1a42 into openclaw:main Mar 17, 2026
13 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants