diff --git a/client/src/pages/FocusPage.tsx b/client/src/pages/FocusPage.tsx index 9e7fe46..ae0b562 100644 --- a/client/src/pages/FocusPage.tsx +++ b/client/src/pages/FocusPage.tsx @@ -1,75 +1,197 @@ -import FocusMode from "@/components/focus/FocusMode"; +import { useState } from "react"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; +import { Button } from "@/components/ui/button"; import { useTranslation } from "react-i18next"; -import { Timer, Brain, Volume2, Shield } from "lucide-react"; +import { Timer, Brain, Volume2, Shield, Target, Coffee, Zap } from "lucide-react"; +import Header from "@/components/layout/Header"; +import Sidebar from "@/components/layout/Sidebar"; +import FocusMode from "@/components/focus/FocusMode"; export default function FocusPage() { const { t } = useTranslation(); + const [isFocusModeOpen, setIsFocusModeOpen] = useState(false); return ( -
-
-

- {t('focus.title', 'Focus Mode')} -

-

- {t('focus.description', 'Minimize distractions and maximize your productivity with our advanced focus tools.')} -

+
+ +
+
+
+
+

Focus Zone

+

Maximize your productivity with focused work sessions

+
+ +
+ + + + Pomodoro Timer + + + + Work in focused 25-minute intervals with built-in breaks + + + + + + + + + Deep Work Sessions + + + + Extended 90-minute sessions for complex tasks and deep thinking + + + + + + + + + Custom Sessions + + + + Create personalized focus sessions tailored to your workflow + + + + +
+ +
+ + + + + Ambient Sounds + + + + + Enhance concentration with nature sounds, white noise, or instrumental music + +
+
+ Rain Sounds + +
+
+ Forest Ambience + +
+
+ Ocean Waves + +
+
+ Brown Noise + +
+
+
+
+ + + + + + Distraction Blocking + + + + + Minimize interruptions by hiding notifications and non-essential UI elements + +
+
+ Block Notifications +
+
+
+ Hide Social Media +
+
+
+ Minimize UI Elements +
+
+ +
+
+
+
+ + + + + + Focus Statistics + + + +
+
+
12
+
Sessions Today
+
+
+
6h 30m
+
Total Focus Time
+
+
+
85%
+
Completion Rate
+
+
+
7
+
Day Streak
+
+
+
+
+ +
+ +
+
-
- - - - {t('focus.features.timer', 'Pomodoro Timer')} - - - - {t('focus.features.timerDesc', 'Work in focused intervals with built-in breaks')} - - - - - - - - {t('focus.features.ambient', 'Ambient Sounds')} - - - - {t('focus.features.ambientDesc', 'Choose from nature sounds to enhance concentration')} - - - - - - - - {t('focus.features.blocking', 'Distraction Blocking')} - - - - {t('focus.features.blockingDesc', 'Block notifications and visual distractions')} - - - - - - - - {t('focus.features.tracking', 'Session Tracking')} - - - - {t('focus.features.trackingDesc', 'Monitor your focus patterns and productivity')} - - - -
- -
- {}} /> -
+ setIsFocusModeOpen(false)} + />
); } \ No newline at end of file