Edit logo, schema

Took 1 hour 58 minutes
This commit is contained in:
Lucàs
2023-03-28 14:00:38 +02:00
parent e3344c5103
commit 28be7ce223
6 changed files with 86 additions and 28 deletions
+18
View File
@@ -0,0 +1,18 @@
import {Card, Text, Flex} from '@chakra-ui/react';
type Props = {
sender: 'me' | 'other'
message: string
}
export default function Message(props: Props) {
const {align, message} = props;
return (
<Flex alignItems={align === "me" ? 'end' : "start"}>
<Card display={'flex'} px={2} py={1} bg={'purple.500'}>
<Text>{message}</Text>
</Card>
</Flex>
);
}
+1 -1
View File
@@ -48,7 +48,7 @@ export default function Navbar({variant = "fixed"}: Props) {
backdropFilter={'auto'} backdropBlur={'20px'} px={10} py={2}>
<Flex align={'center'}>
<Box flexBasis={'100%'}>
<Image src={"/logo.svg"} h={"100px"} objectFit={"contain"}/>
<Image src={"/logo.svg"} h={"3rem"} objectFit={"contain"}/>
</Box>
<Flex gap={5} justify={'center'} flexBasis={'100%'}>
@@ -26,7 +26,7 @@ export default function CardUser(props) {
};
return (
<Card maxW="md" borderRadius={'1rem'} overflow={'hidden'}>
<Card w={"100%"} h={"100%"} borderRadius={'1rem'} overflow={'hidden'}>
<CardHeader>
<Carousel borderRadius={"1rem"} images={interestingUser.images}/>
</CardHeader>