Commit Graph

17 Commits

Author SHA1 Message Date
8d2df7dc4a feat(i18n): restructure translation files and update NavUser component for internationalization support 2024-12-12 20:51:10 +08:00
cd842b3bdd feat(i18n): refactor authentication to use user locale from cookies and implement language switching 2024-12-12 20:28:31 +08:00
e5b8848b8f feat(i18n): add LanguageSwitcher and integrate with dashboard header 2024-12-12 13:38:02 +08:00
301490c30b feat(i18n): add internationalization support with en-US and zh-CN translations 2024-12-12 10:31:10 +08:00
52a7ee5d0b chore(auth): update NextAuth configuration to include JWT language
chore(eslint): add warning rule for unused variables in ESLint configuration
2024-12-11 20:28:44 +08:00
b69cc453e8 feat(auth): extend NextAuth user and session to include language support
refactor(gitea): make username optional in GiteaProfile interface

style(eslint): add warning rule for empty object type in ESLint configuration
2024-12-11 19:24:37 +08:00
5ffbecefc2 docs: add source attribution for use-meta-color implementation 2024-12-09 20:40:21 +08:00
93798b5a7e feat(theme): add meta color management and integrate Jotai for theme switching 2024-12-09 20:38:08 +08:00
ed547464c1 docs: add source attribution for ModeSwitcher and ThemeProvider implementations 2024-12-09 16:49:00 +08:00
8808b4fb9b feat(theme): add theme switching functionality with ModeSwitcher and ThemeProvider 2024-12-09 16:48:38 +08:00
398c56b38b docs: add source reference and author attribution to ConfirmationDialog and useConfirmationStore 2024-12-09 13:39:27 +08:00
bb2093d14f feat(dialog): add confirmation dialog and state management for user actions 2024-12-09 13:22:10 +08:00
5f427a5032 feat(dashboard): integrate SessionProvider and update NavUser for session data
- Integrated `SessionProvider` from `next-auth/react` to manage user sessions.
- Updated `AppSidebar` to use `SessionProvider` and reflect user data.
- Modified `NavUser` to display user info based on session, with default fallback.
2024-12-09 13:15:59 +08:00
474c71bf96 fix(style): use local image for Gitea OAuth provider logo
- Replaced the default Gitea logo URL with a local image path to ensure the logo is displayed correctly.
- The default URL `https://authjs.dev/img/providers/gitea.svg` is not supported, so a local image is used instead.
2024-12-09 00:18:19 +08:00
c8a9b25e27 feat(dashboard): add shadcn sidebar-08 2024-12-07 22:06:25 +08:00
b04613784a feat(auth): implement Gitea authentication provider with NextAuth integration 2024-12-07 21:01:22 +08:00
12e37e908f chore: initialize Next.js project with shadcn 2024-12-07 13:56:20 +08:00