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

49
components/Logo/Logo.tsx Normal file
View File

@ -0,0 +1,49 @@
import { Center, Divider, Image, Stack, Title } from "@mantine/core";
type Props = {
title?: string;
};
const Logo = ({ title }: Props) => {
return (
<Stack
align="center"
gap={0}>
<Image
src="/favicon.svg"
alt="LogiDex Logo"
w={80}
/>
<Title
ta={"center"}
order={2}
mt={"md"}>
LogiDex
</Title>
<Title
ta={"center"}
order={5}
mt={"sm"}
style={{ color: "#4AAAC7" }}>
Fulfillment & Delivery
</Title>
{title && (
<Divider
w={"100%"}
mt={"md"}
/>
)}
{title && (
<Center>
<Title
order={4}
my={"md"}>
{title}
</Title>
</Center>
)}
</Stack>
);
};
export default Logo;