Skip to content

Commit 140673e

Browse files
committed
chore: update
1 parent 09e665d commit 140673e

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed

app/layout.tsx

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Image from 'next/image'
22
import Script from 'next/script'
3-
import { LastUpdated, Layout, Navbar } from 'nextra-theme-docs'
3+
import { Footer, LastUpdated, Layout, Navbar } from 'nextra-theme-docs'
44
import { Head } from 'nextra/components'
55
import { getPageMap } from 'nextra/page-map'
66
import icon from './icon.svg'
@@ -20,6 +20,35 @@ const NAVBAR = (
2020
/>
2121
)
2222

23+
const FOOTER = (
24+
<Footer>
25+
<div className="text-sm flex gap-4 w-full justify-between">
26+
<a
27+
target="_blank"
28+
className="hover:underline underline-offset-4 decoration-dotted"
29+
href="https://beian.miit.gov.cn/"
30+
rel="noopener noreferrer"
31+
>
32+
鄂 ICP 备 2022017735 号-11
33+
</a>
34+
<div>
35+
<a
36+
target="_blank"
37+
className="hover:underline underline-offset-4 decoration-dotted"
38+
href="https://creativecommons.org/licenses/by-nc-sa/4.0/"
39+
rel="noopener noreferrer"
40+
>
41+
CC BY-NC-SA 4.0
42+
</a>
43+
{' '}
44+
2025
45+
{' '}
46+
© Nix4Loong
47+
</div>
48+
</div>
49+
</Footer>
50+
)
51+
2352
interface RootLayoutProps {
2453
children: React.ReactNode
2554
}
@@ -42,6 +71,7 @@ export default async function RootLayout({ children }: RootLayoutProps) {
4271
<Layout
4372
pageMap={await getPageMap()}
4473
navbar={NAVBAR}
74+
footer={FOOTER}
4575
editLink={null}
4676
feedback={{ content: null }}
4777
search={null}

content/index.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ Nix4Loong 项目致力于实现以下目标:
5151

5252
## 当前进展
5353

54-
目前,Nix4Loong 项目正在积极推进 Nixpkgs 软件包的龙架构适配工作,并已成功构建出支持图形界面和命令行环境的安装镜像。我们的目标是在 NixOS 25.11 版本发布之前,将龙架构支持正式合并到上游代码库,实现 Nixpkgs 和 NixOS 对龙架构的原生支持。
54+
目前,Nix4Loong 项目正在积极推进 Nixpkgs 软件包的龙架构适配工作,并已成功构建出支持图
55+
形界面和命令行环境的安装镜像。我们的目标是在 NixOS 25.11 版本发布之前,将龙架构支持正式
56+
合并到上游代码库,实现 Nixpkgs 和 NixOS 对龙架构的原生支持。
57+
58+
目前项目正在准备后续的改进工作,并已成功构建出支持图形界面和命令行环境的安装镜像。
5559

5660
- 若要获取针对龙架构的 NixOS 安装镜像,请阅读[安装指南](./installation)
5761
- 若想参与 Nix4Loong 项目的开发,请阅读[贡献指南](./contributing)

0 commit comments

Comments
 (0)