🔥 remove all comments
This commit is contained in:
parent
af5cc2dd31
commit
ab036e3de4
1
.babelrc
1
.babelrc
@ -1,4 +1,3 @@
|
|||||||
{
|
{
|
||||||
// "presets": ["@babel/preset-env"],
|
|
||||||
"plugins": [["styled-components", {"ssr": true}]]
|
"plugins": [["styled-components", {"ssr": true}]]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,7 +12,6 @@ interface BannerInterface {
|
|||||||
export default function Banner({ title, subtitle, imgSource }: BannerInterface) {
|
export default function Banner({ title, subtitle, imgSource }: BannerInterface) {
|
||||||
return (
|
return (
|
||||||
<BannerView>
|
<BannerView>
|
||||||
{/* <Image src={imgSource} width={1458} height={302} layout='intrinsic' /> */}
|
|
||||||
<Image src={imgSource} layout='fill' />
|
<Image src={imgSource} layout='fill' />
|
||||||
<div className='gradient' />
|
<div className='gradient' />
|
||||||
<div className='text'>
|
<div className='text'>
|
||||||
|
|||||||
@ -15,7 +15,6 @@ export const BasicButtonView = styled.button`
|
|||||||
|
|
||||||
font-family: 'Poppins';
|
font-family: 'Poppins';
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
/* identical to box height */
|
|
||||||
|
|
||||||
|
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
|
|||||||
@ -20,5 +20,4 @@ export const LoginButtonView = styled.button`
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
|
|
||||||
`
|
`
|
||||||
|
|||||||
@ -8,7 +8,6 @@ export const ChartCardView = styled.article`
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
/* max-width: ; */
|
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
min-height: 34.5rem;
|
min-height: 34.5rem;
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,6 @@ function stringToColor(string: string) {
|
|||||||
let hash = 0;
|
let hash = 0;
|
||||||
let i;
|
let i;
|
||||||
|
|
||||||
/* eslint-disable no-bitwise */
|
|
||||||
for (i = 0; i < string.length; i += 1) {
|
for (i = 0; i < string.length; i += 1) {
|
||||||
hash = string.charCodeAt(i) + ((hash << 5) - hash);
|
hash = string.charCodeAt(i) + ((hash << 5) - hash);
|
||||||
}
|
}
|
||||||
@ -21,7 +20,6 @@ function stringToColor(string: string) {
|
|||||||
const value = (hash >> (i * 8)) & 0xff;
|
const value = (hash >> (i * 8)) & 0xff;
|
||||||
color += `00${value.toString(16)}`.slice(-2);
|
color += `00${value.toString(16)}`.slice(-2);
|
||||||
}
|
}
|
||||||
/* eslint-enable no-bitwise */
|
|
||||||
|
|
||||||
return color;
|
return color;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -126,8 +126,6 @@ export const SidebarView = styled.nav<SidebarViewInterface>`
|
|||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
/* height: 0%; */
|
|
||||||
/* height: ${props => props.modalOpen? '100%' : null}; */
|
|
||||||
|
|
||||||
padding: 18px;
|
padding: 18px;
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
|
|
||||||
|
|
||||||
export default function handler(req, res) {
|
export default function handler(req, res) {
|
||||||
res.status(200).json({ name: 'John Doe' })
|
res.status(200).json({ name: 'John Doe' })
|
||||||
|
|||||||
@ -76,34 +76,6 @@ export const TableView = styled.div`
|
|||||||
vertical-align:top
|
vertical-align:top
|
||||||
}
|
}
|
||||||
|
|
||||||
/* h1{
|
|
||||||
color: #000;
|
|
||||||
font-family: Poppins;
|
|
||||||
font-size: 15px;
|
|
||||||
} */
|
|
||||||
/* .tg td{
|
|
||||||
border-color:black;
|
|
||||||
border-style:solid;
|
|
||||||
border-width:1px;
|
|
||||||
font-family:Arial, sans-serif;
|
|
||||||
font-size:14px;
|
|
||||||
overflow:hidden;
|
|
||||||
padding:10px 5px;
|
|
||||||
word-break:normal;
|
|
||||||
|
|
||||||
}
|
|
||||||
.tg th{
|
|
||||||
border-color:black;
|
|
||||||
border-style:solid;
|
|
||||||
border-width:1px;
|
|
||||||
font-family:Arial, sans-serif;
|
|
||||||
font-size:14px;
|
|
||||||
font-weight:normal;
|
|
||||||
overflow:hidden;
|
|
||||||
padding:10px 5px;
|
|
||||||
word-break:normal;
|
|
||||||
} */
|
|
||||||
|
|
||||||
.tg .tg-baqh{
|
.tg .tg-baqh{
|
||||||
text-align:center;
|
text-align:center;
|
||||||
vertical-align:top
|
vertical-align:top
|
||||||
@ -117,20 +89,6 @@ export const TableView = styled.div`
|
|||||||
text-align:center;
|
text-align:center;
|
||||||
vertical-align:top
|
vertical-align:top
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
h1{
|
|
||||||
color: #000;
|
|
||||||
font-family: Poppins;
|
|
||||||
font-size: 15px
|
|
||||||
}
|
|
||||||
h2{
|
|
||||||
color: #969BA0;
|
|
||||||
font-family: Poppins;
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: 400;
|
|
||||||
margin-top: 1px;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
|
|
||||||
h3{
|
h3{
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|||||||
@ -33,119 +33,14 @@ export const TelemetriaView = styled.main`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export const Buttons = styled.div`
|
export const Buttons = styled.div`
|
||||||
display: flex;
|
display: flex;
|
||||||
min-width: 10rem;
|
min-width: 10rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-top: 5rem;
|
margin-top: 5rem;
|
||||||
padding: 1px 60px;
|
padding: 1px 60px;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
height: 6rem;
|
height: 6rem;
|
||||||
|
|
||||||
/*
|
|
||||||
.btnSucess{
|
|
||||||
font-size: 10px;
|
|
||||||
cursor: pointer;
|
|
||||||
background-color: #F48665;
|
|
||||||
border: none;
|
|
||||||
} */
|
|
||||||
|
|
||||||
/* .btnGrafico {
|
|
||||||
box-shadow:inset 0px 34px 0px -15px #F48665;
|
|
||||||
background-color:#F48665;
|
|
||||||
border:none;
|
|
||||||
border-radius: 2px;
|
|
||||||
max-width: 17rem;
|
|
||||||
display:inline-block;
|
|
||||||
cursor:pointer;
|
|
||||||
color:#ffffff;
|
|
||||||
font-family:Arial;
|
|
||||||
font-size:8px;
|
|
||||||
font-weight:900;
|
|
||||||
padding:9px 20px;
|
|
||||||
text-decoration:none;
|
|
||||||
text-shadow:0px -1px 0px #7a2a1d;
|
|
||||||
|
|
||||||
}
|
|
||||||
.btnTitle{
|
|
||||||
font-size: 15px;
|
|
||||||
margin-bottom: 1px;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.title{
|
|
||||||
font-size:20px;
|
|
||||||
}
|
|
||||||
.myButton:hover {
|
|
||||||
background-color:#F48665;
|
|
||||||
}
|
|
||||||
.myButton:active {
|
|
||||||
position:relative;
|
|
||||||
top:1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btndownload{
|
|
||||||
box-shadow:inset 0px 34px 0px -15px #9A56FF;
|
|
||||||
background-color:#9A56FF;
|
|
||||||
border:none;
|
|
||||||
border-radius: 2px;
|
|
||||||
display:inline-block;
|
|
||||||
cursor:pointer;
|
|
||||||
width: 17rem;
|
|
||||||
color:#ffffff;
|
|
||||||
font-family:Arial;
|
|
||||||
font-size:9px;
|
|
||||||
font-weight:900;
|
|
||||||
padding:9px 20px;
|
|
||||||
text-decoration:none;
|
|
||||||
text-shadow:0px -1px 0px #7a2a1d;
|
|
||||||
|
|
||||||
}
|
|
||||||
p{
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
.myButton:hover {
|
|
||||||
background-color:#D78AFD;
|
|
||||||
}
|
|
||||||
.myButton:active {
|
|
||||||
position:relative;
|
|
||||||
/* justify-content: space-between; */
|
|
||||||
/* top:1px;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.btnDados{
|
|
||||||
box-shadow:inset 100% #23BDB8;
|
|
||||||
background-color:#23BDB8;
|
|
||||||
border:none;
|
|
||||||
border-radius: 2px; */
|
|
||||||
/* display:inline-block;
|
|
||||||
width: 17rem;
|
|
||||||
cursor:pointer;
|
|
||||||
color:#ffffff;
|
|
||||||
font-family:Arial;
|
|
||||||
font-size:9px;
|
|
||||||
font-weight:900;
|
|
||||||
padding:9px 20px;
|
|
||||||
text-decoration:none;
|
|
||||||
text-shadow:0px -1px 0px #7a2a1d;
|
|
||||||
|
|
||||||
}
|
|
||||||
p{
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
.myButton:hover {
|
|
||||||
background-color:#23BDB8;
|
|
||||||
}
|
|
||||||
.myButton:active {
|
|
||||||
position:relative;
|
|
||||||
justify-content: space-between;
|
|
||||||
top:1px;
|
|
||||||
} */
|
|
||||||
|
|
||||||
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -48,7 +48,6 @@ export const DashboardView = styled.main`
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1195px) {
|
@media (max-width: 1195px) {
|
||||||
/* align-items: center; */
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
@ -37,8 +37,6 @@ export const LoginContainer = styled.section`
|
|||||||
width: 40%;
|
width: 40%;
|
||||||
margin-left: 60px;
|
margin-left: 60px;
|
||||||
|
|
||||||
/* padding: 0 0 px 0; */
|
|
||||||
|
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
* Make clicks pass-through */
|
|
||||||
#nprogress {
|
#nprogress {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
@ -15,7 +14,6 @@
|
|||||||
height: 2px;
|
height: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fancy blur effect */
|
|
||||||
#nprogress .peg {
|
#nprogress .peg {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -30,7 +28,6 @@
|
|||||||
transform: rotate(3deg) translate(0px, -4px);
|
transform: rotate(3deg) translate(0px, -4px);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remove these to get rid of the spinner */
|
|
||||||
#nprogress .spinner {
|
#nprogress .spinner {
|
||||||
display: block;
|
display: block;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user