checkpoint: before i18n implementation

This commit is contained in:
Leon-in
2026-04-29 00:29:14 +08:00
parent ded6c67a36
commit 437dc976fb
41 changed files with 2167 additions and 1855 deletions
+16 -25
View File
@@ -14,12 +14,12 @@ export async function generateStaticParams() {
export async function generateMetadata({ params }: Props): Promise<Metadata> {
const { slug } = await params
const career = CAREERS.find((c) => c.slug === slug)
if (!career) return { title: "Position Not Found" }
if (!career) return { title: "角色未找到" }
return {
title: career.title,
title: `${career.title} | DAL Code`,
description: career.description,
openGraph: {
title: `${career.title} - DalCode Careers`,
title: `${career.title} | DAL Code`,
description: career.description,
},
}
@@ -54,31 +54,22 @@ export default async function CareerDetailPage({ params }: Props) {
<div className="mg-top-regular">
<div className="inner-container _650px center">
<div className="blog-post-rich-text w-richtext">
<h2>About the role</h2>
<p>We are looking for a {career.title} to join our {career.department} team. In this role, you will work alongside world-class engineers and researchers to push the boundaries of what&apos;s possible with AI.</p>
<h2>Responsibilities</h2>
<h2></h2>
<p>{career.description}</p>
<h2></h2>
<ul role="list">
<li>Collaborate with cross-functional teams to design, develop, and deploy AI solutions</li>
<li>Contribute to research and development of novel AI architectures and algorithms</li>
<li>Write clean, maintainable, and well-tested code</li>
<li>Participate in code reviews and contribute to engineering best practices</li>
<li>Stay up-to-date with the latest developments in AI and machine learning</li>
{career.responsibilities.map((item) => (
<li key={item}>{item}</li>
))}
</ul>
<h2>Requirements</h2>
<h2></h2>
<ul role="list">
<li>Strong background in computer science, mathematics, or a related field</li>
<li>Experience with modern AI/ML frameworks and tools</li>
<li>Excellent problem-solving and communication skills</li>
<li>Ability to work independently and as part of a team</li>
</ul>
<h2>What we offer</h2>
<ul role="list">
<li>Competitive salary and equity package</li>
<li>Comprehensive health, dental, and vision insurance</li>
<li>Flexible work arrangements</li>
<li>Learning and development budget</li>
<li>Regular team events and offsites</li>
{career.requirements.map((item) => (
<li key={item}>{item}</li>
))}
</ul>
<h2></h2>
<p>{career.outcome}</p>
</div>
</div>
</div>
@@ -86,7 +77,7 @@ export default async function CareerDetailPage({ params }: Props) {
<div className="inner-container _650px center text-center">
<Link href="/careers" className="primary-button w-inline-block">
<div className="button-content">
<div>Back to all positions</div>
<div></div>
<div className="button-icon-wrapper primary">
<svg xmlns="http://www.w3.org/2000/svg" width="100%" viewBox="0 0 17 17" fill="none" className="squared-icon">
<path d="M6.25391 3.45312L10.7458 8.01563L6.25391 12.5781" stroke="currentColor" strokeWidth="1.5" strokeLinecap="square" />
+6 -6
View File
@@ -3,11 +3,11 @@ import Link from "next/link"
import { CAREERS } from "@/lib/careers-data"
export const metadata: Metadata = {
title: "Careers",
description: "Join our team and help shape the future of AI. Explore open positions at DalCode.",
title: "建设中的角色",
description: "DAL Code 当前重点建设方向,面向 Agent Engine、Developer Experience、Routing 与 Intent UX。",
openGraph: {
title: "Careers at DalCode",
description: "Join our team and help shape the future of AI.",
title: "DAL Code 建设中的角色",
description: "DAL Code 当前重点建设方向,面向 Agent Engine、Developer Experience、Routing 与 Intent UX。",
},
}
@@ -20,10 +20,10 @@ export default function CareersPage() {
<div className="text-center">
<div className="subtitle">Careers</div>
<div className="mg-top-4x-extra-small">
<h1>Join our team</h1>
<h1></h1>
</div>
<div className="mg-top-4x-extra-small">
<p>We&apos;re looking for talented people to help us build the future of AI-powered development tools.</p>
<p> DAL Code 12 </p>
</div>
</div>
</div>