File tree Expand file tree Collapse file tree
packages/lib-shared/src/i18n/translations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ description: 周周黑客松的社区活动手册与 SOP,覆盖小型黑客松
6464| ** 物料清单** | [ 📦 活动物料清单] ( /docs/sop/manual/materials ) |
6565| ** 设计素材** | [ Logo/排版素材汇总] ( http://logo.hackathonweekly.com ) |
6666| ** 费用报销** | [ 社区报销申请表] ( https://hackathonweekly.feishu.cn/share/base/form/shrcnSg2UVWbBqh6qV4xwSHPi1c ) |
67- | ** 反馈建议** | [ feedback.hackathonweekly.com ] ( http ://feedback. hackathonweekly.com ) |
67+ | ** 反馈建议** | [ 社区官网需求 & Bug 反馈收集表 ] ( https ://hackathonweekly.feishu.cn/share/base/form/shrcn2DFP83G2Wb7nzNPQhswH9d ) |
6868
6969
7070## 志愿者须知
Original file line number Diff line number Diff line change 11"use client" ;
22
33import { clearCache } from "@/actions/clear-cache" ;
4- import {
5- COMMUNITY_FEEDBACK_FORM_LABEL ,
6- COMMUNITY_FEEDBACK_FORM_URL ,
7- } from "@/modules/shared/lib/community-feedback" ;
4+ import { COMMUNITY_FEEDBACK_FORM_URL } from "@/modules/shared/lib/community-feedback" ;
85import { config } from "@community/config" ;
96import {
107 useEventBookmarksQuery ,
@@ -415,6 +412,20 @@ export default function MePage() {
415412 isLoading = { false }
416413 showCount = { false }
417414 />
415+ < Button
416+ asChild
417+ variant = "outline"
418+ size = "sm"
419+ className = "h-10 w-full justify-center"
420+ >
421+ < a
422+ href = { COMMUNITY_FEEDBACK_FORM_URL }
423+ target = "_blank"
424+ rel = "noreferrer"
425+ >
426+ { t ( "mePage.feedbackSuggestion" ) }
427+ </ a >
428+ </ Button >
418429 < SettingsRow label = { t ( "mePage.darkMode" ) } >
419430 < ColorModeToggle />
420431 </ SettingsRow >
@@ -423,16 +434,6 @@ export default function MePage() {
423434 < LocaleSwitch onLocaleChange = { updateLocale } />
424435 ) : null }
425436 </ SettingsRow >
426- < div className = "px-1 pt-1 text-xs text-muted-foreground" >
427- < a
428- href = { COMMUNITY_FEEDBACK_FORM_URL }
429- target = "_blank"
430- rel = "noreferrer"
431- className = "transition-colors hover:text-foreground"
432- >
433- { COMMUNITY_FEEDBACK_FORM_LABEL }
434- </ a >
435- </ div >
436437 </ Section >
437438
438439 < Button
Original file line number Diff line number Diff line change 11import { TabBar } from "@/modules/public/shared/components/TabBar" ;
2- import {
3- COMMUNITY_FEEDBACK_FORM_LABEL ,
4- COMMUNITY_FEEDBACK_FORM_URL ,
5- } from "@/modules/shared/lib/community-feedback" ;
62import { config } from "@community/config" ;
73import { DocsLayout } from "fumadocs-ui/layouts/docs" ;
8- import { getLocale , getTranslations } from "next-intl/server" ;
4+ import { getLocale } from "next-intl/server" ;
95import Image from "next/image" ;
106import type { PropsWithChildren } from "react" ;
117import { docsSource } from "../../../../docs-source" ;
128
139export default async function DocumentationLayout ( {
1410 children,
1511} : PropsWithChildren ) {
16- const t = await getTranslations ( ) ;
1712 const locale = await getLocale ( ) ;
1813 const tree =
1914 docsSource . pageTree [ locale ] ??
@@ -62,16 +57,6 @@ export default async function DocumentationLayout({
6257 } }
6358 >
6459 { children }
65- < div className = "mt-8 border-t border-border/50 pt-5 text-xs text-muted-foreground" >
66- < a
67- href = { COMMUNITY_FEEDBACK_FORM_URL }
68- target = "_blank"
69- rel = "noreferrer"
70- className = "transition-colors hover:text-foreground"
71- >
72- { COMMUNITY_FEEDBACK_FORM_LABEL }
73- </ a >
74- </ div >
7560 </ DocsLayout >
7661 </ div >
7762 < TabBar />
Original file line number Diff line number Diff line change 25012501 "mePage" : {
25022502 "darkMode" : " Dark mode" ,
25032503 "discoverOrganizations" : " Discover Organizations" ,
2504+ "feedbackSuggestion" : " Feedback" ,
25042505 "language" : " Language" ,
25052506 "logout" : " Log out" ,
25062507 "messages" : " Messages" ,
Original file line number Diff line number Diff line change 25602560 "mePage" : {
25612561 "darkMode" : " 深色模式" ,
25622562 "discoverOrganizations" : " 发现更多组织" ,
2563+ "feedbackSuggestion" : " 反馈建议" ,
25632564 "language" : " 语言" ,
25642565 "logout" : " 退出登录" ,
25652566 "messages" : " 我的消息" ,
You can’t perform that action at this time.
0 commit comments