diff --git a/pages/_app.tsx b/pages/_app.tsx index 256c4a9e5..6f4ea677d 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -11,7 +11,11 @@ export default function MyApp({ Component, pageProps }: AppProps) { return ( -
+
{authProvider === "clerk" ? ( diff --git a/pages/index.tsx b/pages/index.tsx index cc8db3424..31bb39ca7 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -8,7 +8,7 @@ import { isCanaryUI } from "../src/context/Environment"; const Home: NextPage = () => { return ( -
+
{isCanaryUI ? : }
diff --git a/src/App.tsx b/src/App.tsx index 89904bab3..b61871a24 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -174,7 +174,7 @@ const settingsNav: SettingsNavigationItems = { resourceName: tables.database }, { - name: "Event Queue Status", + name: "Event Queue", href: "/settings/event-queue-status", icon: FaTasks, featureName: features["settings.event_queue_status"], diff --git a/src/components/Layout/SidebarLayout.tsx b/src/components/Layout/SidebarLayout.tsx index 5469e79d6..068fa2ee2 100644 --- a/src/components/Layout/SidebarLayout.tsx +++ b/src/components/Layout/SidebarLayout.tsx @@ -70,7 +70,7 @@ interface NavItemWrapperProps { className?: string; } -const NavItemWrapper = (props: NavItemWrapperProps) => { +function NavItemWrapper(props: NavItemWrapperProps) { const { as: Component = "div", active, children, className } = props; const cls = ({ isActive }: { isActive: boolean }) => @@ -78,7 +78,7 @@ const NavItemWrapper = (props: NavItemWrapperProps) => { active || isActive ? "bg-gray-800 text-gray-100" : "text-gray-200 hover:bg-gray-800 hover:text-gray-100", - "group rounded-md py-3 px-2 flex items-center text-md font-medium", + "group rounded-md py-1.5 px-2 flex items-center text-md font-medium", className ); return Component === "div" ? ( @@ -88,7 +88,8 @@ const NavItemWrapper = (props: NavItemWrapperProps) => { {children} ); -}; +} + function SideNavItem({ name, current = false, @@ -286,16 +287,21 @@ export function SidebarLayout({ navigation, settingsNav, checkPath }: Props) { return ( <> -
+
- +
+ +
);