diff --git a/.babelrc b/.babelrc index 908c4d5..ce3e539 100644 --- a/.babelrc +++ b/.babelrc @@ -1,4 +1,3 @@ { - // "presets": ["@babel/preset-env"], "plugins": [["styled-components", {"ssr": true}]] } diff --git a/src/components/banner/Banner.tsx b/src/components/banner/Banner.tsx index f97b093..0fef8e4 100644 --- a/src/components/banner/Banner.tsx +++ b/src/components/banner/Banner.tsx @@ -12,7 +12,6 @@ interface BannerInterface { export default function Banner({ title, subtitle, imgSource }: BannerInterface) { return ( - {/* */}
diff --git a/src/components/buttons/basicButton/BasicButtonView.ts b/src/components/buttons/basicButton/BasicButtonView.ts index dba8475..26f514a 100644 --- a/src/components/buttons/basicButton/BasicButtonView.ts +++ b/src/components/buttons/basicButton/BasicButtonView.ts @@ -15,7 +15,6 @@ export const BasicButtonView = styled.button` font-family: 'Poppins'; font-size: 90%; - /* identical to box height */ color: #FFFFFF; diff --git a/src/components/buttons/loginButton/LoginButtonView.ts b/src/components/buttons/loginButton/LoginButtonView.ts index 35e9fb7..73b8132 100644 --- a/src/components/buttons/loginButton/LoginButtonView.ts +++ b/src/components/buttons/loginButton/LoginButtonView.ts @@ -20,5 +20,4 @@ export const LoginButtonView = styled.button` cursor: pointer; color: #FFFFFF; - ` diff --git a/src/components/graph/graphCard/ChartCardView.ts b/src/components/graph/graphCard/ChartCardView.ts index d325e49..8649d1d 100644 --- a/src/components/graph/graphCard/ChartCardView.ts +++ b/src/components/graph/graphCard/ChartCardView.ts @@ -8,7 +8,6 @@ export const ChartCardView = styled.article` flex-direction: column; width: 100%; - /* max-width: ; */ height: fit-content; min-height: 34.5rem; diff --git a/src/components/header/Header.tsx b/src/components/header/Header.tsx index 4bc5ffb..ad1ab95 100644 --- a/src/components/header/Header.tsx +++ b/src/components/header/Header.tsx @@ -10,7 +10,6 @@ function stringToColor(string: string) { let hash = 0; let i; - /* eslint-disable no-bitwise */ for (i = 0; i < string.length; i += 1) { hash = string.charCodeAt(i) + ((hash << 5) - hash); } @@ -21,7 +20,6 @@ function stringToColor(string: string) { const value = (hash >> (i * 8)) & 0xff; color += `00${value.toString(16)}`.slice(-2); } - /* eslint-enable no-bitwise */ return color; } diff --git a/src/components/sidebar/SidebarView.ts b/src/components/sidebar/SidebarView.ts index d2d2df8..b3aa4c3 100644 --- a/src/components/sidebar/SidebarView.ts +++ b/src/components/sidebar/SidebarView.ts @@ -126,8 +126,6 @@ export const SidebarView = styled.nav` align-items: flex-start; width: 100%; - /* height: 0%; */ - /* height: ${props => props.modalOpen? '100%' : null}; */ padding: 18px; diff --git a/src/pages/api/hello.js b/src/pages/api/hello.js index df63de8..3a3d037 100644 --- a/src/pages/api/hello.js +++ b/src/pages/api/hello.js @@ -1,4 +1,3 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction export default function handler(req, res) { res.status(200).json({ name: 'John Doe' }) diff --git a/src/styles/layouts/ResumoOperacao/ResumoOperacaoView.ts b/src/styles/layouts/ResumoOperacao/ResumoOperacaoView.ts index f85beb0..f4bffc5 100644 --- a/src/styles/layouts/ResumoOperacao/ResumoOperacaoView.ts +++ b/src/styles/layouts/ResumoOperacao/ResumoOperacaoView.ts @@ -76,34 +76,6 @@ export const TableView = styled.div` 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{ text-align:center; vertical-align:top @@ -117,20 +89,6 @@ export const TableView = styled.div` text-align:center; 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{ font-weight: 600; diff --git a/src/styles/layouts/Telemetria/TelemetriaView.ts b/src/styles/layouts/Telemetria/TelemetriaView.ts index f0ea609..5ec54c7 100644 --- a/src/styles/layouts/Telemetria/TelemetriaView.ts +++ b/src/styles/layouts/Telemetria/TelemetriaView.ts @@ -33,119 +33,14 @@ export const TelemetriaView = styled.main` `; export const Buttons = styled.div` - display: flex; - min-width: 10rem; - cursor: pointer; - margin-top: 5rem; - padding: 1px 60px; - justify-content: space-around; - flex-direction: row; - 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; - } */ - - + display: flex; + min-width: 10rem; + cursor: pointer; + margin-top: 5rem; + padding: 1px 60px; + justify-content: space-around; + flex-direction: row; + height: 6rem; `; diff --git a/src/styles/layouts/dashboard/DashboardView.js b/src/styles/layouts/dashboard/DashboardView.js index 563c0ed..797d060 100644 --- a/src/styles/layouts/dashboard/DashboardView.js +++ b/src/styles/layouts/dashboard/DashboardView.js @@ -48,7 +48,6 @@ export const DashboardView = styled.main` } @media (max-width: 1195px) { - /* align-items: center; */ width: 100%; padding: 30px; margin: 0; diff --git a/src/styles/layouts/login/LoginView.ts b/src/styles/layouts/login/LoginView.ts index edc63de..f0e6db3 100644 --- a/src/styles/layouts/login/LoginView.ts +++ b/src/styles/layouts/login/LoginView.ts @@ -37,8 +37,6 @@ export const LoginContainer = styled.section` width: 40%; margin-left: 60px; - /* padding: 0 0 px 0; */ - border-radius: 10px; background-color: #FFF; diff --git a/src/styles/nprogress/nprogress.css b/src/styles/nprogress/nprogress.css index 633b780..24c88d6 100644 --- a/src/styles/nprogress/nprogress.css +++ b/src/styles/nprogress/nprogress.css @@ -1,4 +1,3 @@ -* Make clicks pass-through */ #nprogress { pointer-events: none; } @@ -15,7 +14,6 @@ height: 2px; } - /* Fancy blur effect */ #nprogress .peg { display: block; position: absolute; @@ -30,7 +28,6 @@ transform: rotate(3deg) translate(0px, -4px); } - /* Remove these to get rid of the spinner */ #nprogress .spinner { display: block; position: fixed;