diff --git a/components/home-layouts/Register.tsx b/components/home-layouts/Register.tsx new file mode 100644 index 0000000..eec3591 --- /dev/null +++ b/components/home-layouts/Register.tsx @@ -0,0 +1,56 @@ +import React, { useState } from 'react'; +import { Button } from '@radix-ui/react-button'; +import { SunIcon, MoonIcon } from '@heroicons/react/solid'; +import { useTheme } from 'next-themes'; + +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'); + }; + + return ( +