feat: login form as a client component, theme toggle

This commit is contained in:
2025-07-17 16:49:46 +04:00
parent 0de352c323
commit 39b4d36a82
44 changed files with 14445 additions and 1 deletions

16
test-utils/render.tsx Normal file
View File

@ -0,0 +1,16 @@
import { render as testingLibraryRender } from "@testing-library/react";
import { MantineProvider } from "@mantine/core";
import { darkTheme } from "@/theme";
import React from "react";
export function render(ui: React.ReactNode) {
return testingLibraryRender(<>{ui}</>, {
wrapper: ({ children }: { children: React.ReactNode }) => (
<MantineProvider
theme={darkTheme}
env="test">
{children}
</MantineProvider>
),
});
}