diff --git a/public/assets/icons/sign-out.png b/public/assets/icons/sign-out.png new file mode 100644 index 0000000..2d02c37 Binary files /dev/null and b/public/assets/icons/sign-out.png differ diff --git a/public/assets/icons/signout.png b/public/assets/icons/signout.png new file mode 100644 index 0000000..04d7ffc Binary files /dev/null and b/public/assets/icons/signout.png differ diff --git a/src/app/(auth)/sign-out/page.jsx b/src/app/(auth)/sign-out/page.jsx index 01e332c..3a5d3d8 100644 --- a/src/app/(auth)/sign-out/page.jsx +++ b/src/app/(auth)/sign-out/page.jsx @@ -9,11 +9,9 @@ import { signOut } from "next-auth/react"; const SignOut = () => { return (
- + - - Sign Out - + Sign Out
@@ -22,10 +20,16 @@ const SignOut = () => {
{ alt="Ellipse" height={100} width={24} - className="fixed min-[1536px]:hidden -z-10 w-[80rem] h-[75rem] left-[-20rem] top-[5rem] opacity-60 mdxs:block lg:block hidden " + className="fixed min-[1680px]:hidden -z-10 w-[80rem] h-[75rem] left-[-20rem] top-[5rem] opacity-60 mdxs:block lg:block hidden " /> Ellipse Ellipse -
+
); }; diff --git a/src/app/(auth)/sign-up/page.jsx b/src/app/(auth)/sign-up/page.jsx index 8cc1f75..a83946a 100644 --- a/src/app/(auth)/sign-up/page.jsx +++ b/src/app/(auth)/sign-up/page.jsx @@ -12,23 +12,23 @@ function Page() { alt="Ellipse" height={100} width={24} - className="fixed min-[1536px]:hidden -z-10 w-[80rem] h-[75rem] left-[-20rem] top-[5rem] opacity-60 lg:block hidden " + className="fixed min-[1680px]:hidden -z-10 w-[80rem] h-[75rem] left-[-20rem] top-[5rem] opacity-60 lg:block hidden " /> Ellipse Ellipse -
+
); } diff --git a/src/app/(auth)/verifyemail/page.jsx b/src/app/(auth)/verifyemail/page.jsx index 9e682d0..3ac5050 100644 --- a/src/app/(auth)/verifyemail/page.jsx +++ b/src/app/(auth)/verifyemail/page.jsx @@ -82,7 +82,7 @@ const EmailVerificationPage = async (props) => { ) : ( <>
- + Opps.. Something Went Wrong! diff --git a/src/app/learning-paths/[domain]/[id]/page.jsx b/src/app/learning-paths/[domain]/[id]/page.jsx index 35e2d27..dbfa2ab 100644 --- a/src/app/learning-paths/[domain]/[id]/page.jsx +++ b/src/app/learning-paths/[domain]/[id]/page.jsx @@ -6,6 +6,7 @@ import LearningPathHeader from "@/components/learningPath/LearningPathHeader"; import LearningPathActions from "@/components/learningPath/LearningPathActions"; import { calculateProgress } from "@/data/dashboard"; import { getLearningPathData } from "@/data/learning-paths"; +import Navbar from "@/components/ui/Navbar"; const page = async ({ params }) => { const session = await getServerSession(authOptions); @@ -17,6 +18,7 @@ const page = async ({ params }) => { await calculateProgress(learningPathData, session); return ( <> + { const EditPage = async ({ params }) => { const learningPathData = await getLearningPathData(params.id); return ( -
+
{/* Background */} - + LOGIN diff --git a/src/components/auth/sign-up/register-form.jsx b/src/components/auth/sign-up/register-form.jsx index 3d87aff..d1e2d78 100644 --- a/src/components/auth/sign-up/register-form.jsx +++ b/src/components/auth/sign-up/register-form.jsx @@ -62,81 +62,85 @@ export default function RegisterForm() { return (
- + - Create Account + + REGISTER + -
- +
+ + {errors.name && ( +

{errors.name}

)} - /> - {errors.name && ( -

{errors.name}

- )} -
-
- +
+ + {errors.email && ( +

{errors.email}

)} - /> - {errors.email && ( -

{errors.email}

- )} -
-
- setShowPassword((prev) => !prev)} - placeholder="Password" - type={showPassword ? "text" : "password"} - value={values.password} - onChange={handleChange} - onBlur={handleBlur} - className={cn(`${errors.password && "border-red-500"}`)} - /> - {errors.password && ( -

{errors.password}

- )} -
-
- setShowConfirmPassword((prev) => !prev)} - value={values.confirmPassword} - onChange={handleChange} - onBlur={handleBlur} - className={cn(`${errors.confirmPassword && "border-red-500"}`)} - /> - {errors.confirmPassword && ( -

{errors.confirmPassword}

- )} +
+
+ setShowPassword((prev) => !prev)} + placeholder="Password" + type={showPassword ? "text" : "password"} + value={values.password} + onChange={handleChange} + onBlur={handleBlur} + className={cn(`${errors.password && "border-red-500"}`)} + /> + {errors.password && ( +

{errors.password}

+ )} +
+
+ setShowConfirmPassword((prev) => !prev)} + value={values.confirmPassword} + onChange={handleChange} + onBlur={handleBlur} + className={cn(`${errors.confirmPassword && "border-red-500"}`)} + /> + {errors.confirmPassword && ( +

{errors.confirmPassword}

+ )} +
diff --git a/src/components/learningPath/LearningPathHeader.jsx b/src/components/learningPath/LearningPathHeader.jsx index 326ac50..f44cbb6 100644 --- a/src/components/learningPath/LearningPathHeader.jsx +++ b/src/components/learningPath/LearningPathHeader.jsx @@ -14,7 +14,7 @@ const LearningPathHeader = ({ }) => { return ( <> -
+
{ className="space-y-2 w-full sm:w-96 sm:rounded-2xl rounded-none sm:border-solid border-none" onSubmit={handleSubmit} > - + {