mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
feat(nav): mobile sheet + shared bar control chrome (v3 mobile navigation)
MobileMenu.tsx: conditional-mounted glass sheet (94% + blur(12px)), three labelled groups, staggered rows, Mode/Language/Theme-color segmented rows, Connect tiles, safe-area padding, overscroll contain. Navigation.tsx: honest dialog - Escape on document, inert on #main-content/.footer/.back-to-top, focus restore guarded by offsetParent, matchMedia close above 1024px, icon morph, navPaths from data; route-change close effect deleted. SocialLinks: single data-driven renderer (src/data/social.ts + strings.social.aria); Hero and Footer cut over; mailto without target/rel; dead .social-link span rule removed; hero/footer centering scoped. Bar: .nav-control shared chrome for mode/language/theme-color, icon-only 20px half-circle palette trigger at every width, <=420px bar guard; .nav glass 85% -> 94%. Docs: spec-v3-mobile-navigation.md v0.5.0 (Q14 recorded, gates re-run 16/16 SSR), spec-ui-layout.md and AGENTS.md corrected.
This commit is contained in:
1 parent
f2c920d6ad
commit
d0aa9958c8
16 files changed
+1386
-311
No files matched your search
+20
-6
@@ -6,8 +6,27 @@ export const strings = {
|
||||
projects: {en: 'Projects', vi: 'Dự án'},
|
||||
philosophy: {en: 'Philosophy', vi: 'Triết lý'},
|
||||
contact: {en: 'Contact', vi: 'Liên hệ'},
|
||||
palette: {en: 'Theme color', vi: 'Màu giao diện'},
|
||||
palette: {en: 'Theme', vi: 'Giao diện'},
|
||||
paletteAria: {en: 'Switch theme color', vi: 'Đổi màu giao diện'},
|
||||
menuAria: {en: 'Site menu', vi: 'Menu trang'},
|
||||
openMenu: {en: 'Open menu', vi: 'Mở menu'},
|
||||
closeMenu: {en: 'Close menu', vi: 'Đóng menu'},
|
||||
groupMenu: {en: 'Menu', vi: 'Menu'},
|
||||
groupAppearance: {en: 'Appearance', vi: 'Giao diện'},
|
||||
themeGroup: {en: 'Mode', vi: 'Chế độ'},
|
||||
themeDark: {en: 'Dark', vi: 'Tối'},
|
||||
themeLight: {en: 'Light', vi: 'Sáng'},
|
||||
langGroup: {en: 'Language', vi: 'Ngôn ngữ'},
|
||||
langEn: {en: 'English', vi: 'English'},
|
||||
langVi: {en: 'Tiếng Việt', vi: 'Tiếng Việt'},
|
||||
},
|
||||
social: {
|
||||
heading: {en: 'Connect', vi: 'Kết nối'},
|
||||
aria: {
|
||||
github: {en: 'View GitHub profile', vi: 'Xem hồ sơ GitHub'},
|
||||
linkedin: {en: 'View LinkedIn profile', vi: 'Xem hồ sơ LinkedIn'},
|
||||
email: {en: 'Send email', vi: 'Gửi email'},
|
||||
},
|
||||
},
|
||||
footer: {
|
||||
copyright: {en: 'All rights reserved', vi: 'Bảo lưu mọi quyền'},
|
||||
@@ -103,11 +122,6 @@ export const strings = {
|
||||
common: {
|
||||
backTo: {en: 'Back to %s', vi: 'Quay lại %s'},
|
||||
resumeDownload: {en: 'Get Resume', vi: 'Tải CV'},
|
||||
socialAriaLabels: {
|
||||
github: {en: 'View GitHub profile', vi: 'Xem hồ sơ GitHub'},
|
||||
linkedin: {en: 'View LinkedIn profile', vi: 'Xem hồ sơ LinkedIn'},
|
||||
email: {en: 'Send email', vi: 'Gửi email'},
|
||||
},
|
||||
contactTag: {en: 'Contact', vi: 'Liên hệ'},
|
||||
experienceTag: {en: 'Experience', vi: 'Kinh nghiệm'},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user