'新增招聘
This commit is contained in:
@@ -1,11 +1,20 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
|
import { useEffect } from "react";
|
||||||
import { useTranslation } from "@/i18n/navigation";
|
import { useTranslation } from "@/i18n/navigation";
|
||||||
import { getThemeConfig } from "@/config";
|
import { getThemeConfig } from "@/config";
|
||||||
import SocialPlatformIcon from "../../components/SocialPlatformIcon";
|
import SocialPlatformIcon from "../../components/SocialPlatformIcon";
|
||||||
|
|
||||||
export default function AboutContent() {
|
export default function AboutContent() {
|
||||||
const { t } = useTranslation("about");
|
const { t } = useTranslation("about");
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
window.history.scrollRestoration = "manual";
|
||||||
|
window.scrollTo(0, 0);
|
||||||
|
return () => {
|
||||||
|
window.history.scrollRestoration = "auto";
|
||||||
|
};
|
||||||
|
}, []);
|
||||||
const config = getThemeConfig();
|
const config = getThemeConfig();
|
||||||
const linktreeUrl = config.linktreeUrl;
|
const linktreeUrl = config.linktreeUrl;
|
||||||
const socialLinks = config.socialLinks ?? [];
|
const socialLinks = config.socialLinks ?? [];
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ const footerSections = [
|
|||||||
titleKey: "about" as const,
|
titleKey: "about" as const,
|
||||||
links: [
|
links: [
|
||||||
{ labelKey: "aboutUs" as const, href: "/about", internal: true },
|
{ labelKey: "aboutUs" as const, href: "/about", internal: true },
|
||||||
{ labelKey: "recruit" as const, href: "/jobs", internal: true, openInNewTab: true },
|
{ labelKey: "recruit" as const, href: "/jobs", internal: true },
|
||||||
{ labelKey: "privacy" as const, href: "/privacy", internal: true, openInNewTab: true },
|
{ labelKey: "privacy" as const, href: "/privacy", internal: true, openInNewTab: true },
|
||||||
{ labelKey: "contact" as const, href: "#" },
|
{ labelKey: "contact" as const, href: "#" },
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user