diff --git a/hosting/src/app/(protected)/forms/form-elements/page.tsx b/hosting/src/app/(protected)/forms/form-elements/page.tsx index 8fb2e0e9..0fe1640f 100644 --- a/hosting/src/app/(protected)/forms/form-elements/page.tsx +++ b/hosting/src/app/(protected)/forms/form-elements/page.tsx @@ -43,9 +43,11 @@ const FormElementsPage = () => { - - - + + + + + diff --git a/hosting/src/components/Form/Switcher.tsx b/hosting/src/components/Form/Switcher.tsx index a34dc81a..d01ee698 100644 --- a/hosting/src/components/Form/Switcher.tsx +++ b/hosting/src/components/Form/Switcher.tsx @@ -34,16 +34,20 @@ export function Switcher({ return ( <> - {onIcon && offIcon && } + {onIcon && offIcon && ( + + )} > ); @@ -61,7 +65,11 @@ export function Switcher({ enabled ? "translate-x-full" : "" }`} > - {onIcon && offIcon && } + {onIcon && offIcon && ( + + )} > ); @@ -69,7 +77,7 @@ export function Switcher({ }; return ( - + diff --git a/hosting/src/components/Header/DarkModeSwitcher.tsx b/hosting/src/components/Header/DarkModeSwitcher.tsx index 9e30ae83..529584af 100644 --- a/hosting/src/components/Header/DarkModeSwitcher.tsx +++ b/hosting/src/components/Header/DarkModeSwitcher.tsx @@ -11,15 +11,13 @@ const DarkModeSwitcher = () => { }; return ( - - - + ); }; diff --git a/hosting/src/components/Header/DropdownUser.tsx b/hosting/src/components/Header/DropdownUser.tsx index c09699f5..97bd6e8f 100644 --- a/hosting/src/components/Header/DropdownUser.tsx +++ b/hosting/src/components/Header/DropdownUser.tsx @@ -23,7 +23,7 @@ function DropdownItem({href, icon, label}: DropdownItemProps) { href={href} className="flex items-center gap-3.5 text-sm font-medium duration-300 ease-in-out hover:text-primary lg:text-base" > - + {label} @@ -66,12 +66,12 @@ export default function DropdownUser({displayName, avatar}: DropdownUserProps) { {displayName} - - }> - + + }> + - + {/* */} @@ -91,7 +91,7 @@ export default function DropdownUser({displayName, avatar}: DropdownUserProps) { onClick={signout} className="flex items-center gap-3.5 px-6 py-4 text-sm font-medium duration-300 ease-in-out hover:text-primary lg:text-base" > - + Log Out diff --git a/hosting/src/components/Header/index.tsx b/hosting/src/components/Header/index.tsx index 0f262f02..37b5e5d6 100644 --- a/hosting/src/components/Header/index.tsx +++ b/hosting/src/components/Header/index.tsx @@ -72,7 +72,7 @@ const Header = (props: {sidebarOpen: string | boolean | undefined; setSidebarOpe */} - +