diff --git a/public/logo/HomepageLogo.png b/public/logo/HomepageLogo.png new file mode 100644 index 0000000..6cb728d Binary files /dev/null and b/public/logo/HomepageLogo.png differ diff --git a/src/app/(main)/projects/page.tsx b/src/app/(main)/projects/page.tsx index 7a7ba3a..a117fa2 100644 --- a/src/app/(main)/projects/page.tsx +++ b/src/app/(main)/projects/page.tsx @@ -2,6 +2,7 @@ // import ProjectSearch from "@/components/ProjectSearch"; // import { getServerI18n } from "@/i18n"; +import {I18nProvider} from "@/i18n"; import { preloadProjects } from "../../../app/api/projects"; import ProjectSearch from "../../../components/ProjectSearch"; import { getServerI18n } from "../../../i18n"; @@ -42,9 +43,11 @@ const Projects: React.FC = async () => { {t("Create Project")} + }> + ); }; diff --git a/src/app/(main)/settings/items/page.tsx b/src/app/(main)/settings/items/page.tsx index 627b34d..97ea0a8 100644 --- a/src/app/(main)/settings/items/page.tsx +++ b/src/app/(main)/settings/items/page.tsx @@ -8,6 +8,7 @@ import Typography from "@mui/material/Typography"; import { Metadata } from "next"; import Link from "next/link"; import { Suspense } from "react"; +import { I18nProvider } from "@/i18n"; export const metadata: Metadata = { title: "Product", @@ -15,7 +16,7 @@ export const metadata: Metadata = { const productSetting: React.FC = async () => { const project = TypeEnum.PRODUCT; - const { t } = await getServerI18n(project); + const { t } = await getServerI18n("project"); // preloadClaims(); return ( @@ -38,9 +39,13 @@ const productSetting: React.FC = async () => { {t("Create product")} */} - }> - - + + + }> + + + + ); }; diff --git a/src/components/LoginPage/LoginPage.tsx b/src/components/LoginPage/LoginPage.tsx index 59fce6e..356d0fb 100644 --- a/src/components/LoginPage/LoginPage.tsx +++ b/src/components/LoginPage/LoginPage.tsx @@ -4,10 +4,22 @@ import LoginForm from "./LoginForm"; import Logo from "../Logo"; import { Box } from "@mui/material"; + const LoginPage = () => { return ( - + + + +