Refactor: Split Index page

Refactor Index.tsx into smaller, more manageable components.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-15 02:23:57 +00:00
parent 19ecbd2728
commit ae391e606b
6 changed files with 241 additions and 151 deletions

21
src/components/Header.tsx Normal file
View File

@@ -0,0 +1,21 @@
import React from 'react';
import { Bell } from 'lucide-react';
const Header: React.FC = () => {
return (
<header className="py-8">
<div className="flex justify-between items-center">
<div>
<h1 className="text-2xl font-bold neuro-text"></h1>
<p className="text-gray-500"> </p>
</div>
<button className="neuro-flat p-2.5 rounded-full">
<Bell size={20} className="text-gray-600" />
</button>
</div>
</header>
);
};
export default Header;