mirror of
https://github.com/LucasVbr/meeting-app.git
synced 2026-07-09 06:58:06 +00:00
fix(left panel bug and delete image): left panel bug and delete image
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 9.9 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 9.9 KiB |
@@ -1,4 +1,13 @@
|
|||||||
import { Card, Flex, Box, Image, Text, Spacer } from "@chakra-ui/react";
|
import {
|
||||||
|
Card,
|
||||||
|
Flex,
|
||||||
|
Box,
|
||||||
|
Image,
|
||||||
|
Text,
|
||||||
|
Spacer,
|
||||||
|
VStack,
|
||||||
|
Divider,
|
||||||
|
} from "@chakra-ui/react";
|
||||||
import { useRouter } from "next/router";
|
import { useRouter } from "next/router";
|
||||||
|
|
||||||
import { AiFillMessage } from "react-icons/ai";
|
import { AiFillMessage } from "react-icons/ai";
|
||||||
@@ -28,8 +37,8 @@ export default function LeftPanel(props) {
|
|||||||
<Flex direction={"column"} height={"100%"} margin={"10%"}>
|
<Flex direction={"column"} height={"100%"} margin={"10%"}>
|
||||||
<Box>
|
<Box>
|
||||||
<Image src={user.images[0]} borderRadius={"1rem"} />
|
<Image src={user.images[0]} borderRadius={"1rem"} />
|
||||||
<Box mt={"1rem"}>
|
<Box mt={"2rem"}>
|
||||||
<Flex align={"center"} justifyContent="space-between">
|
<Flex align={"center"} justifyContent="space-between" mb={"1rem"}>
|
||||||
<Text fontSize={"1.5rem"} fontWeight={"bold"}>
|
<Text fontSize={"1.5rem"} fontWeight={"bold"}>
|
||||||
{user.firstName} {user.lastName}
|
{user.firstName} {user.lastName}
|
||||||
</Text>
|
</Text>
|
||||||
@@ -37,7 +46,8 @@ export default function LeftPanel(props) {
|
|||||||
{formateDate(user.birthdate)}
|
{formateDate(user.birthdate)}
|
||||||
</Text>
|
</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
<Text mt={"3rem"} as="i" fontWeight={"bold"}>
|
<Divider colorScheme={"purple"} mb={"1rem"} />
|
||||||
|
<Text as="i" fontWeight={"bold"}>
|
||||||
"{user.bio}"
|
"{user.bio}"
|
||||||
</Text>
|
</Text>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
Reference in New Issue
Block a user