Skip to content

Commit a73143d

Browse files
committed
update meta header
1 parent 92856d3 commit a73143d

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

.github/workflows/Deploy.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- docs
66
env:
77
YARN_ENABLE_IMMUTABLE_INSTALLS: "false"
8+
NEXT_TELEMETRY_DISABLED: '1'
89
jobs:
910
build:
1011
runs-on: ubuntu-latest
@@ -21,7 +22,10 @@ jobs:
2122
- name: Restore Cache
2223
uses: actions/cache@v4
2324
with:
24-
path: ${{ steps.yarn-cache.outputs.dir }}
25+
path: |
26+
${{ steps.yarn-cache.outputs.dir }}
27+
~/.npm
28+
${{ github.workspace }}/.next/cache
2529
key: ${{ runner.os }}-next-yarn-${{ hashFiles('**/yarn.lock') }}
2630
restore-keys: ${{ runner.os }}-next-yarn-
2731
- name: Install

app/(home)/images.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ export function ImageCarousel() {
2222
}, [next]);
2323

2424
return (
25-
<div className="relative w-screen left-[50%] right-[50%] -mx-[50vw]">
26-
<div className="max-w-5xl mx-auto px-4">
25+
<div className="relative w-full">
26+
<div className="w-full">
2727
<div className="relative rounded-lg overflow-hidden bg-fd-subtle mb-12 aspect-[16/10]">
2828
{images.map((image, index) => (
2929
<div

app/(home)/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const contributors = ['undefined-moe', 'pandadtdyy', 'wuxianucw', 'criyle', 'Mac
88

99
export default function HomePage() {
1010
return (
11-
<main className="flex flex-1 flex-col max-w-3xl mx-auto px-4 py-16">
11+
<main className="flex flex-1 flex-col max-w-3xl mx-auto px-4 py-16 overflow-x-hidden">
1212
<div className="flex items-center gap-4 mb-6">
1313
<div className="relative w-12 h-12">
1414
<Image

app/layout.tsx

+6
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,14 @@ export default function Layout({ children }: { children: ReactNode }) {
1414
return (
1515
<html lang="en" className={inter.className} suppressHydrationWarning>
1616
<head>
17+
<title>Hydro Docs</title>
1718
<link rel="icon" href="/favicon.png" />
1819
<meta name="theme-color" content="#ffeded" />
20+
<meta name="description" content="Hydro 文档" />
21+
<meta name="keywords" content="Hydro, 文档, 教程, 指南, HydroOJ, OJ, Online Judge, 在线评测" />
22+
<meta name="og:title" content="Hydro Docs" />
23+
<meta name="og:site_name" content="Hydro Docs" />
24+
<meta name="og:locale" content="zh_CN" />
1925
</head>
2026
<body className="flex flex-col min-h-screen">
2127
<RootProvider

content/docs/Hydro/plugins/extra.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ LOJ, AtCoder 与 BZOJ 部分,我们均部署了完整的测试数据镜像,
5252
注:若您希望自行进行评测,也可以下载测试数据导入本地系统。
5353

5454
- LOJ: 使用 [loj-download](https://github.com/hydro-dev/loj-download) (约 179G)
55-
- AtCoder: [Dropbox](https://www.dropbox.com/sh/nx3tnilzqz7df8a/AAAYlTq2tiEHl5hsESw6-yfLa?dl=0) (约 80GB)
55+
- AtCoder: ~~[Dropbox](https://www.dropbox.com/sh/nx3tnilzqz7df8a/AAAYlTq2tiEHl5hsESw6-yfLa?dl=0)~~ 不再提供测试数据下载。
5656
- BZOJ: 因特殊原因请自行搜索下载源。(约 64GB)
5757

58-
关于洛谷题库的远端评测,请参照 [洛谷开放平台](https://docs.lgapi.cn/open/) 说明,此服务由洛谷提供。
58+
关于洛谷题库的远端评测,请参照 [洛谷开放平台](https://docs.lgapi.cn/open/) 说明,此服务由洛谷提供,您也可以前往 [Hydro](https://hydro.ac/luogu/pay) 直接购买授权

0 commit comments

Comments
 (0)