Skip to content

Commit

Permalink
Changed components structuure
Browse files Browse the repository at this point in the history
  • Loading branch information
anoopkarnik committed Jun 25, 2024
1 parent 2fdc1e2 commit f7810d6
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { useState } from 'react';
import { useRouter } from 'next/navigation';
import ForgotPasswordCard from '@repo/ui/organisms/auth/ForgotPasswordCard';
import { ForgotPassword } from '../../actions/auth/forgot-password';
import { ForgotPassword } from '../../../actions/auth/forgot-password';


export default function ForgotPasswordClient() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import LoginCard from '@repo/ui/organisms/auth/LoginCard';
import { signIn} from 'next-auth/react';
import { useRouter, useSearchParams } from 'next/navigation';
import { login } from '../../actions/auth/login';
import { DEFAULT_LOGIN_REDIRECT } from '../../routes';
import { login } from '../../../actions/auth/login';
import { DEFAULT_LOGIN_REDIRECT } from '../../../routes';


export default function LoginClient() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"use client"
import RegisterCard from '@repo/ui/organisms/auth/RegisterCard';
import { useRouter } from 'next/navigation';
import { register } from '../../actions/auth/register';
import { register } from '../../../actions/auth/register';
import { signIn,useSession } from 'next-auth/react';
import { DEFAULT_LOGIN_REDIRECT } from '../../routes';
import { DEFAULT_LOGIN_REDIRECT } from '../../../routes';

export default function RegisterClient() {
const router = useRouter();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import { useRouter, useSearchParams } from 'next/navigation';
import { useEffect, useState } from 'react';
import ResetPasswordCard from '@repo/ui/organisms/settings/ResetPasswordCard';
import { resetPassword} from '../../actions/auth/reset-password';
import { verifyResetToken } from '../../actions/auth/verify-reset-token';
import { resetPassword} from '../../../actions/auth/reset-password';
import { verifyResetToken } from '../../../actions/auth/verify-reset-token';
import ErrorCard from '@repo/ui/organisms/auth/ErrorCard';


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import VerificationCard from '@repo/ui/organisms/auth/VerificationCard';
import { useRouter, useSearchParams } from 'next/navigation';
import { useCallback, useEffect, useState } from 'react';
import { newVerification } from '../../actions/auth/new-verification';
import { newVerification } from '../../../actions/auth/new-verification';


export default function VerificationClient() {
Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard-app/app/auth/error/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"
import QuoteClient from '../../../components/auth/QuoteClient';
import ErrorClient from '../../../components/ErrorClient';
import QuoteClient from '../_components/QuoteClient';
import ErrorClient from '../_components/ErrorClient';

export default function page() {

Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard-app/app/auth/forgot-password/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client"

import QuoteClient from '../../../components/auth/QuoteClient';
import ForgotPasswordClient from '../../../components/auth/ForgotPasswordClient';
import QuoteClient from '../_components/QuoteClient';
import ForgotPasswordClient from '../_components/ForgotPasswordClient';
import { Suspense } from 'react';
import LoadingClient from '../../../components/LoadingClient';

Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard-app/app/auth/login/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"
import LoginClient from '../../../components/auth/LoginClient';
import QuoteClient from '../../../components/auth/QuoteClient';
import LoginClient from '../_components/LoginClient';
import QuoteClient from '../_components/QuoteClient';
import { Suspense } from 'react';
import LoadingClient from '../../../components/LoadingClient';

Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard-app/app/auth/new-verification/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client"
import { Suspense } from 'react';
import QuoteClient from '../../../components/auth/QuoteClient';
import VerificationClient from '../../../components/auth/VerificationClient';
import QuoteClient from '../_components/QuoteClient';
import VerificationClient from '../_components/VerificationClient';
import LoadingClient from '../../../components/LoadingClient';

export default function page() {
Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard-app/app/auth/register/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client"

import QuoteClient from '../../../components/auth/QuoteClient';
import RegisterClient from '../../../components/auth/RegisterClient';
import QuoteClient from '../_components/QuoteClient';
import RegisterClient from '../_components/RegisterClient';
import { Suspense } from 'react';
import LoadingClient from '../../../components/LoadingClient';

Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard-app/app/auth/reset-password/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client"

import QuoteClient from '../../../components/auth/QuoteClient';
import ResetPasswordClient from '../../../components/settings/ResetPasswordClient';
import QuoteClient from '../_components/QuoteClient';
import ResetPasswordClient from '../_components/ResetPasswordClient';
import { Suspense } from 'react';
import LoadingClient from '../../../components/LoadingClient';

Expand Down

0 comments on commit f7810d6

Please sign in to comment.