From be6ace477426a72ec827711ab1dc62225d52f1c9 Mon Sep 17 00:00:00 2001 From: Yeasir0032 Date: Thu, 27 Jun 2024 09:41:23 +0530 Subject: [PATCH] Bug fixing in Register page for failed Deployment --- components/home-layouts/Register.tsx | 100 ++++++++++++++++++++------- 1 file changed, 74 insertions(+), 26 deletions(-) diff --git a/components/home-layouts/Register.tsx b/components/home-layouts/Register.tsx index eec3591..32dd254 100644 --- a/components/home-layouts/Register.tsx +++ b/components/home-layouts/Register.tsx @@ -1,53 +1,101 @@ -import React, { useState } from 'react'; -import { Button } from '@radix-ui/react-button'; -import { SunIcon, MoonIcon } from '@heroicons/react/solid'; -import { useTheme } from 'next-themes'; +import React, { useState } from "react"; +import { useTheme } from "next-themes"; -const backgroundImageUrl = 'https://source.unsplash.com/random/1920x1080'; // Replace with desired URL from Unsplash +const backgroundImageUrl = "https://source.unsplash.com/random/1920x1080"; // Replace with desired URL from Unsplash const RegisterPage: React.FC = () => { const { theme, setTheme } = useTheme(); const toggleTheme = () => { - setTheme(theme === 'dark' ? 'light' : 'dark'); + setTheme(theme === "dark" ? "light" : "dark"); }; return ( -
-
- -
+
+
-

Create an account

+

+ Create an account +

- - + +
- - + +
- - + +
- - + +
- +
- +
);