2026-02-25 09:29:45 +00:00
|
|
|
import { Link } from 'react-router-dom';
|
|
|
|
|
import { ModalExample } from '../context/modals/ModalExample';
|
|
|
|
|
import { ToastExample } from '../context/toasts/ToastExample';
|
|
|
|
|
import { LoaderExample } from '../context/loaders/LoaderExample';
|
2026-03-15 15:05:19 +00:00
|
|
|
import { TaskboardLogo } from '../components/TaskboardLogo';
|
2026-02-14 16:56:10 +00:00
|
|
|
|
|
|
|
|
export function Home() {
|
|
|
|
|
return (
|
|
|
|
|
<div className="space-y-12">
|
|
|
|
|
<div className="text-center py-12">
|
2026-03-15 15:05:19 +00:00
|
|
|
<div className="flex justify-center mb-6">
|
|
|
|
|
<TaskboardLogo className="h-16 w-auto" />
|
|
|
|
|
</div>
|
|
|
|
|
<h1 className="text-5xl font-bold text-white mb-4">Welcome to Taskboard</h1>
|
2026-02-14 16:56:10 +00:00
|
|
|
<p className="text-xl text-gray-300 mb-8">
|
2026-03-15 15:05:19 +00:00
|
|
|
Organize your projects and boost productivity with powerful task management
|
2026-02-14 16:56:10 +00:00
|
|
|
</p>
|
|
|
|
|
<Link
|
2026-03-15 15:05:19 +00:00
|
|
|
to="/boards"
|
2026-02-14 16:56:10 +00:00
|
|
|
className="bg-blue-600 hover:bg-blue-700 text-white px-8 py-3 rounded-lg text-lg font-medium transition-colors inline-block"
|
|
|
|
|
>
|
2026-03-15 15:05:19 +00:00
|
|
|
View Boards
|
2026-02-14 16:56:10 +00:00
|
|
|
</Link>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
|
|
|
|
|
<div className="bg-gray-800 rounded-lg p-6 border border-gray-700">
|
2026-03-15 15:05:19 +00:00
|
|
|
<h3 className="text-xl font-semibold text-white mb-2">Visual Workflow</h3>
|
|
|
|
|
<p className="text-gray-400">Drag and drop cards to manage your tasks efficiently</p>
|
2026-02-14 16:56:10 +00:00
|
|
|
</div>
|
|
|
|
|
<div className="bg-gray-800 rounded-lg p-6 border border-gray-700">
|
2026-03-15 15:05:19 +00:00
|
|
|
<h3 className="text-xl font-semibold text-white mb-2">Personal Organization</h3>
|
|
|
|
|
<p className="text-gray-400">Your personal space to organize and track your tasks</p>
|
2026-02-14 16:56:10 +00:00
|
|
|
</div>
|
|
|
|
|
<div className="bg-gray-800 rounded-lg p-6 border border-gray-700">
|
2026-03-15 15:05:19 +00:00
|
|
|
<h3 className="text-xl font-semibold text-white mb-2">Customizable Boards</h3>
|
|
|
|
|
<p className="text-gray-400">Create and organize boards to fit your workflow</p>
|
2026-02-14 16:56:10 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-02-24 08:52:57 +00:00
|
|
|
|
|
|
|
|
<div className="bg-gray-800 rounded-lg p-6 border border-gray-700">
|
|
|
|
|
<h2 className="text-2xl font-semibold text-white mb-4">Modal System Demo</h2>
|
|
|
|
|
<p className="text-gray-400 mb-6">
|
2026-02-25 09:29:45 +00:00
|
|
|
Test our modal system with this interactive example. The modal uses React Context for
|
|
|
|
|
state management.
|
2026-02-24 08:52:57 +00:00
|
|
|
</p>
|
|
|
|
|
<ModalExample />
|
|
|
|
|
</div>
|
2026-02-24 10:45:55 +00:00
|
|
|
|
|
|
|
|
<div className="bg-gray-800 rounded-lg p-6 border border-gray-700">
|
|
|
|
|
<h2 className="text-2xl font-semibold text-white mb-4">Toast System Demo</h2>
|
|
|
|
|
<p className="text-gray-400 mb-6">
|
2026-02-25 09:29:45 +00:00
|
|
|
Test our toast notification system with this interactive example. The toast uses React
|
|
|
|
|
Context for state management.
|
2026-02-24 10:45:55 +00:00
|
|
|
</p>
|
|
|
|
|
<ToastExample />
|
|
|
|
|
</div>
|
2026-02-24 11:03:23 +00:00
|
|
|
|
|
|
|
|
<div className="bg-gray-800 rounded-lg p-6 border border-gray-700">
|
|
|
|
|
<h2 className="text-2xl font-semibold text-white mb-4">Loader System Demo</h2>
|
|
|
|
|
<p className="text-gray-400 mb-6">
|
2026-02-25 09:29:45 +00:00
|
|
|
Test our global loading system with this interactive example. The loader uses React
|
|
|
|
|
Context for state management.
|
2026-02-24 11:03:23 +00:00
|
|
|
</p>
|
|
|
|
|
<LoaderExample />
|
|
|
|
|
</div>
|
2026-02-14 16:56:10 +00:00
|
|
|
</div>
|
2026-02-25 09:29:45 +00:00
|
|
|
);
|
2026-02-24 08:52:57 +00:00
|
|
|
}
|