init: official website with updated branding and navbar styling
This commit is contained in:
24
qczl-website/.gitignore
vendored
Normal file
24
qczl-website/.gitignore
vendored
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
pnpm-debug.log*
|
||||||
|
lerna-debug.log*
|
||||||
|
|
||||||
|
node_modules
|
||||||
|
dist
|
||||||
|
dist-ssr
|
||||||
|
*.local
|
||||||
|
|
||||||
|
# Editor directories and files
|
||||||
|
.vscode/*
|
||||||
|
!.vscode/extensions.json
|
||||||
|
.idea
|
||||||
|
.DS_Store
|
||||||
|
*.suo
|
||||||
|
*.ntvs*
|
||||||
|
*.njsproj
|
||||||
|
*.sln
|
||||||
|
*.sw?
|
||||||
14
qczl-website/index.html
Normal file
14
qczl-website/index.html
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="zh-CN">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>青春之旅电子信息科技(威海)有限公司</title>
|
||||||
|
<meta name="description" content="青春之旅电子信息科技(威海)有限公司 - 专业软件开发服务提供商" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="root"></div>
|
||||||
|
<script type="module" src="/src/main.tsx"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
3397
qczl-website/package-lock.json
generated
Normal file
3397
qczl-website/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
30
qczl-website/package.json
Normal file
30
qczl-website/package.json
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"name": "qczl-website",
|
||||||
|
"private": true,
|
||||||
|
"version": "0.0.0",
|
||||||
|
"type": "module",
|
||||||
|
"scripts": {
|
||||||
|
"dev": "vite",
|
||||||
|
"build": "tsc && vite build",
|
||||||
|
"preview": "vite preview"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@radix-ui/react-slot": "^1.2.4",
|
||||||
|
"class-variance-authority": "^0.7.1",
|
||||||
|
"clsx": "^2.1.1",
|
||||||
|
"geist": "^1.7.0",
|
||||||
|
"lucide-react": "^0.503.0",
|
||||||
|
"react": "^19.1.0",
|
||||||
|
"react-dom": "^19.1.0",
|
||||||
|
"tailwind-merge": "^3.2.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@tailwindcss/vite": "^4.1.4",
|
||||||
|
"@types/react": "^19.1.2",
|
||||||
|
"@types/react-dom": "^19.1.2",
|
||||||
|
"@vitejs/plugin-react": "^4.4.1",
|
||||||
|
"tailwindcss": "^4.1.4",
|
||||||
|
"typescript": "~6.0.2",
|
||||||
|
"vite": "^6.3.3"
|
||||||
|
}
|
||||||
|
}
|
||||||
1
qczl-website/public/favicon.svg
Normal file
1
qczl-website/public/favicon.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 9.3 KiB |
BIN
qczl-website/public/fonts/GeistMono-Variable.woff2
Normal file
BIN
qczl-website/public/fonts/GeistMono-Variable.woff2
Normal file
Binary file not shown.
24
qczl-website/public/icons.svg
Normal file
24
qczl-website/public/icons.svg
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<symbol id="bluesky-icon" viewBox="0 0 16 17">
|
||||||
|
<g clip-path="url(#bluesky-clip)"><path fill="#08060d" d="M7.75 7.735c-.693-1.348-2.58-3.86-4.334-5.097-1.68-1.187-2.32-.981-2.74-.79C.188 2.065.1 2.812.1 3.251s.241 3.602.398 4.13c.52 1.744 2.367 2.333 4.07 2.145-2.495.37-4.71 1.278-1.805 4.512 3.196 3.309 4.38-.71 4.987-2.746.608 2.036 1.307 5.91 4.93 2.746 2.72-2.746.747-4.143-1.747-4.512 1.702.189 3.55-.4 4.07-2.145.156-.528.397-3.691.397-4.13s-.088-1.186-.575-1.406c-.42-.19-1.06-.395-2.741.79-1.755 1.24-3.64 3.752-4.334 5.099"/></g>
|
||||||
|
<defs><clipPath id="bluesky-clip"><path fill="#fff" d="M.1.85h15.3v15.3H.1z"/></clipPath></defs>
|
||||||
|
</symbol>
|
||||||
|
<symbol id="discord-icon" viewBox="0 0 20 19">
|
||||||
|
<path fill="#08060d" d="M16.224 3.768a14.5 14.5 0 0 0-3.67-1.153c-.158.286-.343.67-.47.976a13.5 13.5 0 0 0-4.067 0c-.128-.306-.317-.69-.476-.976A14.4 14.4 0 0 0 3.868 3.77C1.546 7.28.916 10.703 1.231 14.077a14.7 14.7 0 0 0 4.5 2.306q.545-.748.965-1.587a9.5 9.5 0 0 1-1.518-.74q.191-.14.372-.293c2.927 1.369 6.107 1.369 8.999 0q.183.152.372.294-.723.437-1.52.74.418.838.963 1.588a14.6 14.6 0 0 0 4.504-2.308c.37-3.911-.63-7.302-2.644-10.309m-9.13 8.234c-.878 0-1.599-.82-1.599-1.82 0-.998.705-1.82 1.6-1.82.894 0 1.614.82 1.599 1.82.001 1-.705 1.82-1.6 1.82m5.91 0c-.878 0-1.599-.82-1.599-1.82 0-.998.705-1.82 1.6-1.82.893 0 1.614.82 1.599 1.82 0 1-.706 1.82-1.6 1.82"/>
|
||||||
|
</symbol>
|
||||||
|
<symbol id="documentation-icon" viewBox="0 0 21 20">
|
||||||
|
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="m15.5 13.333 1.533 1.322c.645.555.967.833.967 1.178s-.322.623-.967 1.179L15.5 18.333m-3.333-5-1.534 1.322c-.644.555-.966.833-.966 1.178s.322.623.966 1.179l1.534 1.321"/>
|
||||||
|
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M17.167 10.836v-4.32c0-1.41 0-2.117-.224-2.68-.359-.906-1.118-1.621-2.08-1.96-.599-.21-1.349-.21-2.848-.21-2.623 0-3.935 0-4.983.369-1.684.591-3.013 1.842-3.641 3.428C3 6.449 3 7.684 3 10.154v2.122c0 2.558 0 3.838.706 4.726q.306.383.713.671c.76.536 1.79.64 3.581.66"/>
|
||||||
|
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M3 10a2.78 2.78 0 0 1 2.778-2.778c.555 0 1.209.097 1.748-.047.48-.129.854-.503.982-.982.145-.54.048-1.194.048-1.749a2.78 2.78 0 0 1 2.777-2.777"/>
|
||||||
|
</symbol>
|
||||||
|
<symbol id="github-icon" viewBox="0 0 19 19">
|
||||||
|
<path fill="#08060d" fill-rule="evenodd" d="M9.356 1.85C5.05 1.85 1.57 5.356 1.57 9.694a7.84 7.84 0 0 0 5.324 7.44c.387.079.528-.168.528-.376 0-.182-.013-.805-.013-1.454-2.165.467-2.616-.935-2.616-.935-.349-.91-.864-1.143-.864-1.143-.71-.48.051-.48.051-.48.787.051 1.2.805 1.2.805.695 1.194 1.817.857 2.268.649.064-.507.27-.857.49-1.052-1.728-.182-3.545-.857-3.545-3.87 0-.857.31-1.558.8-2.104-.078-.195-.349-1 .077-2.078 0 0 .657-.208 2.14.805a7.5 7.5 0 0 1 1.946-.26c.657 0 1.328.092 1.946.26 1.483-1.013 2.14-.805 2.14-.805.426 1.078.155 1.883.078 2.078.502.546.799 1.247.799 2.104 0 3.013-1.818 3.675-3.558 3.87.284.247.528.714.528 1.454 0 1.052-.012 1.896-.012 2.156 0 .208.142.455.528.377a7.84 7.84 0 0 0 5.324-7.441c.013-4.338-3.48-7.844-7.773-7.844" clip-rule="evenodd"/>
|
||||||
|
</symbol>
|
||||||
|
<symbol id="social-icon" viewBox="0 0 20 20">
|
||||||
|
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M12.5 6.667a4.167 4.167 0 1 0-8.334 0 4.167 4.167 0 0 0 8.334 0"/>
|
||||||
|
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M2.5 16.667a5.833 5.833 0 0 1 8.75-5.053m3.837.474.513 1.035c.07.144.257.282.414.309l.93.155c.596.1.736.536.307.965l-.723.73a.64.64 0 0 0-.152.531l.207.903c.164.715-.213.991-.84.618l-.872-.52a.63.63 0 0 0-.577 0l-.872.52c-.624.373-1.003.094-.84-.618l.207-.903a.64.64 0 0 0-.152-.532l-.723-.729c-.426-.43-.289-.864.306-.964l.93-.156a.64.64 0 0 0 .412-.31l.513-1.034c.28-.562.735-.562 1.012 0"/>
|
||||||
|
</symbol>
|
||||||
|
<symbol id="x-icon" viewBox="0 0 19 19">
|
||||||
|
<path fill="#08060d" fill-rule="evenodd" d="M1.893 1.98c.052.072 1.245 1.769 2.653 3.77l2.892 4.114c.183.261.333.48.333.486s-.068.089-.152.183l-.522.593-.765.867-3.597 4.087c-.375.426-.734.834-.798.905a1 1 0 0 0-.118.148c0 .01.236.017.664.017h.663l.729-.83c.4-.457.796-.906.879-.999a692 692 0 0 0 1.794-2.038c.034-.037.301-.34.594-.675l.551-.624.345-.392a7 7 0 0 1 .34-.374c.006 0 .93 1.306 2.052 2.903l2.084 2.965.045.063h2.275c1.87 0 2.273-.003 2.266-.021-.008-.02-1.098-1.572-3.894-5.547-2.013-2.862-2.28-3.246-2.273-3.266.008-.019.282-.332 2.085-2.38l2-2.274 1.567-1.782c.022-.028-.016-.03-.65-.03h-.674l-.3.342a871 871 0 0 1-1.782 2.025c-.067.075-.405.458-.75.852a100 100 0 0 1-.803.91c-.148.172-.299.344-.99 1.127-.304.343-.32.358-.345.327-.015-.019-.904-1.282-1.976-2.808L6.365 1.85H1.8zm1.782.91 8.078 11.294c.772 1.08 1.413 1.973 1.425 1.984.016.017.241.02 1.05.017l1.03-.004-2.694-3.766L7.796 5.75 5.722 2.852l-1.039-.004-1.039-.004z" clip-rule="evenodd"/>
|
||||||
|
</symbol>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 4.9 KiB |
23
qczl-website/src/App.tsx
Normal file
23
qczl-website/src/App.tsx
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
import { Navbar } from "./components/sections/navbar"
|
||||||
|
import { Hero } from "./components/sections/hero"
|
||||||
|
import { About } from "./components/sections/about"
|
||||||
|
import { Cases } from "./components/sections/cases"
|
||||||
|
import { Team } from "./components/sections/team"
|
||||||
|
import { Footer } from "./components/sections/footer"
|
||||||
|
|
||||||
|
function App() {
|
||||||
|
return (
|
||||||
|
<div className="min-h-screen bg-background text-foreground">
|
||||||
|
<Navbar />
|
||||||
|
<main>
|
||||||
|
<Hero />
|
||||||
|
<About />
|
||||||
|
<Cases />
|
||||||
|
<Team />
|
||||||
|
</main>
|
||||||
|
<Footer />
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default App
|
||||||
BIN
qczl-website/src/assets/hero.png
Normal file
BIN
qczl-website/src/assets/hero.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
1
qczl-website/src/assets/typescript.svg
Normal file
1
qczl-website/src/assets/typescript.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" width="32" height="32" viewBox="0 0 256 256"><path fill="#007ACC" d="M0 128v128h256V0H0z"/><path fill="#FFF" d="m56.612 128.85l-.081 10.483h33.32v94.68h23.568v-94.68h33.321v-10.28c0-5.69-.122-10.444-.284-10.566c-.122-.162-20.4-.244-44.983-.203l-44.74.122l-.121 10.443Zm149.955-10.742c6.501 1.625 11.459 4.51 16.01 9.224c2.357 2.52 5.851 7.111 6.136 8.208c.08.325-11.053 7.802-17.798 11.988c-.244.162-1.22-.894-2.317-2.52c-3.291-4.795-6.745-6.867-12.028-7.233c-7.76-.528-12.759 3.535-12.718 10.321c0 1.992.284 3.17 1.097 4.795c1.707 3.536 4.876 5.649 14.832 9.956c18.326 7.883 26.168 13.084 31.045 20.48c5.445 8.249 6.664 21.415 2.966 31.208c-4.063 10.646-14.14 17.879-28.323 20.276c-4.388.772-14.79.65-19.504-.203c-10.28-1.828-20.033-6.908-26.047-13.572c-2.357-2.6-6.949-9.387-6.664-9.874c.122-.163 1.178-.813 2.356-1.504c1.138-.65 5.446-3.129 9.509-5.485l7.355-4.267l1.544 2.276c2.154 3.29 6.867 7.801 9.712 9.305c8.167 4.307 19.383 3.698 24.909-1.26c2.357-2.153 3.332-4.388 3.332-7.68c0-2.966-.366-4.266-1.91-6.501c-1.99-2.845-6.054-5.242-17.595-10.24c-13.206-5.69-18.895-9.224-24.096-14.832c-3.007-3.25-5.852-8.452-7.03-12.8c-.975-3.617-1.22-12.678-.447-16.335c2.723-12.76 12.353-21.659 26.25-24.3c4.51-.853 14.994-.528 19.424.569Z"/></svg>
|
||||||
|
After Width: | Height: | Size: 1.3 KiB |
1
qczl-website/src/assets/vite.svg
Normal file
1
qczl-website/src/assets/vite.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 8.5 KiB |
109
qczl-website/src/components/sections/about.tsx
Normal file
109
qczl-website/src/components/sections/about.tsx
Normal file
@@ -0,0 +1,109 @@
|
|||||||
|
import { Zap, Shield, Code2, Rocket, Eye, Heart, Bot, Gauge, Layers, MessageSquare } from "lucide-react"
|
||||||
|
|
||||||
|
const stats = [
|
||||||
|
{ label: "projects shipped", value: "100+", desc: "交付项目" },
|
||||||
|
{ label: "years building", value: "5+", desc: "持续开发" },
|
||||||
|
{ label: "client retention", value: "95%", desc: "客户留存" },
|
||||||
|
]
|
||||||
|
|
||||||
|
const advantages = [
|
||||||
|
{ icon: Bot, label: "AI 驱动", desc: "深度整合 AI 工具链,开发效率提升数倍" },
|
||||||
|
{ icon: Gauge, label: "快速交付", desc: "两周一个迭代,持续交付可运行的成果" },
|
||||||
|
{ icon: Layers, label: "全栈覆盖", desc: "前端、后端、移动端、基础设施一个团队搞定" },
|
||||||
|
{ icon: MessageSquare, label: "直接沟通", desc: "你直接和写代码的人对话,需求零损耗" },
|
||||||
|
]
|
||||||
|
|
||||||
|
const principles = [
|
||||||
|
{ icon: Code2, title: "Clean Code", desc: "代码即文档。我们写人类可读的代码。" },
|
||||||
|
{ icon: Zap, title: "Ship Fast", desc: "两周一个迭代,快速验证想法。" },
|
||||||
|
{ icon: Shield, title: "Own It", desc: "全栈负责到底。从需求到部署。" },
|
||||||
|
{ icon: Eye, title: "Transparency", desc: "进度完全透明,随时可查看代码和部署。" },
|
||||||
|
{ icon: Heart, title: "Craftsmanship", desc: "把每个项目当作自己的作品。" },
|
||||||
|
{ icon: Rocket, title: "Scale Ready", desc: "架构为增长设计,今天的小项目明天的大平台。" },
|
||||||
|
]
|
||||||
|
|
||||||
|
export function About() {
|
||||||
|
return (
|
||||||
|
<section id="about" className="py-32 relative">
|
||||||
|
<div className="absolute inset-0 bg-gradient-to-b from-transparent via-accent/[0.02] to-transparent" />
|
||||||
|
|
||||||
|
<div className="max-w-6xl mx-auto px-6 relative">
|
||||||
|
{/* Section header */}
|
||||||
|
<div className="mb-20">
|
||||||
|
<div className="flex items-center gap-3 mb-6">
|
||||||
|
<div className="h-px w-8 bg-accent/50" />
|
||||||
|
<span className="text-[11px] text-accent font-medium tracking-widest uppercase">about us</span>
|
||||||
|
</div>
|
||||||
|
<h2 className="text-4xl sm:text-5xl font-bold text-foreground mb-6 tracking-tight">
|
||||||
|
不是外包公司
|
||||||
|
</h2>
|
||||||
|
<p className="text-base text-muted-foreground leading-relaxed max-w-2xl">
|
||||||
|
我们是一个由全栈工程师组成的小团队,相信小团队能做出好产品。
|
||||||
|
没有项目经理层层转达,你直接和写代码的人对话。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Stats row */}
|
||||||
|
<div className="grid grid-cols-1 md:grid-cols-3 gap-4 mb-24">
|
||||||
|
{stats.map((stat) => (
|
||||||
|
<div
|
||||||
|
key={stat.label}
|
||||||
|
className="group p-8 rounded-xl bg-card/50 border border-border/50 hover:border-accent/20 transition-all duration-300"
|
||||||
|
>
|
||||||
|
<div className="text-4xl font-bold text-foreground mb-2 group-hover:text-accent transition-colors">
|
||||||
|
{stat.value}
|
||||||
|
</div>
|
||||||
|
<div className="text-xs text-muted-foreground uppercase tracking-wider">{stat.label}</div>
|
||||||
|
<div className="text-[11px] text-muted-foreground/60 mt-1">{stat.desc}</div>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Advantages */}
|
||||||
|
<div className="mb-20">
|
||||||
|
<div className="flex items-center gap-3 mb-10">
|
||||||
|
<div className="h-px w-8 bg-accent/50" />
|
||||||
|
<span className="text-[11px] text-accent font-medium tracking-widest uppercase">why us</span>
|
||||||
|
</div>
|
||||||
|
<div className="grid grid-cols-2 lg:grid-cols-4 gap-x-8 gap-y-10">
|
||||||
|
{advantages.map((item) => (
|
||||||
|
<div key={item.label} className="group">
|
||||||
|
<div className="w-10 h-10 rounded-lg bg-accent/[0.07] border border-accent/15 flex items-center justify-center mb-4 group-hover:bg-accent/15 group-hover:border-accent/30 transition-all duration-300">
|
||||||
|
<item.icon className="w-4 h-4 text-accent" />
|
||||||
|
</div>
|
||||||
|
<h3 className="text-sm font-semibold text-foreground mb-1.5 tracking-tight">{item.label}</h3>
|
||||||
|
<p className="text-xs text-muted-foreground leading-relaxed">{item.desc}</p>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Principles */}
|
||||||
|
<div>
|
||||||
|
<div className="flex items-center gap-3 mb-8">
|
||||||
|
<div className="h-px w-8 bg-accent/50" />
|
||||||
|
<span className="text-[11px] text-accent font-medium tracking-widest uppercase">our principles</span>
|
||||||
|
</div>
|
||||||
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-x-12">
|
||||||
|
{principles.map((item, index) => (
|
||||||
|
<div
|
||||||
|
key={item.title}
|
||||||
|
className="group flex items-center gap-4 py-4 border-b border-border/10"
|
||||||
|
>
|
||||||
|
<span className="text-xs font-mono text-accent/25 group-hover:text-accent/50 transition-colors w-5 shrink-0 text-right">
|
||||||
|
{String(index + 1).padStart(2, "0")}
|
||||||
|
</span>
|
||||||
|
<item.icon className="w-3.5 h-3.5 text-accent/60 shrink-0" />
|
||||||
|
<div className="flex items-baseline gap-2 min-w-0">
|
||||||
|
<h3 className="text-sm font-semibold text-foreground shrink-0">{item.title}</h3>
|
||||||
|
<div className="h-px flex-1 bg-border/20 min-w-4" />
|
||||||
|
<p className="text-xs text-muted-foreground shrink-0">{item.desc}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
160
qczl-website/src/components/sections/cases.tsx
Normal file
160
qczl-website/src/components/sections/cases.tsx
Normal file
@@ -0,0 +1,160 @@
|
|||||||
|
import { Smartphone, Building2, Printer } from "lucide-react"
|
||||||
|
|
||||||
|
const cases = [
|
||||||
|
{
|
||||||
|
id: "01",
|
||||||
|
title: "威友",
|
||||||
|
subtitle: "Weiyou",
|
||||||
|
category: "校园社交",
|
||||||
|
description: "面向高校学生的校园交友 APP。支持兴趣匹配、活动发布、匿名树洞等功能,覆盖 iOS、Android 双端及 Web 管理后台。",
|
||||||
|
platforms: ["iOS", "Android", "Web"],
|
||||||
|
tags: ["React Native", "Go", "PostgreSQL"],
|
||||||
|
icon: Smartphone,
|
||||||
|
status: "live",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "02",
|
||||||
|
title: "CarrotERP",
|
||||||
|
subtitle: "Enterprise Resource Planning",
|
||||||
|
category: "企业管理",
|
||||||
|
description: "内部使用的 ERP 管理软件,对标行业领军产品。涵盖采购、库存、财务、人事等核心模块,支撑企业日常运营全流程。",
|
||||||
|
platforms: ["Web", "Desktop"],
|
||||||
|
tags: ["React", "Go", "PostgreSQL"],
|
||||||
|
icon: Building2,
|
||||||
|
status: "live",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "03",
|
||||||
|
title: "CarrotPrint",
|
||||||
|
subtitle: "Self-service Printing",
|
||||||
|
category: "自助服务",
|
||||||
|
description: "自助打印解决方案,覆盖微信小程序、Windows 客户端、Linux 服务端三端。用户扫码上传文件,就近打印取件。",
|
||||||
|
platforms: ["小程序", "Windows", "Linux"],
|
||||||
|
tags: ["Rust", "C#", "Taro", "Go"],
|
||||||
|
icon: Printer,
|
||||||
|
status: "live",
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
|
export function Cases() {
|
||||||
|
return (
|
||||||
|
<section id="cases" className="py-32 relative">
|
||||||
|
<div className="absolute inset-0 bg-gradient-to-b from-transparent via-accent/[0.015] to-transparent" />
|
||||||
|
|
||||||
|
<div className="max-w-6xl mx-auto px-6 relative">
|
||||||
|
{/* Section header */}
|
||||||
|
<div className="mb-20">
|
||||||
|
<div className="flex items-center gap-3 mb-6">
|
||||||
|
<div className="h-px w-8 bg-accent/50" />
|
||||||
|
<span className="text-[11px] text-accent font-medium tracking-widest uppercase">selected work</span>
|
||||||
|
</div>
|
||||||
|
<h2 className="text-4xl sm:text-5xl font-bold text-foreground mb-6 tracking-tight">
|
||||||
|
项目案例
|
||||||
|
</h2>
|
||||||
|
<p className="text-base text-muted-foreground leading-relaxed max-w-2xl">
|
||||||
|
以下是我们自主研发的核心产品,每个项目都经过真实场景验证。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Cases list - one column, alternating layout */}
|
||||||
|
<div className="space-y-24">
|
||||||
|
{cases.map((item, index) => {
|
||||||
|
const isEven = index % 2 === 0
|
||||||
|
const Icon = item.icon
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
key={item.title}
|
||||||
|
className="group"
|
||||||
|
>
|
||||||
|
<div className={`grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-12 items-center ${isEven ? '' : 'lg:direction-rtl'}`}>
|
||||||
|
{/* Left side - Visual */}
|
||||||
|
<div className={`lg:col-span-5 ${isEven ? 'lg:order-1' : 'lg:order-2'}`}>
|
||||||
|
<div className="relative">
|
||||||
|
{/* Card mockup */}
|
||||||
|
<div className="rounded-2xl bg-card/40 border border-border/40 p-8 relative overflow-hidden">
|
||||||
|
{/* Background glow */}
|
||||||
|
<div className="absolute top-0 right-0 w-48 h-48 bg-accent/5 rounded-full blur-[60px]" />
|
||||||
|
|
||||||
|
<div className="relative">
|
||||||
|
{/* Icon & Title */}
|
||||||
|
<div className="flex items-center gap-4 mb-8">
|
||||||
|
<div className="w-14 h-14 rounded-xl bg-gradient-to-br from-accent/20 to-accent/5 border border-accent/20 flex items-center justify-center">
|
||||||
|
<Icon className="w-6 h-6 text-accent" />
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3 className="text-2xl font-bold text-foreground">{item.title}</h3>
|
||||||
|
<p className="text-xs text-muted-foreground">{item.subtitle}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Platform badges */}
|
||||||
|
<div className="flex flex-wrap gap-2 mb-6">
|
||||||
|
{item.platforms.map((platform) => (
|
||||||
|
<span
|
||||||
|
key={platform}
|
||||||
|
className="px-3 py-1.5 text-[11px] text-accent bg-accent/10 border border-accent/20 rounded-md font-medium"
|
||||||
|
>
|
||||||
|
{platform}
|
||||||
|
</span>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Status */}
|
||||||
|
<div className="flex items-center gap-2">
|
||||||
|
<span className="w-2 h-2 rounded-full bg-accent animate-pulse" />
|
||||||
|
<span className="text-[11px] text-accent font-medium">{item.status}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Index number */}
|
||||||
|
<div className={`absolute -top-6 ${isEven ? '-left-4' : '-right-4'} text-7xl font-bold text-foreground/[0.03] select-none`}>
|
||||||
|
{item.id}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Right side - Details */}
|
||||||
|
<div className={`lg:col-span-7 ${isEven ? 'lg:order-2' : 'lg:order-1'}`}>
|
||||||
|
<div>
|
||||||
|
{/* Category */}
|
||||||
|
<span className="text-[11px] text-accent font-medium tracking-widest uppercase mb-4 block">
|
||||||
|
{item.category}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
{/* Title */}
|
||||||
|
<h3 className="text-3xl sm:text-4xl font-bold text-foreground mb-4 tracking-tight">
|
||||||
|
{item.title}
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
{/* Description */}
|
||||||
|
<p className="text-sm text-muted-foreground leading-relaxed mb-8 max-w-lg">
|
||||||
|
{item.description}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{/* Tech stack */}
|
||||||
|
<div>
|
||||||
|
<span className="text-[10px] text-muted-foreground uppercase tracking-widest mb-3 block">tech stack</span>
|
||||||
|
<div className="flex flex-wrap gap-2">
|
||||||
|
{item.tags.map((tag) => (
|
||||||
|
<span
|
||||||
|
key={tag}
|
||||||
|
className="px-3 py-1.5 text-[11px] text-muted-foreground bg-secondary/50 border border-border/40 rounded-md"
|
||||||
|
>
|
||||||
|
{tag}
|
||||||
|
</span>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
})}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
162
qczl-website/src/components/sections/contact.tsx
Normal file
162
qczl-website/src/components/sections/contact.tsx
Normal file
@@ -0,0 +1,162 @@
|
|||||||
|
import { useState } from "react"
|
||||||
|
import { Mail, MapPin, Phone, Send } from "lucide-react"
|
||||||
|
import { Button } from "../ui/button"
|
||||||
|
import { Input } from "../ui/input"
|
||||||
|
import { Textarea } from "../ui/textarea"
|
||||||
|
import { Card, CardContent } from "../ui/card"
|
||||||
|
|
||||||
|
const contactInfo = [
|
||||||
|
{
|
||||||
|
icon: MapPin,
|
||||||
|
title: "公司地址",
|
||||||
|
content: "山东省威海市",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
icon: Phone,
|
||||||
|
title: "联系电话",
|
||||||
|
content: "400-XXX-XXXX",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
icon: Mail,
|
||||||
|
title: "电子邮箱",
|
||||||
|
content: "contact@qczl-tech.com",
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
|
export function Contact() {
|
||||||
|
const [formData, setFormData] = useState({
|
||||||
|
name: "",
|
||||||
|
email: "",
|
||||||
|
company: "",
|
||||||
|
message: "",
|
||||||
|
})
|
||||||
|
const [submitted, setSubmitted] = useState(false)
|
||||||
|
|
||||||
|
const handleSubmit = (e: React.FormEvent) => {
|
||||||
|
e.preventDefault()
|
||||||
|
setSubmitted(true)
|
||||||
|
setTimeout(() => {
|
||||||
|
setSubmitted(false)
|
||||||
|
setFormData({ name: "", email: "", company: "", message: "" })
|
||||||
|
}, 3000)
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<section id="contact" className="py-24 bg-secondary/30">
|
||||||
|
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||||
|
<div className="text-center mb-16">
|
||||||
|
<h2 className="text-3xl sm:text-4xl font-bold text-foreground mb-4">
|
||||||
|
联系我们
|
||||||
|
</h2>
|
||||||
|
<p className="text-lg text-muted-foreground max-w-2xl mx-auto">
|
||||||
|
无论您有任何技术需求或合作意向,欢迎随时与我们联系
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
||||||
|
<div className="lg:col-span-1 space-y-4">
|
||||||
|
{contactInfo.map((info) => (
|
||||||
|
<Card key={info.title}>
|
||||||
|
<CardContent className="flex items-start gap-4 p-6">
|
||||||
|
<div className="w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center shrink-0">
|
||||||
|
<info.icon className="w-5 h-5 text-primary" />
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3 className="font-semibold text-foreground mb-1">
|
||||||
|
{info.title}
|
||||||
|
</h3>
|
||||||
|
<p className="text-sm text-muted-foreground">
|
||||||
|
{info.content}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</CardContent>
|
||||||
|
</Card>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="lg:col-span-2">
|
||||||
|
<Card>
|
||||||
|
<CardContent className="p-6 sm:p-8">
|
||||||
|
{submitted ? (
|
||||||
|
<div className="text-center py-12">
|
||||||
|
<div className="w-16 h-16 rounded-full bg-green-100 flex items-center justify-center mx-auto mb-4">
|
||||||
|
<Send className="w-8 h-8 text-green-600" />
|
||||||
|
</div>
|
||||||
|
<h3 className="text-xl font-semibold text-foreground mb-2">
|
||||||
|
提交成功
|
||||||
|
</h3>
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
感谢您的留言,我们会尽快与您联系!
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
<form onSubmit={handleSubmit} className="space-y-6">
|
||||||
|
<div className="grid grid-cols-1 sm:grid-cols-2 gap-6">
|
||||||
|
<div className="space-y-2">
|
||||||
|
<label className="text-sm font-medium text-foreground">
|
||||||
|
姓名 *
|
||||||
|
</label>
|
||||||
|
<Input
|
||||||
|
placeholder="请输入您的姓名"
|
||||||
|
value={formData.name}
|
||||||
|
onChange={(e) =>
|
||||||
|
setFormData({ ...formData, name: e.target.value })
|
||||||
|
}
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-2">
|
||||||
|
<label className="text-sm font-medium text-foreground">
|
||||||
|
邮箱 *
|
||||||
|
</label>
|
||||||
|
<Input
|
||||||
|
type="email"
|
||||||
|
placeholder="请输入您的邮箱"
|
||||||
|
value={formData.email}
|
||||||
|
onChange={(e) =>
|
||||||
|
setFormData({ ...formData, email: e.target.value })
|
||||||
|
}
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-2">
|
||||||
|
<label className="text-sm font-medium text-foreground">
|
||||||
|
公司名称
|
||||||
|
</label>
|
||||||
|
<Input
|
||||||
|
placeholder="请输入您的公司名称"
|
||||||
|
value={formData.company}
|
||||||
|
onChange={(e) =>
|
||||||
|
setFormData({ ...formData, company: e.target.value })
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-2">
|
||||||
|
<label className="text-sm font-medium text-foreground">
|
||||||
|
留言内容 *
|
||||||
|
</label>
|
||||||
|
<Textarea
|
||||||
|
placeholder="请描述您的需求或问题"
|
||||||
|
rows={5}
|
||||||
|
value={formData.message}
|
||||||
|
onChange={(e) =>
|
||||||
|
setFormData({ ...formData, message: e.target.value })
|
||||||
|
}
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<Button type="submit" size="lg" className="w-full sm:w-auto gap-2">
|
||||||
|
<Send className="w-4 h-4" />
|
||||||
|
提交留言
|
||||||
|
</Button>
|
||||||
|
</form>
|
||||||
|
)}
|
||||||
|
</CardContent>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
71
qczl-website/src/components/sections/footer.tsx
Normal file
71
qczl-website/src/components/sections/footer.tsx
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
import { Terminal, ArrowUpRight, Mail } from "lucide-react"
|
||||||
|
|
||||||
|
export function Footer() {
|
||||||
|
return (
|
||||||
|
<footer className="py-32 relative">
|
||||||
|
<div className="absolute inset-0 bg-gradient-to-t from-accent/[0.03] to-transparent" />
|
||||||
|
|
||||||
|
<div className="max-w-6xl mx-auto px-6 relative">
|
||||||
|
{/* CTA Section */}
|
||||||
|
<div className="mb-20 p-10 md:p-14 rounded-2xl bg-card/30 border border-border/30 relative overflow-hidden">
|
||||||
|
{/* Background glow */}
|
||||||
|
<div className="absolute top-0 right-0 w-64 h-64 bg-accent/5 rounded-full blur-[80px]" />
|
||||||
|
|
||||||
|
<div className="relative flex flex-col lg:flex-row lg:items-center lg:justify-between gap-8">
|
||||||
|
<div>
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<div className="h-px w-8 bg-accent/50" />
|
||||||
|
<span className="text-[11px] text-accent font-medium tracking-widest uppercase">get in touch</span>
|
||||||
|
</div>
|
||||||
|
<h3 className="text-3xl sm:text-4xl font-bold text-foreground mb-4 tracking-tight">
|
||||||
|
有项目想法?
|
||||||
|
</h3>
|
||||||
|
<p className="text-sm text-muted-foreground leading-relaxed max-w-md">
|
||||||
|
我们随时欢迎有趣的挑战。直接发邮件,24小时内回复。不画饼,不推销,只聊技术。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div className="flex flex-col sm:flex-row gap-3 shrink-0">
|
||||||
|
<a
|
||||||
|
href="mailto:system@qczlit.cn"
|
||||||
|
className="group inline-flex items-center justify-center gap-2 text-xs font-medium text-background bg-foreground px-6 py-3 rounded-lg hover:bg-foreground/90 transition-all"
|
||||||
|
>
|
||||||
|
<Mail className="w-3.5 h-3.5" />
|
||||||
|
system@qczlit.cn
|
||||||
|
<ArrowUpRight className="w-3.5 h-3.5 transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5" />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Footer bottom */}
|
||||||
|
<div className="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-6 pt-10 border-t border-border/30">
|
||||||
|
<div className="flex items-center gap-2.5">
|
||||||
|
<div className="w-7 h-7 rounded-md bg-accent/10 border border-accent/20 flex items-center justify-center">
|
||||||
|
<Terminal className="w-3.5 h-3.5 text-accent" />
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<span className="text-sm font-medium text-foreground block">Yojo</span>
|
||||||
|
<span className="text-[10px] text-muted-foreground">青春之旅电子信息科技(威海)有限公司</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="flex items-center gap-6">
|
||||||
|
<a href="#" className="text-xs text-muted-foreground hover:text-foreground transition-colors">
|
||||||
|
github
|
||||||
|
</a>
|
||||||
|
<a href="#" className="text-xs text-muted-foreground hover:text-foreground transition-colors">
|
||||||
|
twitter
|
||||||
|
</a>
|
||||||
|
<a href="#" className="text-xs text-muted-foreground hover:text-foreground transition-colors">
|
||||||
|
blog
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<span className="text-[10px] text-muted-foreground">
|
||||||
|
© {new Date().getFullYear()} all rights reserved
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
)
|
||||||
|
}
|
||||||
166
qczl-website/src/components/sections/hero.tsx
Normal file
166
qczl-website/src/components/sections/hero.tsx
Normal file
@@ -0,0 +1,166 @@
|
|||||||
|
import { ArrowDownRight, Github, Twitter, Mail } from "lucide-react"
|
||||||
|
|
||||||
|
export function Hero() {
|
||||||
|
return (
|
||||||
|
<section id="hero" className="min-h-screen flex flex-col justify-center pt-14 relative overflow-hidden">
|
||||||
|
{/* Background grid */}
|
||||||
|
<div className="absolute inset-0 opacity-[0.02]" style={{
|
||||||
|
backgroundImage: `linear-gradient(rgba(250,250,250,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(250,250,250,0.5) 1px, transparent 1px)`,
|
||||||
|
backgroundSize: '60px 60px'
|
||||||
|
}} />
|
||||||
|
|
||||||
|
{/* Glow effects */}
|
||||||
|
<div className="absolute top-1/4 right-1/4 w-96 h-96 bg-accent/5 rounded-full blur-[120px]" />
|
||||||
|
<div className="absolute bottom-1/4 left-1/4 w-64 h-64 bg-accent/3 rounded-full blur-[100px]" />
|
||||||
|
|
||||||
|
<div className="max-w-6xl mx-auto px-6 py-24 w-full relative">
|
||||||
|
<div className="grid grid-cols-1 lg:grid-cols-5 gap-16 items-center">
|
||||||
|
{/* Left: Text - takes 3 cols */}
|
||||||
|
<div className="lg:col-span-3">
|
||||||
|
{/* HIT Badge */}
|
||||||
|
<div className="inline-flex items-center gap-2.5 px-3 py-1.5 rounded-full bg-accent/10 border border-accent/20 mb-8">
|
||||||
|
<span className="relative flex h-2 w-2">
|
||||||
|
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-accent opacity-75" />
|
||||||
|
<span className="relative inline-flex rounded-full h-2 w-2 bg-accent" />
|
||||||
|
</span>
|
||||||
|
<span className="text-[11px] font-medium text-accent tracking-wide">哈工大孵化创业项目</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Main heading */}
|
||||||
|
<h1 className="text-5xl sm:text-6xl lg:text-7xl font-bold text-foreground leading-[1.1] mb-6 tracking-tight">
|
||||||
|
青春之旅
|
||||||
|
<span className="block text-muted-foreground mt-2">电子信息科技</span>
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
{/* Subtitle line */}
|
||||||
|
<div className="flex items-center gap-3 mb-8">
|
||||||
|
<div className="h-px w-12 bg-accent/50" />
|
||||||
|
<span className="text-xs text-accent font-medium tracking-wide uppercase">Weihai, China · 哈尔滨工业大学</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Description */}
|
||||||
|
<p className="text-sm text-muted-foreground leading-relaxed mb-10 max-w-lg">
|
||||||
|
源自哈工大的独立技术团队,专注有深度的软件产品。从架构设计到代码实现,从 0 到 1 构建可靠的数字产品。
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{/* CTA Buttons */}
|
||||||
|
<div className="flex items-center gap-4 mb-12">
|
||||||
|
<a
|
||||||
|
href="#cases"
|
||||||
|
className="group inline-flex items-center gap-2 text-xs font-medium text-background bg-foreground px-5 py-2.5 rounded-md hover:bg-foreground/90 transition-all"
|
||||||
|
>
|
||||||
|
查看项目
|
||||||
|
<ArrowDownRight className="w-3.5 h-3.5 transition-transform group-hover:translate-x-0.5 group-hover:translate-y-0.5" />
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
href="#about"
|
||||||
|
className="inline-flex items-center gap-2 text-xs font-medium text-muted-foreground border border-border px-5 py-2.5 rounded-md hover:border-foreground/30 hover:text-foreground transition-all"
|
||||||
|
>
|
||||||
|
了解更多
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Tech stack */}
|
||||||
|
<div>
|
||||||
|
<span className="text-[10px] text-muted-foreground uppercase tracking-widest mb-3 block">tech stack</span>
|
||||||
|
<div className="flex flex-wrap gap-2">
|
||||||
|
{["React Native", "Go", "Rust", "Taro", "C#", "React", "TypeScript", "PostgreSQL"].map((tech) => (
|
||||||
|
<span
|
||||||
|
key={tech}
|
||||||
|
className="px-3 py-1.5 text-[11px] text-muted-foreground bg-secondary/50 border border-border/50 rounded-md hover:border-accent/30 hover:text-accent transition-all cursor-default"
|
||||||
|
>
|
||||||
|
{tech}
|
||||||
|
</span>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Right: Terminal - takes 2 cols */}
|
||||||
|
<div className="lg:col-span-2">
|
||||||
|
<div className="rounded-xl overflow-hidden border border-border/50 bg-card/50 backdrop-blur-sm">
|
||||||
|
{/* Terminal header */}
|
||||||
|
<div className="flex items-center gap-2 px-4 py-3 bg-secondary/30 border-b border-border/50">
|
||||||
|
<div className="flex items-center gap-1.5">
|
||||||
|
<div className="w-3 h-3 rounded-full bg-red-500/60" />
|
||||||
|
<div className="w-3 h-3 rounded-full bg-yellow-500/60" />
|
||||||
|
<div className="w-3 h-3 rounded-full bg-green-500/60" />
|
||||||
|
</div>
|
||||||
|
<span className="ml-3 text-[10px] text-muted-foreground font-mono">qczl — zsh — 80x24</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Terminal body */}
|
||||||
|
<div className="p-5 font-mono text-[11px] leading-relaxed">
|
||||||
|
<div className="space-y-3">
|
||||||
|
<div>
|
||||||
|
<span className="text-accent">➜</span>
|
||||||
|
<span className="text-muted-foreground ml-2">~</span>
|
||||||
|
<span className="text-foreground ml-2">whoami</span>
|
||||||
|
</div>
|
||||||
|
<div className="text-foreground pl-6">
|
||||||
|
qczl-tech — HIT incubated startup
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="pt-1">
|
||||||
|
<span className="text-accent">➜</span>
|
||||||
|
<span className="text-muted-foreground ml-2">~</span>
|
||||||
|
<span className="text-foreground ml-2">cat products.json</span>
|
||||||
|
</div>
|
||||||
|
<div className="pl-6 text-foreground">
|
||||||
|
<pre className="text-[10px] leading-5">{`{
|
||||||
|
"威友": "campus social app",
|
||||||
|
"carroterp": "internal ERP system",
|
||||||
|
"carrotprint": "self-service printing"
|
||||||
|
}`}</pre>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="pt-1">
|
||||||
|
<span className="text-accent">➜</span>
|
||||||
|
<span className="text-muted-foreground ml-2">~</span>
|
||||||
|
<span className="text-foreground ml-2">npm run stats</span>
|
||||||
|
</div>
|
||||||
|
<div className="pl-6 space-y-1">
|
||||||
|
<div className="flex items-center gap-2">
|
||||||
|
<span className="text-muted-foreground">platforms:</span>
|
||||||
|
<span className="text-accent font-semibold">iOS + Android + Web + MiniApp</span>
|
||||||
|
</div>
|
||||||
|
<div className="flex items-center gap-2">
|
||||||
|
<span className="text-muted-foreground">stack:</span>
|
||||||
|
<span className="text-accent font-semibold">RN + Go + Rust + Taro</span>
|
||||||
|
</div>
|
||||||
|
<div className="flex items-center gap-2">
|
||||||
|
<span className="text-muted-foreground">origin:</span>
|
||||||
|
<span className="text-accent font-semibold">Harbin Institute of Technology</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="pt-2">
|
||||||
|
<span className="text-accent">➜</span>
|
||||||
|
<span className="text-muted-foreground ml-2">~</span>
|
||||||
|
<span className="ml-2 animate-pulse text-accent">▌</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Bottom bar */}
|
||||||
|
<div className="flex items-center justify-between mt-20 pt-8 border-t border-border/30">
|
||||||
|
<div className="flex items-center gap-6">
|
||||||
|
<a href="#" className="text-muted-foreground hover:text-foreground transition-colors">
|
||||||
|
<Github className="w-4 h-4" />
|
||||||
|
</a>
|
||||||
|
<a href="#" className="text-muted-foreground hover:text-foreground transition-colors">
|
||||||
|
<Twitter className="w-4 h-4" />
|
||||||
|
</a>
|
||||||
|
<a href="mailto:system@qczlit.cn" className="text-muted-foreground hover:text-foreground transition-colors">
|
||||||
|
<Mail className="w-4 h-4" />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<span className="text-[10px] text-muted-foreground">scroll to explore ↓</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
161
qczl-website/src/components/sections/navbar.tsx
Normal file
161
qczl-website/src/components/sections/navbar.tsx
Normal file
@@ -0,0 +1,161 @@
|
|||||||
|
import { useState, useEffect } from "react"
|
||||||
|
import { Menu, X, Terminal } from "lucide-react"
|
||||||
|
import { cn } from "../../lib/utils"
|
||||||
|
|
||||||
|
const navItems = [
|
||||||
|
{ label: "home", href: "#hero" },
|
||||||
|
{ label: "about", href: "#about" },
|
||||||
|
{ label: "work", href: "#cases" },
|
||||||
|
{ label: "team", href: "#team" },
|
||||||
|
]
|
||||||
|
|
||||||
|
export function Navbar() {
|
||||||
|
const [isScrolled, setIsScrolled] = useState(false)
|
||||||
|
const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false)
|
||||||
|
const [activeSection, setActiveSection] = useState("hero")
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const handleScroll = () => setIsScrolled(window.scrollY > 10)
|
||||||
|
window.addEventListener("scroll", handleScroll)
|
||||||
|
return () => window.removeEventListener("scroll", handleScroll)
|
||||||
|
}, [])
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const observer = new IntersectionObserver(
|
||||||
|
(entries) => {
|
||||||
|
entries.forEach((entry) => {
|
||||||
|
if (entry.isIntersecting) {
|
||||||
|
setActiveSection(entry.target.id)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
{ threshold: 0.3 }
|
||||||
|
)
|
||||||
|
navItems.forEach((item) => {
|
||||||
|
const el = document.querySelector(item.href)
|
||||||
|
if (el) observer.observe(el)
|
||||||
|
})
|
||||||
|
return () => observer.disconnect()
|
||||||
|
}, [])
|
||||||
|
|
||||||
|
return (
|
||||||
|
<header
|
||||||
|
className={cn(
|
||||||
|
"fixed top-0 left-0 right-0 z-50 transition-all duration-500",
|
||||||
|
isScrolled
|
||||||
|
? "bg-background/60 backdrop-blur-2xl border-b border-border/30 shadow-[0_4px_30px_rgba(0,0,0,0.3)]"
|
||||||
|
: "bg-transparent border-b border-transparent"
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
{/* 顶部绿色光晕装饰线 */}
|
||||||
|
<div
|
||||||
|
className={cn(
|
||||||
|
"absolute top-0 left-0 right-0 h-[1px] transition-opacity duration-500",
|
||||||
|
isScrolled ? "opacity-100" : "opacity-0"
|
||||||
|
)}
|
||||||
|
style={{
|
||||||
|
background:
|
||||||
|
"linear-gradient(90deg, transparent 0%, rgba(34,197,94,0.5) 20%, rgba(34,197,94,0.8) 50%, rgba(34,197,94,0.5) 80%, transparent 100%)",
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<div className="max-w-6xl mx-auto px-6">
|
||||||
|
<div className="flex items-center justify-between h-16">
|
||||||
|
{/* Logo */}
|
||||||
|
<a href="#hero" className="flex items-center gap-3 group relative">
|
||||||
|
<div className="relative w-8 h-8 rounded-lg bg-accent/10 border border-accent/30 flex items-center justify-center group-hover:bg-accent/20 transition-all duration-300 group-hover:shadow-[0_0_15px_rgba(34,197,94,0.2)]">
|
||||||
|
<Terminal className="w-4 h-4 text-accent transition-transform duration-300 group-hover:scale-110" />
|
||||||
|
{/* Logo 呼吸光晕 */}
|
||||||
|
<div className="absolute inset-0 rounded-lg bg-accent/5 animate-ping opacity-20" />
|
||||||
|
</div>
|
||||||
|
<div className="flex flex-col">
|
||||||
|
<span className="text-sm font-bold text-foreground tracking-tight font-[system-ui,-apple-system,BlinkMacSystemFont,'Segoe_UI',Roboto,sans-serif]">
|
||||||
|
Yojo
|
||||||
|
</span>
|
||||||
|
<span className="text-[10px] text-muted-foreground leading-none font-[system-ui,-apple-system,BlinkMacSystemFont,'Segoe_UI',Roboto,sans-serif]">
|
||||||
|
qczlit.cn
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
{/* Desktop Nav */}
|
||||||
|
<nav className="hidden md:flex items-center gap-1 bg-secondary/30 backdrop-blur-sm rounded-full px-2 py-1 border border-border/20">
|
||||||
|
{navItems.map((item) => {
|
||||||
|
const isActive = activeSection === item.href.slice(1)
|
||||||
|
return (
|
||||||
|
<a
|
||||||
|
key={item.href}
|
||||||
|
href={item.href}
|
||||||
|
className={cn(
|
||||||
|
"relative px-4 py-1.5 text-xs rounded-full transition-all duration-300",
|
||||||
|
isActive
|
||||||
|
? "text-foreground font-medium"
|
||||||
|
: "text-muted-foreground hover:text-foreground"
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
{isActive && (
|
||||||
|
<span className="absolute inset-0 bg-secondary rounded-full border border-border/40 shadow-sm" />
|
||||||
|
)}
|
||||||
|
<span className="relative z-10 font-[system-ui,-apple-system,BlinkMacSystemFont,'Segoe_UI',Roboto,sans-serif] tracking-wide">{item.label}</span>
|
||||||
|
</a>
|
||||||
|
)
|
||||||
|
})}
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
{/* CTA Button */}
|
||||||
|
<a
|
||||||
|
href="mailto:system@qczlit.cn"
|
||||||
|
className="hidden md:inline-flex items-center gap-2 text-xs font-medium px-5 py-2 rounded-full border border-accent/30 bg-accent/10 text-accent hover:bg-accent hover:text-accent-foreground transition-all duration-300 hover:shadow-[0_0_20px_rgba(34,197,94,0.3)]"
|
||||||
|
>
|
||||||
|
<span className="relative flex h-1.5 w-1.5">
|
||||||
|
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-accent opacity-75" />
|
||||||
|
<span className="relative inline-flex rounded-full h-1.5 w-1.5 bg-accent" />
|
||||||
|
</span>
|
||||||
|
<span className="font-[system-ui,-apple-system,BlinkMacSystemFont,'Segoe_UI',Roboto,sans-serif]">let's talk</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
{/* Mobile Toggle */}
|
||||||
|
<button
|
||||||
|
className="md:hidden relative p-2 text-muted-foreground hover:text-foreground rounded-lg hover:bg-secondary/50 transition-colors"
|
||||||
|
onClick={() => setIsMobileMenuOpen(!isMobileMenuOpen)}
|
||||||
|
>
|
||||||
|
{isMobileMenuOpen ? <X className="w-5 h-5" /> : <Menu className="w-5 h-5" />}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Mobile Menu */}
|
||||||
|
<div
|
||||||
|
className={cn(
|
||||||
|
"md:hidden overflow-hidden transition-all duration-300 ease-in-out",
|
||||||
|
isMobileMenuOpen ? "max-h-80 opacity-100" : "max-h-0 opacity-0"
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
<div className="mx-4 mb-3 bg-background/90 backdrop-blur-2xl border border-border/30 rounded-2xl shadow-xl overflow-hidden">
|
||||||
|
<div className="p-4 space-y-1">
|
||||||
|
{navItems.map((item, idx) => (
|
||||||
|
<a
|
||||||
|
key={item.href}
|
||||||
|
href={item.href}
|
||||||
|
className="flex items-center gap-3 px-4 py-3 text-sm text-muted-foreground hover:text-foreground rounded-xl hover:bg-secondary/50 transition-all"
|
||||||
|
onClick={() => setIsMobileMenuOpen(false)}
|
||||||
|
style={{ animationDelay: `${idx * 50}ms` }}
|
||||||
|
>
|
||||||
|
<span className="text-accent/60 text-xs font-mono">0{idx + 1}</span>
|
||||||
|
<span className="font-[system-ui,-apple-system,BlinkMacSystemFont,'Segoe_UI',Roboto,sans-serif]">{item.label}</span>
|
||||||
|
</a>
|
||||||
|
))}
|
||||||
|
<div className="pt-2 px-4 pb-1">
|
||||||
|
<a
|
||||||
|
href="mailto:system@qczlit.cn"
|
||||||
|
className="flex items-center justify-center gap-2 text-sm font-medium px-4 py-3 rounded-xl bg-accent text-accent-foreground hover:bg-accent/90 transition-colors"
|
||||||
|
>
|
||||||
|
<span className="font-[system-ui,-apple-system,BlinkMacSystemFont,'Segoe_UI',Roboto,sans-serif] tracking-wide">let's talk</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
)
|
||||||
|
}
|
||||||
146
qczl-website/src/components/sections/services.tsx
Normal file
146
qczl-website/src/components/sections/services.tsx
Normal file
@@ -0,0 +1,146 @@
|
|||||||
|
import { useEffect, useRef } from "react"
|
||||||
|
import {
|
||||||
|
Code2,
|
||||||
|
Smartphone,
|
||||||
|
Globe,
|
||||||
|
Database,
|
||||||
|
Cloud,
|
||||||
|
Settings,
|
||||||
|
ArrowUpRight,
|
||||||
|
} from "lucide-react"
|
||||||
|
|
||||||
|
const services = [
|
||||||
|
{
|
||||||
|
icon: Code2,
|
||||||
|
title: "企业级应用",
|
||||||
|
subtitle: "Enterprise Applications",
|
||||||
|
description: "基于现代化技术栈,为企业打造高性能、可扩展的业务管理系统。",
|
||||||
|
color: "from-blue-500/10 to-blue-600/5",
|
||||||
|
iconColor: "text-blue-600",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
icon: Smartphone,
|
||||||
|
title: "移动应用",
|
||||||
|
subtitle: "Mobile Applications",
|
||||||
|
description: "iOS 与 Android 原生及跨平台应用开发,覆盖全终端用户体验。",
|
||||||
|
color: "from-purple-500/10 to-purple-600/5",
|
||||||
|
iconColor: "text-purple-600",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
icon: Globe,
|
||||||
|
title: "Web 前端",
|
||||||
|
subtitle: "Web Development",
|
||||||
|
description: "响应式网站与单页应用开发,注重用户体验与交互设计。",
|
||||||
|
color: "from-orange-500/10 to-orange-600/5",
|
||||||
|
iconColor: "text-orange-600",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
icon: Database,
|
||||||
|
title: "后端架构",
|
||||||
|
subtitle: "Backend Systems",
|
||||||
|
description: "高并发后端服务架构设计与数据库优化,保障系统稳定运行。",
|
||||||
|
color: "from-green-500/10 to-green-600/5",
|
||||||
|
iconColor: "text-green-600",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
icon: Cloud,
|
||||||
|
title: "云服务",
|
||||||
|
subtitle: "Cloud Services",
|
||||||
|
description: "云原生架构设计与容器化部署方案,实现弹性伸缩与自动化运维。",
|
||||||
|
color: "from-sky-500/10 to-sky-600/5",
|
||||||
|
iconColor: "text-sky-600",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
icon: Settings,
|
||||||
|
title: "运维支持",
|
||||||
|
subtitle: "DevOps Support",
|
||||||
|
description: "7×24小时系统监控与技术支持服务,及时响应并解决各类问题。",
|
||||||
|
color: "from-rose-500/10 to-rose-600/5",
|
||||||
|
iconColor: "text-rose-600",
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
|
export function Services() {
|
||||||
|
const sectionRef = useRef<HTMLDivElement>(null)
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const observer = new IntersectionObserver(
|
||||||
|
(entries) => {
|
||||||
|
entries.forEach((entry) => {
|
||||||
|
if (entry.isIntersecting) {
|
||||||
|
entry.target.classList.add("animate-in")
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
{ threshold: 0.1 }
|
||||||
|
)
|
||||||
|
|
||||||
|
const elements = sectionRef.current?.querySelectorAll(".reveal")
|
||||||
|
elements?.forEach((el) => observer.observe(el))
|
||||||
|
|
||||||
|
return () => observer.disconnect()
|
||||||
|
}, [])
|
||||||
|
|
||||||
|
return (
|
||||||
|
<section id="services" ref={sectionRef} className="py-32 bg-white">
|
||||||
|
<div className="max-w-[980px] mx-auto px-6">
|
||||||
|
{/* Section Header */}
|
||||||
|
<div className="text-center mb-20">
|
||||||
|
<h2 className="reveal opacity-0 translate-y-6 transition-all duration-700 text-4xl sm:text-5xl font-semibold text-[#1d1d1f] mb-4 tracking-tight">
|
||||||
|
我们的服务
|
||||||
|
</h2>
|
||||||
|
<p className="reveal opacity-0 translate-y-6 transition-all duration-700 delay-100 text-lg text-[#86868b] max-w-md mx-auto">
|
||||||
|
全方位的软件开发能力,助力企业数字化转型
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Services Grid */}
|
||||||
|
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5">
|
||||||
|
{services.map((service, index) => (
|
||||||
|
<div
|
||||||
|
key={service.title}
|
||||||
|
className="reveal opacity-0 translate-y-6 transition-all duration-700 group relative"
|
||||||
|
style={{ transitionDelay: `${150 + index * 100}ms` }}
|
||||||
|
>
|
||||||
|
<div className="relative h-full p-8 rounded-3xl bg-[#fbfbfd] border border-transparent hover:border-border/50 transition-all duration-500 hover:shadow-xl hover:shadow-black/5 hover:-translate-y-1">
|
||||||
|
{/* Gradient Background */}
|
||||||
|
<div className={`absolute inset-0 rounded-3xl bg-gradient-to-br ${service.color} opacity-0 group-hover:opacity-100 transition-opacity duration-500`} />
|
||||||
|
|
||||||
|
<div className="relative">
|
||||||
|
{/* Icon */}
|
||||||
|
<div className="w-12 h-12 rounded-2xl bg-white shadow-sm shadow-black/5 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform duration-500">
|
||||||
|
<service.icon className={`w-5 h-5 ${service.iconColor}`} />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Content */}
|
||||||
|
<h3 className="text-lg font-semibold text-[#1d1d1f] mb-1">
|
||||||
|
{service.title}
|
||||||
|
</h3>
|
||||||
|
<p className="text-xs text-[#86868b] uppercase tracking-wider mb-4">
|
||||||
|
{service.subtitle}
|
||||||
|
</p>
|
||||||
|
<p className="text-sm text-[#86868b] leading-relaxed mb-6">
|
||||||
|
{service.description}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{/* Link */}
|
||||||
|
<div className="flex items-center gap-1 text-sm font-medium text-[#0071e3] opacity-0 group-hover:opacity-100 transition-all duration-300 translate-y-2 group-hover:translate-y-0">
|
||||||
|
了解更多
|
||||||
|
<ArrowUpRight className="w-3.5 h-3.5" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style>{`
|
||||||
|
.animate-in {
|
||||||
|
opacity: 1 !important;
|
||||||
|
transform: translateY(0) !important;
|
||||||
|
}
|
||||||
|
`}</style>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
150
qczl-website/src/components/sections/team.tsx
Normal file
150
qczl-website/src/components/sections/team.tsx
Normal file
@@ -0,0 +1,150 @@
|
|||||||
|
import { useState } from "react"
|
||||||
|
|
||||||
|
const team = [
|
||||||
|
{
|
||||||
|
name: "吴彧博",
|
||||||
|
handle: "@wuyubo",
|
||||||
|
role: "技术经理",
|
||||||
|
bio: "统筹技术架构与团队管理,把控项目质量与交付节奏。全栈背景,擅长系统设计与技术决策。",
|
||||||
|
skills: ["Go", "Rust", "K8s"],
|
||||||
|
color: "#10b981",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "郝咏",
|
||||||
|
handle: "@haoyong",
|
||||||
|
role: "前端负责人",
|
||||||
|
bio: "专注跨平台前端开发,React Native 与 Taro 专家。追求极致的用户体验与性能优化。",
|
||||||
|
skills: ["React Native", "Taro", "TypeScript"],
|
||||||
|
color: "#3b82f6",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "吴翔宇",
|
||||||
|
handle: "@wuxiangyu",
|
||||||
|
role: "后端负责人",
|
||||||
|
bio: "高并发系统架构师,Go 语言专家。负责服务端架构设计与数据库优化,保障系统稳定。",
|
||||||
|
skills: ["Go", "PostgreSQL", "Redis"],
|
||||||
|
color: "#f97316",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "韩惠子",
|
||||||
|
handle: "@hanhuizi",
|
||||||
|
role: "产品经理",
|
||||||
|
bio: "负责产品规划与需求分析,连接技术与业务。善于将复杂需求转化为清晰的产品方案。",
|
||||||
|
skills: ["Figma", "Product", "Data"],
|
||||||
|
color: "#a855f7",
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
|
export function Team() {
|
||||||
|
const [active, setActive] = useState(0)
|
||||||
|
|
||||||
|
return (
|
||||||
|
<section id="team" className="py-32 relative overflow-hidden">
|
||||||
|
<div className="absolute inset-0 bg-gradient-to-b from-transparent via-accent/[0.02] to-transparent" />
|
||||||
|
|
||||||
|
<div className="max-w-6xl mx-auto px-6 relative">
|
||||||
|
{/* Section header */}
|
||||||
|
<div className="mb-20">
|
||||||
|
<div className="flex items-center gap-3 mb-6">
|
||||||
|
<div className="h-px w-8 bg-accent/50" />
|
||||||
|
<span className="text-[11px] text-accent font-medium tracking-widest uppercase">the team</span>
|
||||||
|
</div>
|
||||||
|
<h2 className="text-4xl sm:text-5xl font-bold text-foreground mb-6 tracking-tight">
|
||||||
|
核心成员
|
||||||
|
</h2>
|
||||||
|
<p className="text-base text-muted-foreground leading-relaxed max-w-2xl">
|
||||||
|
哈工大背景的技术团队,小而精,每个人都是各自领域的专家。
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Horizontal expanding cards */}
|
||||||
|
<div className="flex flex-col lg:flex-row gap-3 min-h-[420px]">
|
||||||
|
{team.map((member, index) => {
|
||||||
|
const isActive = active === index
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
key={member.name}
|
||||||
|
className="group relative cursor-pointer overflow-hidden"
|
||||||
|
style={{
|
||||||
|
flex: isActive ? 3 : 1,
|
||||||
|
transition: "flex 0.5s cubic-bezier(0.4, 0, 0.2, 1)",
|
||||||
|
}}
|
||||||
|
onMouseEnter={() => setActive(index)}
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
className={`h-full rounded-2xl border transition-all duration-500 flex flex-col justify-between p-6 min-w-0 ${
|
||||||
|
isActive
|
||||||
|
? "border-border/40 bg-foreground/[0.02]"
|
||||||
|
: "border-border/20 hover:border-border/30"
|
||||||
|
}`}
|
||||||
|
>
|
||||||
|
{/* Background glow */}
|
||||||
|
<div
|
||||||
|
className={`absolute inset-0 pointer-events-none transition-opacity duration-500 ${isActive ? "opacity-100" : "opacity-0"}`}
|
||||||
|
style={{
|
||||||
|
background: `radial-gradient(ellipse at 80% 100%, ${member.color}08, transparent 60%)`,
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<div className="relative">
|
||||||
|
{/* Name & role */}
|
||||||
|
<div className="mb-4">
|
||||||
|
<h3 className="text-lg font-bold text-foreground tracking-tight mb-1">
|
||||||
|
{member.name}
|
||||||
|
</h3>
|
||||||
|
<div className="flex items-center gap-2 min-w-0">
|
||||||
|
<span className="text-[11px] text-muted-foreground font-mono truncate">{member.handle}</span>
|
||||||
|
<span
|
||||||
|
className="px-2 py-0.5 text-[9px] font-semibold rounded-full border shrink-0"
|
||||||
|
style={{
|
||||||
|
color: member.color,
|
||||||
|
borderColor: `${member.color}40`,
|
||||||
|
backgroundColor: `${member.color}10`,
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{member.role}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Bio - expands on active */}
|
||||||
|
<p
|
||||||
|
className={`text-muted-foreground leading-relaxed transition-all duration-500 ${
|
||||||
|
isActive
|
||||||
|
? "text-sm max-w-sm opacity-100"
|
||||||
|
: "text-[11px] opacity-0 lg:opacity-60 line-clamp-2"
|
||||||
|
}`}
|
||||||
|
>
|
||||||
|
{member.bio}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Skills */}
|
||||||
|
<div className="relative flex flex-wrap gap-1.5 mt-4">
|
||||||
|
{member.skills.map((s) => (
|
||||||
|
<span
|
||||||
|
key={s}
|
||||||
|
className={`font-mono text-muted-foreground border border-border/30 rounded-md transition-all duration-500 ${
|
||||||
|
isActive ? "px-2.5 py-1 text-[11px]" : "px-2 py-0.5 text-[10px]"
|
||||||
|
}`}
|
||||||
|
>
|
||||||
|
{s}
|
||||||
|
</span>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Bottom accent line */}
|
||||||
|
<div
|
||||||
|
className={`absolute bottom-0 left-6 right-6 h-[2px] rounded-full transition-all duration-500 ${isActive ? "opacity-100" : "opacity-0"}`}
|
||||||
|
style={{ background: `linear-gradient(90deg, transparent, ${member.color}, transparent)` }}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
})}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
56
qczl-website/src/components/ui/button.tsx
Normal file
56
qczl-website/src/components/ui/button.tsx
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
import { cva, type VariantProps } from "class-variance-authority"
|
||||||
|
import * as React from "react"
|
||||||
|
import { Slot } from "@radix-ui/react-slot"
|
||||||
|
import { cn } from "../../lib/utils"
|
||||||
|
|
||||||
|
const buttonVariants = cva(
|
||||||
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap text-xs font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
|
||||||
|
{
|
||||||
|
variants: {
|
||||||
|
variant: {
|
||||||
|
default:
|
||||||
|
"bg-primary text-primary-foreground hover:bg-primary/90",
|
||||||
|
destructive:
|
||||||
|
"bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
||||||
|
outline:
|
||||||
|
"border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
||||||
|
secondary:
|
||||||
|
"bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
||||||
|
ghost: "hover:bg-accent hover:text-accent-foreground",
|
||||||
|
link: "text-primary underline-offset-4 hover:underline",
|
||||||
|
},
|
||||||
|
size: {
|
||||||
|
default: "h-8 px-4 py-2",
|
||||||
|
sm: "h-7 px-3 text-xs",
|
||||||
|
lg: "h-9 px-6",
|
||||||
|
icon: "h-8 w-8",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
defaultVariants: {
|
||||||
|
variant: "default",
|
||||||
|
size: "default",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
export interface ButtonProps
|
||||||
|
extends React.ButtonHTMLAttributes<HTMLButtonElement>,
|
||||||
|
VariantProps<typeof buttonVariants> {
|
||||||
|
asChild?: boolean
|
||||||
|
}
|
||||||
|
|
||||||
|
const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
|
||||||
|
({ className, variant, size, asChild, ...props }, ref) => {
|
||||||
|
const Comp = asChild ? Slot : "button"
|
||||||
|
return (
|
||||||
|
<Comp
|
||||||
|
className={cn(buttonVariants({ variant, size, className }))}
|
||||||
|
ref={ref}
|
||||||
|
{...props}
|
||||||
|
/>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
)
|
||||||
|
Button.displayName = "Button"
|
||||||
|
|
||||||
|
export { Button, buttonVariants }
|
||||||
75
qczl-website/src/components/ui/card.tsx
Normal file
75
qczl-website/src/components/ui/card.tsx
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
import * as React from "react"
|
||||||
|
import { cn } from "../../lib/utils"
|
||||||
|
|
||||||
|
const Card = React.forwardRef<
|
||||||
|
HTMLDivElement,
|
||||||
|
React.HTMLAttributes<HTMLDivElement>
|
||||||
|
>(({ className, ...props }, ref) => (
|
||||||
|
<div
|
||||||
|
ref={ref}
|
||||||
|
className={cn(
|
||||||
|
"bg-card text-card-foreground border border-border",
|
||||||
|
className
|
||||||
|
)}
|
||||||
|
{...props}
|
||||||
|
/>
|
||||||
|
))
|
||||||
|
Card.displayName = "Card"
|
||||||
|
|
||||||
|
const CardHeader = React.forwardRef<
|
||||||
|
HTMLDivElement,
|
||||||
|
React.HTMLAttributes<HTMLDivElement>
|
||||||
|
>(({ className, ...props }, ref) => (
|
||||||
|
<div
|
||||||
|
ref={ref}
|
||||||
|
className={cn("flex flex-col space-y-1.5 p-5", className)}
|
||||||
|
{...props}
|
||||||
|
/>
|
||||||
|
))
|
||||||
|
CardHeader.displayName = "CardHeader"
|
||||||
|
|
||||||
|
const CardTitle = React.forwardRef<
|
||||||
|
HTMLDivElement,
|
||||||
|
React.HTMLAttributes<HTMLDivElement>
|
||||||
|
>(({ className, ...props }, ref) => (
|
||||||
|
<div
|
||||||
|
ref={ref}
|
||||||
|
className={cn("font-semibold leading-none tracking-tight", className)}
|
||||||
|
{...props}
|
||||||
|
/>
|
||||||
|
))
|
||||||
|
CardTitle.displayName = "CardTitle"
|
||||||
|
|
||||||
|
const CardDescription = React.forwardRef<
|
||||||
|
HTMLDivElement,
|
||||||
|
React.HTMLAttributes<HTMLDivElement>
|
||||||
|
>(({ className, ...props }, ref) => (
|
||||||
|
<div
|
||||||
|
ref={ref}
|
||||||
|
className={cn("text-sm text-muted-foreground", className)}
|
||||||
|
{...props}
|
||||||
|
/>
|
||||||
|
))
|
||||||
|
CardDescription.displayName = "CardDescription"
|
||||||
|
|
||||||
|
const CardContent = React.forwardRef<
|
||||||
|
HTMLDivElement,
|
||||||
|
React.HTMLAttributes<HTMLDivElement>
|
||||||
|
>(({ className, ...props }, ref) => (
|
||||||
|
<div ref={ref} className={cn("p-5 pt-0", className)} {...props} />
|
||||||
|
))
|
||||||
|
CardContent.displayName = "CardContent"
|
||||||
|
|
||||||
|
const CardFooter = React.forwardRef<
|
||||||
|
HTMLDivElement,
|
||||||
|
React.HTMLAttributes<HTMLDivElement>
|
||||||
|
>(({ className, ...props }, ref) => (
|
||||||
|
<div
|
||||||
|
ref={ref}
|
||||||
|
className={cn("flex items-center p-5 pt-0", className)}
|
||||||
|
{...props}
|
||||||
|
/>
|
||||||
|
))
|
||||||
|
CardFooter.displayName = "CardFooter"
|
||||||
|
|
||||||
|
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }
|
||||||
21
qczl-website/src/components/ui/input.tsx
Normal file
21
qczl-website/src/components/ui/input.tsx
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
import * as React from "react"
|
||||||
|
import { cn } from "../../lib/utils"
|
||||||
|
|
||||||
|
const Input = React.forwardRef<HTMLInputElement, React.InputHTMLAttributes<HTMLInputElement>>(
|
||||||
|
({ className, type, ...props }, ref) => {
|
||||||
|
return (
|
||||||
|
<input
|
||||||
|
type={type}
|
||||||
|
className={cn(
|
||||||
|
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
|
||||||
|
className
|
||||||
|
)}
|
||||||
|
ref={ref}
|
||||||
|
{...props}
|
||||||
|
/>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
)
|
||||||
|
Input.displayName = "Input"
|
||||||
|
|
||||||
|
export { Input }
|
||||||
20
qczl-website/src/components/ui/textarea.tsx
Normal file
20
qczl-website/src/components/ui/textarea.tsx
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
import * as React from "react"
|
||||||
|
import { cn } from "../../lib/utils"
|
||||||
|
|
||||||
|
const Textarea = React.forwardRef<HTMLTextAreaElement, React.TextareaHTMLAttributes<HTMLTextAreaElement>>(
|
||||||
|
({ className, ...props }, ref) => {
|
||||||
|
return (
|
||||||
|
<textarea
|
||||||
|
className={cn(
|
||||||
|
"flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
|
||||||
|
className
|
||||||
|
)}
|
||||||
|
ref={ref}
|
||||||
|
{...props}
|
||||||
|
/>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
)
|
||||||
|
Textarea.displayName = "Textarea"
|
||||||
|
|
||||||
|
export { Textarea }
|
||||||
55
qczl-website/src/index.css
Normal file
55
qczl-website/src/index.css
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
@import "tailwindcss";
|
||||||
|
|
||||||
|
@theme {
|
||||||
|
--color-background: #09090b;
|
||||||
|
--color-foreground: #fafafa;
|
||||||
|
--color-card: #0c0c0e;
|
||||||
|
--color-card-foreground: #fafafa;
|
||||||
|
--color-popover: #0c0c0e;
|
||||||
|
--color-popover-foreground: #fafafa;
|
||||||
|
--color-primary: #fafafa;
|
||||||
|
--color-primary-foreground: #09090b;
|
||||||
|
--color-secondary: #18181b;
|
||||||
|
--color-secondary-foreground: #fafafa;
|
||||||
|
--color-muted: #18181b;
|
||||||
|
--color-muted-foreground: #71717a;
|
||||||
|
--color-accent: #22c55e;
|
||||||
|
--color-accent-foreground: #09090b;
|
||||||
|
--color-destructive: #ef4444;
|
||||||
|
--color-destructive-foreground: #fafafa;
|
||||||
|
--color-border: #27272a;
|
||||||
|
--color-input: #27272a;
|
||||||
|
--color-ring: #22c55e;
|
||||||
|
--color-radius: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@layer base {
|
||||||
|
html {
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
background-color: var(--color-background);
|
||||||
|
color: var(--color-foreground);
|
||||||
|
font-family: "SF Mono", "Fira Code", "JetBrains Mono", ui-monospace, monospace;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
::selection {
|
||||||
|
background: #22c55e;
|
||||||
|
color: #09090b;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@layer utilities {
|
||||||
|
.glow-green {
|
||||||
|
box-shadow: 0 0 20px rgba(34, 197, 94, 0.15), 0 0 40px rgba(34, 197, 94, 0.05);
|
||||||
|
}
|
||||||
|
.glow-green-sm {
|
||||||
|
box-shadow: 0 0 10px rgba(34, 197, 94, 0.1);
|
||||||
|
}
|
||||||
|
.text-glow {
|
||||||
|
text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
|
||||||
|
}
|
||||||
|
}
|
||||||
6
qczl-website/src/lib/utils.ts
Normal file
6
qczl-website/src/lib/utils.ts
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
import { type ClassValue, clsx } from "clsx"
|
||||||
|
import { twMerge } from "tailwind-merge"
|
||||||
|
|
||||||
|
export function cn(...inputs: ClassValue[]) {
|
||||||
|
return twMerge(clsx(inputs))
|
||||||
|
}
|
||||||
10
qczl-website/src/main.tsx
Normal file
10
qczl-website/src/main.tsx
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
import { StrictMode } from 'react'
|
||||||
|
import { createRoot } from 'react-dom/client'
|
||||||
|
import './index.css'
|
||||||
|
import App from './App.tsx'
|
||||||
|
|
||||||
|
createRoot(document.getElementById('root')!).render(
|
||||||
|
<StrictMode>
|
||||||
|
<App />
|
||||||
|
</StrictMode>,
|
||||||
|
)
|
||||||
296
qczl-website/src/style.css
Normal file
296
qczl-website/src/style.css
Normal file
@@ -0,0 +1,296 @@
|
|||||||
|
:root {
|
||||||
|
--text: #6b6375;
|
||||||
|
--text-h: #08060d;
|
||||||
|
--bg: #fff;
|
||||||
|
--border: #e5e4e7;
|
||||||
|
--code-bg: #f4f3ec;
|
||||||
|
--accent: #aa3bff;
|
||||||
|
--accent-bg: rgba(170, 59, 255, 0.1);
|
||||||
|
--accent-border: rgba(170, 59, 255, 0.5);
|
||||||
|
--social-bg: rgba(244, 243, 236, 0.5);
|
||||||
|
--shadow:
|
||||||
|
rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;
|
||||||
|
|
||||||
|
--sans: system-ui, 'Segoe UI', Roboto, sans-serif;
|
||||||
|
--heading: system-ui, 'Segoe UI', Roboto, sans-serif;
|
||||||
|
--mono: ui-monospace, Consolas, monospace;
|
||||||
|
|
||||||
|
font: 18px/145% var(--sans);
|
||||||
|
letter-spacing: 0.18px;
|
||||||
|
color-scheme: light dark;
|
||||||
|
color: var(--text);
|
||||||
|
background: var(--bg);
|
||||||
|
font-synthesis: none;
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
:root {
|
||||||
|
--text: #9ca3af;
|
||||||
|
--text-h: #f3f4f6;
|
||||||
|
--bg: #16171d;
|
||||||
|
--border: #2e303a;
|
||||||
|
--code-bg: #1f2028;
|
||||||
|
--accent: #c084fc;
|
||||||
|
--accent-bg: rgba(192, 132, 252, 0.15);
|
||||||
|
--accent-border: rgba(192, 132, 252, 0.5);
|
||||||
|
--social-bg: rgba(47, 48, 58, 0.5);
|
||||||
|
--shadow:
|
||||||
|
rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#social .button-icon {
|
||||||
|
filter: invert(1) brightness(2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2 {
|
||||||
|
font-family: var(--heading);
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--text-h);
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 56px;
|
||||||
|
letter-spacing: -1.68px;
|
||||||
|
margin: 32px 0;
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
font-size: 36px;
|
||||||
|
margin: 20px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 118%;
|
||||||
|
letter-spacing: -0.24px;
|
||||||
|
margin: 0 0 8px;
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
code,
|
||||||
|
.counter {
|
||||||
|
font-family: var(--mono);
|
||||||
|
display: inline-flex;
|
||||||
|
border-radius: 4px;
|
||||||
|
color: var(--text-h);
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-size: 15px;
|
||||||
|
line-height: 135%;
|
||||||
|
padding: 4px 8px;
|
||||||
|
background: var(--code-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.counter {
|
||||||
|
font-size: 16px;
|
||||||
|
padding: 5px 10px;
|
||||||
|
border-radius: 5px;
|
||||||
|
color: var(--accent);
|
||||||
|
background: var(--accent-bg);
|
||||||
|
border: 2px solid transparent;
|
||||||
|
transition: border-color 0.3s;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
border-color: var(--accent-border);
|
||||||
|
}
|
||||||
|
&:focus-visible {
|
||||||
|
outline: 2px solid var(--accent);
|
||||||
|
outline-offset: 2px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero {
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.base,
|
||||||
|
.framework,
|
||||||
|
.vite {
|
||||||
|
inset-inline: 0;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.base {
|
||||||
|
width: 170px;
|
||||||
|
position: relative;
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.framework,
|
||||||
|
.vite {
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
.framework {
|
||||||
|
z-index: 1;
|
||||||
|
top: 34px;
|
||||||
|
height: 28px;
|
||||||
|
transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg)
|
||||||
|
scale(1.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vite {
|
||||||
|
z-index: 0;
|
||||||
|
top: 107px;
|
||||||
|
height: 26px;
|
||||||
|
width: auto;
|
||||||
|
transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg)
|
||||||
|
scale(0.8);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#app {
|
||||||
|
width: 1126px;
|
||||||
|
max-width: 100%;
|
||||||
|
margin: 0 auto;
|
||||||
|
text-align: center;
|
||||||
|
border-inline: 1px solid var(--border);
|
||||||
|
min-height: 100svh;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
#center {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 25px;
|
||||||
|
place-content: center;
|
||||||
|
place-items: center;
|
||||||
|
flex-grow: 1;
|
||||||
|
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
padding: 32px 20px 24px;
|
||||||
|
gap: 18px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#next-steps {
|
||||||
|
display: flex;
|
||||||
|
border-top: 1px solid var(--border);
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
|
& > div {
|
||||||
|
flex: 1 1 0;
|
||||||
|
padding: 32px;
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
padding: 24px 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
width: 22px;
|
||||||
|
height: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
flex-direction: column;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#docs {
|
||||||
|
border-right: 1px solid var(--border);
|
||||||
|
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
border-right: none;
|
||||||
|
border-bottom: 1px solid var(--border);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#next-steps ul {
|
||||||
|
list-style: none;
|
||||||
|
padding: 0;
|
||||||
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
margin: 32px 0 0;
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
height: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: var(--text-h);
|
||||||
|
font-size: 16px;
|
||||||
|
border-radius: 6px;
|
||||||
|
background: var(--social-bg);
|
||||||
|
display: flex;
|
||||||
|
padding: 6px 12px;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
text-decoration: none;
|
||||||
|
transition: box-shadow 0.3s;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
box-shadow: var(--shadow);
|
||||||
|
}
|
||||||
|
.button-icon {
|
||||||
|
height: 18px;
|
||||||
|
width: 18px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
margin-top: 20px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
li {
|
||||||
|
flex: 1 1 calc(50% - 8px);
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#spacer {
|
||||||
|
height: 88px;
|
||||||
|
border-top: 1px solid var(--border);
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
height: 48px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.ticks {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
&::before,
|
||||||
|
&::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: -4.5px;
|
||||||
|
border: 5px solid transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
left: 0;
|
||||||
|
border-left-color: var(--border);
|
||||||
|
}
|
||||||
|
&::after {
|
||||||
|
right: 0;
|
||||||
|
border-right-color: var(--border);
|
||||||
|
}
|
||||||
|
}
|
||||||
6
qczl-website/src/vite-env.d.ts
vendored
Normal file
6
qczl-website/src/vite-env.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
/// <reference types="vite/client" />
|
||||||
|
|
||||||
|
declare module '*.css' {
|
||||||
|
const content: string
|
||||||
|
export default content
|
||||||
|
}
|
||||||
25
qczl-website/tsconfig.json
Normal file
25
qczl-website/tsconfig.json
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ES2020",
|
||||||
|
"useDefineForClassFields": true,
|
||||||
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||||
|
"module": "ESNext",
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"moduleResolution": "bundler",
|
||||||
|
"allowImportingTsExtensions": true,
|
||||||
|
"isolatedModules": true,
|
||||||
|
"moduleDetection": "force",
|
||||||
|
"noEmit": true,
|
||||||
|
"jsx": "react-jsx",
|
||||||
|
"strict": true,
|
||||||
|
"noUnusedLocals": true,
|
||||||
|
"noUnusedParameters": true,
|
||||||
|
"noFallthroughCasesInSwitch": true,
|
||||||
|
"ignoreDeprecations": "6.0",
|
||||||
|
"baseUrl": ".",
|
||||||
|
"paths": {
|
||||||
|
"@/*": ["./src/*"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"include": ["src"]
|
||||||
|
}
|
||||||
8
qczl-website/vite.config.ts
Normal file
8
qczl-website/vite.config.ts
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
import { defineConfig } from 'vite'
|
||||||
|
import react from '@vitejs/plugin-react'
|
||||||
|
import tailwindcss from '@tailwindcss/vite'
|
||||||
|
|
||||||
|
// https://vite.dev/config/
|
||||||
|
export default defineConfig({
|
||||||
|
plugins: [react(), tailwindcss()],
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user