feat(site): optimize full-stack positioning and collaboration conversion pages

This commit is contained in:
zguiyang
2026-03-16 16:18:28 +08:00
parent ce6110588f
commit 411bbb00d1
13 changed files with 617 additions and 146 deletions

View File

@@ -5,7 +5,7 @@ import Container from "./ui/Container.tsx";
import { useTranslations, getLocalizedPath } from "@/i18n/utils";
import type { Lang } from "@/types/i18n";
import { useState, useEffect } from "react";
import { Menu, X, Home, Rocket, PenTool, Zap, User, Wrench, Mail } from "lucide-react";
import { Menu, X, Home, Rocket, PenTool, User, Briefcase, Mail } from "lucide-react";
import { defaultLang } from "@/i18n/ui";
import { type GlassHeaderProps } from "@/types";
import { motion } from "framer-motion";
@@ -40,11 +40,10 @@ export default function GlassHeader({ lang: propLang }: GlassHeaderProps) {
const navItems = [
{ key: 'nav.home', icon: Home, href: getLocalizedPath('/', lang) },
{ key: 'nav.about', icon: User, href: getLocalizedPath('/about', lang) },
{ key: 'nav.projects', icon: Rocket, href: getLocalizedPath('/projects', lang) },
{ key: 'nav.blog', icon: PenTool, href: getLocalizedPath('/blog', lang) },
{ key: 'nav.now', icon: Zap, href: getLocalizedPath('/now', lang) },
{ key: 'nav.uses', icon: Wrench, href: getLocalizedPath('/uses', lang) },
{ key: 'nav.about', icon: User, href: getLocalizedPath('/about', lang) },
{ key: 'nav.hire', icon: Briefcase, href: getLocalizedPath('/hire', lang) },
{ key: 'nav.contact', icon: Mail, href: getLocalizedPath('/contact', lang) },
];