Skip to content

Commit

Permalink
Format code with prettier
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 6b9bd75 according to the output
from prettier.

Details: https://deepsource.io/gh/david-franca-algetec/algetec_platform_front/transform/5d71ff37-1660-46e4-9e3b-e23937f0f789/
  • Loading branch information
deepsource-autofix[bot] committed Jan 13, 2023
1 parent 6b9bd75 commit 6a1dc63
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 59 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@

# Algetec Plataforma

Dashboard e gerenciamento dos laboratórios, disciplinas, clientes e usuários relacionados a Algetec.


## Variáveis de Ambiente

Para rodar esse projeto, você vai precisar adicionar as seguintes variáveis de ambiente no seu .env

`VITE_API_URL`


## Stack utilizada

**Front-end:** React, Redux Toolkit, Stitches, Typescript



## Autores

- [@david-franca](https://www.github.com/david-franca)
11 changes: 1 addition & 10 deletions src/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
export { Text, Title } from './text';
export { Button } from './button';
export {
Box,
Flex,
Grid,
Stack,
Inline,
Center,
AbsoluteCenter,
Container,
} from './box';
export { Box, Flex, Grid, Stack, Inline, Center, AbsoluteCenter, Container } from './box';
export { DashboardComponent } from './Dashboard';
export { Footer } from './Footer';
export { Header } from './Header';
Expand Down
64 changes: 32 additions & 32 deletions src/pages/Assets/styles.ts
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
import { styled } from "../../config/styles/stitches.config";
import { styled } from '../../config/styles/stitches.config';

const Root = styled("table", {
width: "100%",
borderCollapse: "collapse",
const Root = styled('table', {
width: '100%',
borderCollapse: 'collapse',
borderSpacing: 0,
border: "1px solid $secondary",
borderRadius: "4px",
overflow: "hidden",
border: '1px solid $secondary',
borderRadius: '4px',
overflow: 'hidden',
});

const Head = styled("thead", {
backgroundColor: "$secondary",
color: "$tertiary",
fontSize: "14px",
fontWeight: "bold",
textAlign: "left",
const Head = styled('thead', {
backgroundColor: '$secondary',
color: '$tertiary',
fontSize: '14px',
fontWeight: 'bold',
textAlign: 'left',
});

const Body = styled("tbody", {
backgroundColor: "$tertiary",
color: "$secondary",
fontSize: "14px",
fontWeight: "normal",
textAlign: "left",
const Body = styled('tbody', {
backgroundColor: '$tertiary',
color: '$secondary',
fontSize: '14px',
fontWeight: 'normal',
textAlign: 'left',
});

const Row = styled("tr", {
padding: "10px 0",
borderBottom: "1px solid $secondary",
"&:last-child": {
borderBottom: "none",
const Row = styled('tr', {
padding: '10px 0',
borderBottom: '1px solid $secondary',
'&:last-child': {
borderBottom: 'none',
},
});

const Header = styled("th", {
padding: "10px 0",
borderBottom: "1px solid $secondary",
const Header = styled('th', {
padding: '10px 0',
borderBottom: '1px solid $secondary',
});

export const Box = styled("div", {});
export const Box = styled('div', {});

export const Container = styled("div", {
height: "100vh",
width: "100vw",
background: "$background",
export const Container = styled('div', {
height: '100vh',
width: '100vw',
background: '$background',
});

export const Table = {
Expand Down
24 changes: 12 additions & 12 deletions src/pages/Error/styles.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { styled } from "../../config/styles/stitches.config";
import { styled } from '../../config/styles/stitches.config';

export const ErrorContainer = styled("div", {
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
height: "100vh",
width: "100vw",
background: "$background",
export const ErrorContainer = styled('div', {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
height: '100vh',
width: '100vw',
background: '$background',

"& img": {
width: "100%",
maxWidth: "400px",
'& img': {
width: '100%',
maxWidth: '400px',
},
});

0 comments on commit 6a1dc63

Please sign in to comment.