import React from 'react';
import { Brain } from 'lucide-react';
import { useNavigate } from 'react-router-dom';
import ClientDownloads from '../components/ClientDownloads';
import './ClientDownloadPage.css';

const ClientDownloadPage = () => {
  const navigate = useNavigate();

  const handleLogoClick = () => {
    navigate('/');
  };

  return (
    <div className="client-download-page">
      <header className="download-page-header">
        <div className="header-content">
          <div className="logo" onClick={handleLogoClick} style={{ cursor: 'pointer' }}>
            <Brain className="logo-icon" />
            <span className="logo-text">iMeeting</span>
          </div>
        </div>
      </header>

      <div className="download-page-content">
        <ClientDownloads />
      </div>

      <footer className="download-page-footer">
        <p>© 2025 紫光汇智信息技术有限公司. All rights reserved.</p>
        <p>备案号：渝ICP备2023007695号-11</p>
      </footer>
    </div>
  );
};

export default ClientDownloadPage;
