'新增招聘

This commit is contained in:
eric
2026-03-08 12:38:57 -05:00
parent 6e54e0efd2
commit 4243a52327
2 changed files with 10 additions and 1 deletions

View File

@@ -1,11 +1,20 @@
"use client";
import { useEffect } from "react";
import { useTranslation } from "@/i18n/navigation";
import { getThemeConfig } from "@/config";
import SocialPlatformIcon from "../../components/SocialPlatformIcon";
export default function AboutContent() {
const { t } = useTranslation("about");
useEffect(() => {
window.history.scrollRestoration = "manual";
window.scrollTo(0, 0);
return () => {
window.history.scrollRestoration = "auto";
};
}, []);
const config = getThemeConfig();
const linktreeUrl = config.linktreeUrl;
const socialLinks = config.socialLinks ?? [];