File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ GITHUB_TOKEN=
1515INDEXNOW_API_TOKEN =
1616# Open的Key
1717INDEXNOW_KEY = 5b6ef14a7406496b8a2ce8ab17820b34
18- NEXT_PUBLIC_SITE_URL = https://involutionhell.vercel.app
18+ NEXT_PUBLIC_SITE_URL = https://involutionhell.com
1919# Neon 提供的 Postgres 连接。
2020# 登录 Neon 控制台 → 数据库 → "Connect" → "Connection details",可以复制以下所有变量。
2121# 推荐连接字符串
Original file line number Diff line number Diff line change 3838 - name : Submit IndexNow (changed URLs)
3939 if : github.ref == 'refs/heads/main'
4040 env :
41- SITE_ORIGIN : https://involutionhell.vercel.app
42- INDEXNOW_API : https://involutionhell.vercel.app /api/indexnow
41+ SITE_ORIGIN : https://involutionhell.com
42+ INDEXNOW_API : https://involutionhell.com /api/indexnow
4343 INDEXNOW_API_TOKEN : ${{ secrets.INDEXNOW_API_TOKEN }}
4444 run : |
4545 set -euo pipefail
Original file line number Diff line number Diff line change @@ -229,9 +229,10 @@ export function Contribute() {
229229 rel = "noopener noreferrer"
230230 aria-label = "查看投稿指南"
231231 title = "查看投稿指南"
232- className = "absolute top-0 right-0 flex h-9 w-9 translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full border border-white/80 bg-white text-sky-600 shadow-lg ring-1 ring-sky-400/60 transition-transform hover:-translate-y-1/2 hover:translate-x-1/2 hover:scale-105 hover:shadow-xl dark:border-slate-700 dark:bg-slate-900 dark:text-sky-300"
232+ className = "absolute top-0 right-0 flex h-11 w-11 translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full border border-white/80 bg-white text-sky-600 shadow-lg ring-1 ring-sky-400/60 transition-transform hover:-translate-y-1/2 hover:translate-x-1/2 hover:scale-105 hover:shadow-xl focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring dark:border-slate-700 dark:bg-slate-900 dark:text-sky-300"
233233 >
234234 < span className = "text-lg font-semibold" > ?</ span >
235+ < span className = "sr-only" > 查看投稿指南</ span >
235236 </ a >
236237 </ div >
237238 < DialogContent className = "sm:max-w-2xl" >
Original file line number Diff line number Diff line change @@ -21,17 +21,23 @@ export function Footer() {
2121 href = "https://github.com/involutionhell"
2222 target = "_blank"
2323 rel = "noopener noreferrer"
24- className = "p-2 rounded-lg bg-card border border-border hover:bg-accent hover:scale-110 transition-all duration-300"
24+ aria-label = "访问 Involution Hell 的 GitHub"
25+ title = "访问 GitHub"
26+ className = "inline-flex h-11 w-11 items-center justify-center rounded-lg bg-card border border-border hover:bg-accent hover:scale-110 transition-all duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
2527 >
26- < Github className = "h-5 w-5" />
28+ < Github className = "h-5 w-5" aria-hidden = "true" />
29+ < span className = "sr-only" > 访问 GitHub</ span >
2730 </ a >
2831 < a
2932 href = "https://discord.com/invite/6CGP73ZWbD"
3033 target = "_blank"
3134 rel = "noopener noreferrer"
32- className = "p-2 rounded-lg bg-card border border-border hover:bg-accent hover:scale-110 transition-all duration-300"
35+ aria-label = "加入 Discord 社区"
36+ title = "加入 Discord"
37+ className = "inline-flex h-11 w-11 items-center justify-center rounded-lg bg-card border border-border hover:bg-accent hover:scale-110 transition-all duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
3338 >
34- < MessageCircle className = "h-5 w-5" />
39+ < MessageCircle className = "h-5 w-5" aria-hidden = "true" />
40+ < span className = "sr-only" > 加入 Discord 社区</ span >
3541 </ a >
3642 </ div >
3743 </ div >
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export function LicenseNotice({ className }: LicenseNoticeProps) {
1212 className ,
1313 ) }
1414 >
15- < a href = "https://involutionhell.vercel.app " > Involution Hell</ a >
15+ < a href = "https://involutionhell.com " > Involution Hell</ a >
1616 < span > © 2025 by</ span >
1717 < a href = "https://github.com/InvolutionHell" > Involution Hell Community</ a >
1818 < span > is licensed under</ span >
Original file line number Diff line number Diff line change @@ -61,12 +61,12 @@ export function ZoteroFeed({
6161 < section className = "mt-16 mb-10" aria-labelledby = "zotero-heading" >
6262 < div className = "border border-border bg-background/20 backdrop-blur-sm rounded-lg p-6" >
6363 < div className = "mb-3 flex items-baseline justify-between" >
64- < h3
64+ < h2
6565 id = "zotero-heading"
6666 className = "text-xs font-semibold tracking-wide uppercase text-muted-foreground"
6767 >
6868 我们在读什么:
69- </ h3 >
69+ </ h2 >
7070 < a
7171 href = { openUrl }
7272 target = "_blank"
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const geistMono = localFont({
1919} ) ;
2020
2121const SITE_URL =
22- process . env . NEXT_PUBLIC_SITE_URL || "https://involutionhell.vercel.app " ;
22+ process . env . NEXT_PUBLIC_SITE_URL || "https://involutionhell.com " ;
2323
2424export const metadata : Metadata = {
2525 metadataBase : new URL ( SITE_URL ) ,
@@ -162,7 +162,9 @@ export default function RootLayout({
162162 } }
163163 >
164164 < ThemeProvider defaultTheme = "system" storageKey = "ih-theme" >
165- < div className = "relative z-10" > { children } </ div >
165+ < main id = "main-content" className = "relative z-10" >
166+ { children }
167+ </ main >
166168 </ ThemeProvider >
167169 </ RootProvider >
168170 { /* 谷歌分析 */ }
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import { source } from "@/lib/source";
2626 * 默认为一个回退地址。
2727 */
2828const RAW_SITE_URL =
29- process . env . NEXT_PUBLIC_SITE_URL ?? "https://involutionhell.vercel.app " ;
29+ process . env . NEXT_PUBLIC_SITE_URL ?? "https://involutionhell.com " ;
3030
3131/**
3232 * 经过规范化处理的站点 URL(确保有协议头,且不带尾部斜杠)。
Original file line number Diff line number Diff line change 11# Allow legitimate search engines, block aggressive scrapers + AI bots
2- Sitemap: https://involutionhell.vercel.app /sitemap.xml
2+ Sitemap: https://involutionhell.com /sitemap.xml
33User-agent: *
44Disallow: /api/
55Disallow: /_next/
You can’t perform that action at this time.
0 commit comments