import React, { useState, useEffect } from 'react'; import { Terminal, Github, Heart, Share2, Globe, Code, Clock, ShieldAlert, Cpu } from 'lucide-react'; // --- Components --- const Intro = ({ onStart }) => (

DIGITAL GRAVE

你的 GitHub,是你的数字墓碑。

"在比特的海洋里,我们将如同法老一般,将我们的思维固化在提交记录的金字塔中。 当肉体消逝,git log 将是我们唯一的呼吸。"

); const ConfigForm = ({ onSubmit, loading }) => { const [username, setUsername] = useState(''); const [message, setMessage] = useState(''); const [step, setStep] = useState(1); const handleNext = () => { if (username.trim()) setStep(2); }; const handleSubmit = (e) => { e.preventDefault(); if (message.trim()) onSubmit({ username, message }); }; return (
{/* Progress Bar */}
{step === 1 ? (
Step 1: 身份锚定
setUsername(e.target.value)} placeholder="torvalds" className="w-full bg-black border-b border-gray-700 p-4 text-2xl focus:outline-none focus:border-white transition-colors placeholder-gray-800" autoFocus />
) : (
Step 2: 最后的 Commit