diff --git a/src/components/ui/separator.jsx b/src/components/ui/separator.jsx new file mode 100644 index 0000000..b9888ed --- /dev/null +++ b/src/components/ui/separator.jsx @@ -0,0 +1,19 @@ +import React from 'react'; + +/** + * Separator component for dividing sections in the UI. + * Renders a horizontal line with optional styling for light/dark mode. + */ +export function Separator({ className = '' }) { + return ( +
+
+
+
+ ); +} diff --git a/src/pages/SettingsPage.jsx b/src/pages/SettingsPage.jsx index ae4ad4a..50d091c 100644 --- a/src/pages/SettingsPage.jsx +++ b/src/pages/SettingsPage.jsx @@ -3,6 +3,7 @@ import { useNavigate } from 'react-router-dom'; import { motion } from 'framer-motion'; import { ArrowLeft, Moon, Sun, Bell, Download, Upload, Trash2, Plus, Trash, GitBranch, Flame } from 'lucide-react'; import { Button } from '../components/ui/button'; +import { Separator } from '../components/ui/separator'; import { Switch } from '../components/ui/switch'; import { Label } from '../components/ui/label'; import { useToast } from '../components/ui/use-toast'; @@ -390,15 +391,34 @@ const SettingsPage = () => { >

About HabitGrid

- Version 1.0.0 • Built with ❤️ for habit builders + Version 1.1.0 • Built by Mihajlo Ciric with ❤️

+

- Track your habits with a beautiful GitHub-style contribution grid. - Build streaks, visualize progress, and commit to yourself daily. + This project is open-source and available on GitHub and mirrored on git.mihajlociric.com. If you enjoy using HabitGrid, please consider starring the repository and sharing it with others! + If you encounter any issues or have suggestions, feel free to open an issue or contribute.

+ {/* GitHub Icon Button at the bottom */} +
+ + + + + + +
); };