From 9d4f8ff6d2494a1d21a1acf13fc9688b31095fc0 Mon Sep 17 00:00:00 2001 From: joseCorte-exe Date: Fri, 12 Aug 2022 15:16:26 -0300 Subject: [PATCH] changing pld table color --- src/components/graph/graphCard/ChartCard.tsx | 2 +- .../grossAnualChart/GrossAnualChartView.ts | 4 -- src/pages/areaTest.tsx | 48 ------------------- src/pages/pld/index.tsx | 1 - src/styles/layouts/pld/PldView.ts | 4 +- 5 files changed, 3 insertions(+), 56 deletions(-) delete mode 100644 src/pages/areaTest.tsx diff --git a/src/components/graph/graphCard/ChartCard.tsx b/src/components/graph/graphCard/ChartCard.tsx index 578397c..b6d57d0 100644 --- a/src/components/graph/graphCard/ChartCard.tsx +++ b/src/components/graph/graphCard/ChartCard.tsx @@ -11,7 +11,7 @@ interface ChartCardInterface { children?: React.ReactNode } -export default function ChartCard({ title, subtitle, consumption, className, children }: ChartCardInterface) { +export default function GraphCard({ title, subtitle, consumption, className, children }: ChartCardInterface) { return (
diff --git a/src/components/graph/grossAnualChart/GrossAnualChartView.ts b/src/components/graph/grossAnualChart/GrossAnualChartView.ts index 078f017..f50b83d 100644 --- a/src/components/graph/grossAnualChart/GrossAnualChartView.ts +++ b/src/components/graph/grossAnualChart/GrossAnualChartView.ts @@ -3,10 +3,6 @@ import styled from "styled-components" export const GrossAnualChartView = styled.div` width: 90%; - div{ - /* margin-top: 10px; */ - } - @media (max-width: 900px) { min-width: 20rem } diff --git a/src/pages/areaTest.tsx b/src/pages/areaTest.tsx deleted file mode 100644 index dcd051c..0000000 --- a/src/pages/areaTest.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import Box from '@mui/material/Box'; -import FilledInput from '@mui/material/FilledInput'; -import FormControl from '@mui/material/FormControl'; -import FormHelperText from '@mui/material/FormHelperText'; -import IconButton from '@mui/material/IconButton'; -import Input from '@mui/material/Input'; -import InputAdornment from '@mui/material/InputAdornment'; -import InputLabel from '@mui/material/InputLabel'; -import OutlinedInput from '@mui/material/OutlinedInput'; -import TextField from '@mui/material/TextField'; -import Image from 'next/image' -import React from 'react' - -import BasicButton from '../components/buttons/basicButton/BasicButton' -import GradientButton from '../components/buttons/gradientButton/GradientButton' -import Graph from '../components/graph/Chart' -import LineChart from '../components/graph/LineChart' - -// import Footer from '../components/footer/footer' - -export default function areaTest() { - const [values, setValues] = React.useState({ - amount: '', - password: '', - weight: '', - weightRange: '', - showPassword: false, - }); - const handleChange = - (prop) => (event: React.ChangeEvent) => { - setValues({ ...values, [prop]: event.target.value }); - }; - const handleClickShowPassword = () => { - setValues({ - ...values, - showPassword: !values.showPassword, - }); - }; - const handleMouseDownPassword = (event: React.MouseEvent) => { - event.preventDefault(); - }; - - return ( - <> - {/*