feat(site): 完善官网主体信息与部署配置
This commit is contained in:
1 parent
dfa9f311e0
commit
0dc1b3a68e
14 files changed
+147
-20
No files matched your search
@@ -2,6 +2,7 @@
|
||||
import { Suspense, useState } from 'react';
|
||||
import { Link, Outlet, useLocation } from 'react-router-dom';
|
||||
import { useLocale, useUi } from '../app/providers/AppProviders';
|
||||
import { COMPANY } from '../shared/data/company';
|
||||
import { Sidebar } from './components/Sidebar';
|
||||
import { TopBar } from './components/TopBar';
|
||||
import { UploadVideoDialog } from './components/UploadVideoDialog';
|
||||
@@ -30,13 +31,25 @@ export function AppShell() {
|
||||
</Suspense>
|
||||
{!immersive && (
|
||||
<footer className="site-footer">
|
||||
<div>© {new Date().getFullYear()} {locale.copyright}</div>
|
||||
<div className="site-footer-company">
|
||||
<strong>{COMPANY.legalName}</strong>
|
||||
<span>{COMPANY.address}</span>
|
||||
<span>
|
||||
<a href={`tel:${COMPANY.phoneHref}`}>{COMPANY.phone}</a>
|
||||
{' · '}
|
||||
<a href={`mailto:${COMPANY.email}`}>{COMPANY.email}</a>
|
||||
</span>
|
||||
<span>NIB {COMPANY.nib}</span>
|
||||
</div>
|
||||
<div>© {new Date().getFullYear()} {COMPANY.legalName}. {locale.copyright}</div>
|
||||
<nav className="site-footer-links" aria-label="Legal and company information">
|
||||
<Link to="/privacy">{links.privacy}</Link>
|
||||
<span aria-hidden="true">·</span>
|
||||
<Link to="/terms">{links.terms}</Link>
|
||||
<span aria-hidden="true">·</span>
|
||||
<Link to="/about">{links.about}</Link>
|
||||
<span aria-hidden="true">·</span>
|
||||
<Link to="/contact">Contact</Link>
|
||||
</nav>
|
||||
</footer>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user