Skip to content

Commit

Permalink
fix page login layout
Browse files Browse the repository at this point in the history
  • Loading branch information
karenyov committed Apr 8, 2023
1 parent a96c5c0 commit 6e035bb
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 11 deletions.
10 changes: 5 additions & 5 deletions src/components/tables/HistoryAllByRegisterTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,35 +54,35 @@ export default function HistoryAllByRegisterTable({ registerId }: Props) {
const columns = [
{
name: "Período",
selector: (row: any) => row.period,
selector: (row: HistoryDTO) => row.period,
},
{
name: "Crédito",
selector: (row: any) =>
selector: (row: HistoryDTO) =>
new Intl.NumberFormat("pt-br", {
style: "currency",
currency: "BRL",
}).format(Number(row.totalDebt)),
},
{
name: "Débito",
selector: (row: any) =>
selector: (row: HistoryDTO) =>
new Intl.NumberFormat("pt-br", {
style: "currency",
currency: "BRL",
}).format(Number(row.totalDebt)),
},
{
name: "Saldo",
selector: (row: any) =>
selector: (row: HistoryDTO) =>
new Intl.NumberFormat("pt-br", {
style: "currency",
currency: "BRL",
}).format(Number(row.balanceCredit)),
},
{
name: "Deletar",
selector: (row: any) =>
selector: (row: HistoryDTO) =>
row.financialHistoryId && (
<IconButton
size="md"
Expand Down
29 changes: 23 additions & 6 deletions src/pages/remember-password/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
import Image from "next/image";
import { useRouter } from "next/router";

import { Container, Show, Stack, Text, useToast } from "@chakra-ui/react";
import {
Container,
Show,
Stack,
Text,
useToast,
Flex,
Box,
} from "@chakra-ui/react";

import { FiMail } from "react-icons/fi";

Expand All @@ -11,6 +19,7 @@ import { z } from "zod";

import MaskedInput from "react-text-mask";
import emailMask from "text-mask-addons/dist/emailMask";
import Link from "next/link";

import PanelRightBrand from "@/components/template/PanelRightBrand";
import { Input } from "@/components/Input";
Expand Down Expand Up @@ -74,11 +83,19 @@ export default function RememberPassword() {
<Container p={15}>
<Stack spacing={4} alignItems="center" mt={90}>
<Show below="md">
<Image
src={logo}
alt="Brand Image"
style={{ height: "auto", width: "60%", marginBottom: "20px" }}
/>
<Box textAlign="center" w="70%">
<Link href="/">
<Image
src={logo}
alt="Brand Image"
style={{
height: "auto",
width: "100%",
marginBottom: "20px",
}}
/>
</Link>
</Box>
</Show>
<Text as="b" fontSize="3xl" mb={5}>
Esqueceu a senha?
Expand Down

0 comments on commit 6e035bb

Please sign in to comment.