feat: Implement settings dropdown and page components
Some checks failed
container-scan / Container Scan (pull_request) Failing after 3m7s
docker-build / docker (pull_request) Failing after 1m4s
tests / Tests (pull_request) Failing after 2m21s

- Added `SettingsDropdown` component for selecting settings sections with icons and descriptions.
- Created `SettingsPage` component to manage user settings, including account details, notifications, calendar availability, privacy, and appearance.
- Introduced `SettingsSwitcher` for selecting options within settings.
- Integrated command and dialog components for improved user interaction.
- Updated `UserDropdown` to include links for settings and logout.
- Refactored button styles and card footer layout for consistency.
- Added popover functionality for dropdown menus.
- Updated dependencies in `yarn.lock` for new components.
This commit is contained in:
Maximilian Liebmann 2025-06-30 23:32:10 +02:00
parent 53cc8cb2b7
commit 8b2452abe4
25 changed files with 1469 additions and 552 deletions

View file

@ -0,0 +1,8 @@
import { signOut } from '@/auth';
import { NextResponse } from 'next/server';
export const GET = async () => {
await signOut();
return NextResponse.redirect('/login');
};