feat: add ClockApp and SettingsPanel components with customizable settings

- Implemented ClockApp component to display time based on user settings.
- Created SettingsPanel for users to adjust clock type, time format, timezone, and theme.
- Added hooks for managing time, settings persistence, and fullscreen functionality.
- Introduced types for clock settings and themes, including default settings.
- Integrated URL parameter parsing for sharing clock configurations.
- Enhanced user experience with loading states and visual transitions.
This commit is contained in:
Puechberty Arthur
2026-03-30 20:27:33 +02:00
parent 823587b05e
commit c061960e57
31 changed files with 2563 additions and 101 deletions
+22
View File
@@ -0,0 +1,22 @@
import { MetadataRoute } from 'next';
export default function robots(): MetadataRoute.Robots {
return {
rules: [
{
userAgent: '*',
allow: '/',
disallow: ['/api/', '/_next/'],
},
{
userAgent: 'Googlebot',
allow: '/',
},
{
userAgent: 'Bingbot',
allow: '/',
},
],
sitemap: 'https://clock.arthurp.fr/sitemap.xml',
};
}