/**
 * ProjectEditView Component
 * 
 * Allows editing of existing projects.
 * Requirements: 1.6
 */
import React from 'react';
import { useParams, useNavigate } from 'react-router-dom';
import { Button, IconArrowLeft } from '@humansignal/ui';

export const ProjectEditView: React.FC = () => {
  const { id } = useParams<{ id: string }>();
  const navigate = useNavigate();

  return (
    <div className="flex flex-col gap-comfortable h-full">
      {/* Header */}
      <div className="flex items-center justify-between pb-comfortable border-b border-neutral-border">
        <div className="flex items-center gap-comfortable">
          <Button
            variant="neutral"
            look="string"
            size="small"
            onClick={() => navigate('/projects')}
            leading={<IconArrowLeft className="size-4" />}
          >
            返回
          </Button>
          <div>
            <h1 className="text-heading-large font-bold text-primary-foreground">
              编辑项目
            </h1>
            <p className="text-body-medium text-secondary-foreground mt-tighter">
              项目 ID: {id}
            </p>
          </div>
        </div>
      </div>

      {/* Content */}
      <div className="flex-1 flex items-center justify-center">
        <div className="text-center">
          <h2 className="text-heading-medium font-semibold text-primary-foreground mb-tight">
            项目编辑页面
          </h2>
          <p className="text-body-medium text-secondary-foreground">
            此页面正在开发中...
          </p>
        </div>
      </div>
    </div>
  );
};
