Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions web/default/src/components/layout/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { Fragment, useMemo } from 'react'
import { Link } from '@tanstack/react-router'
import { useTranslation } from 'react-i18next'
import { cn } from '@/lib/utils'
import { Markdown } from '@/components/ui/markdown'
import { useStatus } from '@/hooks/use-status'
import { useSystemConfig } from '@/hooks/use-system-config'

Expand Down Expand Up @@ -196,12 +197,11 @@ export function Footer(props: FooterProps) {
)}
>
<div className='mx-auto w-full max-w-6xl px-6 py-5'>
<div className='bg-muted/20 border-border/50 flex flex-col items-center justify-between gap-4 rounded-2xl border px-4 py-4 backdrop-blur-sm sm:flex-row sm:px-5'>
<div
className='custom-footer text-muted-foreground min-w-0 text-center text-sm sm:text-left'
dangerouslySetInnerHTML={{ __html: footerHtml }}
/>
<div className='border-border/60 text-muted-foreground/45 flex w-full flex-wrap items-center justify-center gap-x-3 gap-y-1 border-t pt-4 text-xs sm:w-auto sm:justify-end sm:border-t-0 sm:border-l sm:pt-0 sm:pl-5'>
<div className='bg-muted/20 border-border/50 flex flex-col items-center gap-4 rounded-2xl border px-4 py-4 backdrop-blur-sm sm:px-5'>
<div className='custom-footer text-muted-foreground min-w-0 w-full text-center text-sm'>
<Markdown className='text-center'>{footerHtml}</Markdown>
</div>
<div className='border-border/60 text-muted-foreground/45 flex w-full flex-wrap items-center justify-center gap-x-3 gap-y-1 border-t pt-4 text-xs'>
<LegalLinks />
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion web/default/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1800,7 +1800,7 @@
"Follow the guided steps to prepare your workspace before the first login.": "Follow the guided steps to prepare your workspace before the first login.",
"Font": "Font",
"Footer": "Footer",
"Footer text displayed at the bottom of pages": "Footer text displayed at the bottom of pages",
"Footer text displayed at the bottom of pages": "Footer content shown at the bottom of pages. Supports Markdown links, e.g. [ICP No.](https://beian.miit.gov.cn)",
"footer.columns.about.links.aboutProject": "About Project",
"footer.columns.about.links.contact": "Contact Us",
"footer.columns.about.links.features": "Features",
Expand Down
2 changes: 1 addition & 1 deletion web/default/src/i18n/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1851,7 +1851,7 @@
"Follow the guided steps to prepare your workspace before the first login.": "请按照引导步骤在首次登录前准备您的工作区。",
"Font": "字体",
"Footer": "页脚",
"Footer text displayed at the bottom of pages": "显示在页面底部的页脚文本",
"Footer text displayed at the bottom of pages": "显示在页面底部的页脚内容,支持 Markdown 链接,例如 [京ICP备12345号](https://beian.miit.gov.cn)",
"footer.columns.about.links.aboutProject": "关于项目",
"footer.columns.about.links.contact": "联系我们",
"footer.columns.about.links.features": "功能",
Expand Down