From a77d0e4c770a5ec89ec12a5c9a8ae1cf80e35e23 Mon Sep 17 00:00:00 2001 From: iamhectorsosa Date: Fri, 15 Mar 2024 18:05:12 +0100 Subject: [PATCH] Updating project --- .gitignore | 3 +- apps/next/app/layout.tsx | 6 +- apps/next/app/login/layout.tsx | 10 ++++ .../next/app/{register => login/new}/page.tsx | 6 +- apps/next/app/login/otp/page.tsx | 6 +- apps/next/app/login/page.tsx | 6 +- .../app/login/reset-password/new/page.tsx | 6 +- apps/next/app/login/reset-password/page.tsx | 6 +- apps/next/app/page.tsx | 10 ++-- apps/next/app/settings/accounts/page.tsx | 18 ++++++ .../{account => credentials}/page.tsx | 8 +-- apps/next/app/settings/layout.tsx | 35 ++++++++++++ apps/next/app/settings/page.tsx | 7 +-- apps/next/app/settings/profile/page.tsx | 6 +- apps/next/components/dynamic-breadcrumbs.tsx | 55 +++++++++++++++++++ .../components/dynamic-navigation-links.tsx | 31 +++++++++++ .../user/{settings.tsx => accounts.tsx} | 42 ++++---------- ...{account-form.tsx => credentials-form.tsx} | 50 ++++------------- apps/next/components/user/login-form.tsx | 32 ++--------- .../user/new-reset-password-form.tsx | 42 +------------- apps/next/components/user/otp-login-form.tsx | 44 +++------------ apps/next/components/user/profile-form.tsx | 46 +++------------- apps/next/components/user/register-form.tsx | 32 ++--------- .../components/user/reset-password-form.tsx | 38 ++----------- docs/modules/user.md | 6 +- package.json | 3 +- turbo.json | 11 +++- 27 files changed, 240 insertions(+), 325 deletions(-) create mode 100644 apps/next/app/login/layout.tsx rename apps/next/app/{register => login/new}/page.tsx (80%) create mode 100644 apps/next/app/settings/accounts/page.tsx rename apps/next/app/settings/{account => credentials}/page.tsx (66%) create mode 100644 apps/next/app/settings/layout.tsx create mode 100644 apps/next/components/dynamic-breadcrumbs.tsx create mode 100644 apps/next/components/dynamic-navigation-links.tsx rename apps/next/components/user/{settings.tsx => accounts.tsx} (82%) rename apps/next/components/user/{account-form.tsx => credentials-form.tsx} (74%) diff --git a/.gitignore b/.gitignore index a381428..2242b7d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ node_modules .turbo # Env files -.env \ No newline at end of file +.env +.env.local \ No newline at end of file diff --git a/apps/next/app/layout.tsx b/apps/next/app/layout.tsx index 1168f95..79ed100 100644 --- a/apps/next/app/layout.tsx +++ b/apps/next/app/layout.tsx @@ -24,12 +24,14 @@ export default function RootLayout({ -
{children}
+