Merge branch 'fix/fixAllCode' into 'dev'
🚑 fix code See merge request kluppsoftware/smart-energia-web!19
This commit is contained in:
commit
613fb36ea0
@ -2,6 +2,7 @@ import React from 'react'
|
|||||||
|
|
||||||
import Chart from '../src/components/graph/Chart'
|
import Chart from '../src/components/graph/Chart'
|
||||||
import Header from '../src/components/header/Header'
|
import Header from '../src/components/header/Header'
|
||||||
|
import PageTitle from '../src/components/pageTitle/PageTitle'
|
||||||
|
|
||||||
import { AccumulatedSavingsView } from '../styles/layouts/economy/accumulatedSavings/AccumulatedSavingsView'
|
import { AccumulatedSavingsView } from '../styles/layouts/economy/accumulatedSavings/AccumulatedSavingsView'
|
||||||
|
|
||||||
@ -9,10 +10,7 @@ export default function AccumulatedSavings() {
|
|||||||
return (
|
return (
|
||||||
<AccumulatedSavingsView>
|
<AccumulatedSavingsView>
|
||||||
<Header name='' />
|
<Header name='' />
|
||||||
<section>
|
<PageTitle title='Economia Acumulada' subtitle='Economia Bruta Estimada e Acumulada anual (Valores em R$ mil)' />
|
||||||
<h1>Economia Acumulada</h1>
|
|
||||||
<span>Economia Bruta Estimada e Acumulada anual (Valores em R$ mil)</span>
|
|
||||||
</section>
|
|
||||||
<section>
|
<section>
|
||||||
<Chart title='Indicador de custo' />
|
<Chart title='Indicador de custo' />
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@ -1,16 +1,14 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import Chart from '../src/components/graph/Chart'
|
import Chart from '../src/components/graph/Chart'
|
||||||
import Header from '../src/components/header/Header'
|
import Header from '../src/components/header/Header'
|
||||||
|
import PageTitle from '../src/components/pageTitle/PageTitle'
|
||||||
import { ConsumptionView } from '../styles/layouts/consumption/ConsumptionView'
|
import { ConsumptionView } from '../styles/layouts/consumption/ConsumptionView'
|
||||||
|
|
||||||
export default function Consumption() {
|
export default function Consumption() {
|
||||||
return (
|
return (
|
||||||
<ConsumptionView>
|
<ConsumptionView>
|
||||||
<Header name='' />
|
<Header name='' />
|
||||||
<section>
|
<PageTitle title='Consumo' subtitle='Análise de Consumo'/>
|
||||||
<h1>Consumo</h1>
|
|
||||||
<span>Análise de Consumo</span>
|
|
||||||
</section>
|
|
||||||
<section>
|
<section>
|
||||||
<Chart title='Indicador de custo' />
|
<Chart title='Indicador de custo' />
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@ -2,16 +2,14 @@ import React from 'react'
|
|||||||
|
|
||||||
import Chart from '../src/components/graph/Chart'
|
import Chart from '../src/components/graph/Chart'
|
||||||
import Header from '../src/components/header/Header'
|
import Header from '../src/components/header/Header'
|
||||||
|
import PageTitle from '../src/components/pageTitle/PageTitle'
|
||||||
import { CostIndicatorView } from '../styles/layouts/economy/costIndicator/CostIndicatorView'
|
import { CostIndicatorView } from '../styles/layouts/economy/costIndicator/CostIndicatorView'
|
||||||
|
|
||||||
export default function CostIndicator() {
|
export default function CostIndicator() {
|
||||||
return (
|
return (
|
||||||
<CostIndicatorView>
|
<CostIndicatorView>
|
||||||
<Header name='' />
|
<Header name='' />
|
||||||
<section>
|
<PageTitle title='Indicador de Custo' subtitle='Valores em R$/MWh'/>
|
||||||
<h1>Indicador de Custo</h1>
|
|
||||||
<span>Valores em R$/MWh</span>
|
|
||||||
</section>
|
|
||||||
<section>
|
<section>
|
||||||
<Chart title='Indicador de custo' />
|
<Chart title='Indicador de custo' />
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@ -3,12 +3,14 @@ import React from 'react'
|
|||||||
import { DashboardView } from '../styles/layouts/dashboard/DashboardView'
|
import { DashboardView } from '../styles/layouts/dashboard/DashboardView'
|
||||||
import MapCard from '../src/components/mapCard/MapCard'
|
import MapCard from '../src/components/mapCard/MapCard'
|
||||||
import GraphCard from '../src/components/graph/graphCard/ChartCard'
|
import GraphCard from '../src/components/graph/graphCard/ChartCard'
|
||||||
|
import Header from '../src/components/header/Header'
|
||||||
|
import PageTitle from '../src/components/pageTitle/PageTitle'
|
||||||
|
|
||||||
export default function Dashboard() {
|
export default function Dashboard() {
|
||||||
return (
|
return (
|
||||||
<DashboardView>
|
<DashboardView>
|
||||||
<h1>Visão Geral</h1>
|
<Header name='' />
|
||||||
<span>Bem Vindo a Smart Energia</span>
|
<PageTitle title='Visão Geral' subtitle='Bem Vindo a Smart Energia' />
|
||||||
<section className="cardsSection" >
|
<section className="cardsSection" >
|
||||||
<MapCard title='R$/MWh' subtitle='abril / 22' statistic='' imgSource='/moneyIcon.svg' />
|
<MapCard title='R$/MWh' subtitle='abril / 22' statistic='' imgSource='/moneyIcon.svg' />
|
||||||
<MapCard title='SE/CO' subtitle='Sudeste' statistic='R$ 273,54' imgSource='/mapSample.svg' />
|
<MapCard title='SE/CO' subtitle='Sudeste' statistic='R$ 273,54' imgSource='/mapSample.svg' />
|
||||||
|
|||||||
@ -2,6 +2,7 @@ import React from 'react'
|
|||||||
|
|
||||||
import Chart from '../src/components/graph/Chart'
|
import Chart from '../src/components/graph/Chart'
|
||||||
import Header from '../src/components/header/Header'
|
import Header from '../src/components/header/Header'
|
||||||
|
import PageTitle from '../src/components/pageTitle/PageTitle'
|
||||||
|
|
||||||
import { EstimatedCostView } from '../styles/layouts/economy/estimatedCost/EstimatedCostView'
|
import { EstimatedCostView } from '../styles/layouts/economy/estimatedCost/EstimatedCostView'
|
||||||
|
|
||||||
@ -9,10 +10,7 @@ export default function EstimatedCost() {
|
|||||||
return (
|
return (
|
||||||
<EstimatedCostView>
|
<EstimatedCostView>
|
||||||
<Header name='' />
|
<Header name='' />
|
||||||
<section>
|
<PageTitle title='Custos Estimados' subtitle='Comparativo de Custo Estimado' />
|
||||||
<h1>Custo Estimado</h1>
|
|
||||||
<span>Comparativo de Custo Estimado</span>
|
|
||||||
</section>
|
|
||||||
<section>
|
<section>
|
||||||
<Chart title='Indicador de custo' />
|
<Chart title='Indicador de custo' />
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@ -2,6 +2,7 @@ import React from 'react'
|
|||||||
|
|
||||||
import Chart from '../src/components/graph/Chart'
|
import Chart from '../src/components/graph/Chart'
|
||||||
import Header from '../src/components/header/Header'
|
import Header from '../src/components/header/Header'
|
||||||
|
import PageTitle from '../src/components/pageTitle/PageTitle'
|
||||||
|
|
||||||
import { GrossSavingsView } from '../styles/layouts/economy/grossSavings/GrossSavings'
|
import { GrossSavingsView } from '../styles/layouts/economy/grossSavings/GrossSavings'
|
||||||
|
|
||||||
@ -9,10 +10,7 @@ export default function GrossSavings() {
|
|||||||
return (
|
return (
|
||||||
<GrossSavingsView>
|
<GrossSavingsView>
|
||||||
<Header name='' />
|
<Header name='' />
|
||||||
<section>
|
<PageTitle title='Economia Bruta' subtitle='Economia Bruta Estimada e Acumulada anual (Valores em R$ mil)' />
|
||||||
<h1>Economia Bruta</h1>
|
|
||||||
<span>Economia Bruta Estimada e Acumulada anual (Valores em R$ mil)</span>
|
|
||||||
</section>
|
|
||||||
<section>
|
<section>
|
||||||
<Chart title='Indicador de custo' />
|
<Chart title='Indicador de custo' />
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@ -1,21 +1,19 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import Header from '../src/components/header/Header';
|
||||||
|
import PageTitle from '../src/components/pageTitle/PageTitle';
|
||||||
import Sidebar from '../src/components/sidebar/Sidebar';
|
import Sidebar from '../src/components/sidebar/Sidebar';
|
||||||
|
|
||||||
import { TableView} from '../styles/layouts/resumoOperacao/ResumoOperacaoView';
|
import { TableView } from '../styles/layouts/ResumoOperacao/ResumoOperacaoView';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default function ResumoOperacao() {
|
export default function ResumoOperacao() {
|
||||||
return(
|
return(
|
||||||
|
|
||||||
|
|
||||||
<TableView>
|
<TableView>
|
||||||
<h1>Resumo de Operaçoes</h1>
|
<Header name='' />
|
||||||
<h2>Operações detalhadas</h2>
|
<PageTitle title='Resumo de Operaçoes' subtitle='Operações detalhadas' />
|
||||||
<h3>Seletor Mês</h3>
|
|
||||||
|
|
||||||
|
<h3>Seletor Mês</h3>
|
||||||
<table className="tg">
|
<table className="tg">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th className='tg-8oo6'>Unidade </th>
|
<th className='tg-8oo6'>Unidade </th>
|
||||||
<th className='tg-8oo6'>Operação</th>
|
<th className='tg-8oo6'>Operação</th>
|
||||||
@ -24,8 +22,8 @@ export default function ResumoOperacao() {
|
|||||||
<th className='tg-8oo6'>Preço(R$/MWh)</th>
|
<th className='tg-8oo6'>Preço(R$/MWh)</th>
|
||||||
<th className='tg-8oo6'>ValorNF/Crédito(R$)</th>
|
<th className='tg-8oo6'>ValorNF/Crédito(R$)</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td className='tg-gceh'>Unidade - 9500130</td>
|
<td className='tg-gceh'>Unidade - 9500130</td>
|
||||||
<td className='tg-uulg'>Compra</td>
|
<td className='tg-uulg'>Compra</td>
|
||||||
@ -74,11 +72,8 @@ export default function ResumoOperacao() {
|
|||||||
<td className='tg-0tzy'>300,36</td>
|
<td className='tg-0tzy'>300,36</td>
|
||||||
<td className='tg-hq65'>5.965,95</td>
|
<td className='tg-hq65'>5.965,95</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
</TableView>
|
</TableView>
|
||||||
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
public/assets/png/copel.png
Normal file
BIN
public/assets/png/copel.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
BIN
public/assets/png/copel.xcf
Normal file
BIN
public/assets/png/copel.xcf
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
@ -1,5 +1,5 @@
|
|||||||
import styled from "styled-components"
|
import styled from "styled-components"
|
||||||
|
|
||||||
export const ChartView = styled.div`
|
export const ChartView = styled.div`
|
||||||
width: 100%;
|
width: 80%;
|
||||||
`
|
`
|
||||||
|
|||||||
@ -5,6 +5,7 @@ import ToggleButton from '@mui/material/ToggleButton';
|
|||||||
import ToggleButtonGroup from '@mui/material/ToggleButtonGroup';
|
import ToggleButtonGroup from '@mui/material/ToggleButtonGroup';
|
||||||
|
|
||||||
import { ChartCardView } from './ChartCardView';
|
import { ChartCardView } from './ChartCardView';
|
||||||
|
import Chart from '../Chart';
|
||||||
|
|
||||||
interface ChartCardInterface {
|
interface ChartCardInterface {
|
||||||
title: string,
|
title: string,
|
||||||
@ -28,7 +29,7 @@ export default function ChartCard({ title, subtitle, consumption, className }: C
|
|||||||
<div className='content' >
|
<div className='content' >
|
||||||
<div className='header'>
|
<div className='header'>
|
||||||
<div>
|
<div>
|
||||||
<h4>{title}</h4>
|
<h2>{title}</h2>
|
||||||
<span>{subtitle}</span>
|
<span>{subtitle}</span>
|
||||||
</div>
|
</div>
|
||||||
<ToggleButtonGroup
|
<ToggleButtonGroup
|
||||||
@ -63,7 +64,7 @@ export default function ChartCard({ title, subtitle, consumption, className }: C
|
|||||||
<></>
|
<></>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
<div className='graph' />
|
<Chart title='' />
|
||||||
</ChartCardView>
|
</ChartCardView>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -53,7 +53,7 @@ export default function Header({ name }: headerInterface) {
|
|||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<Image src='/copel.svg' width={150} height={150} />
|
<Image src='/assets/png/copel.png' width={150} height={50} />
|
||||||
<div className='icon' >
|
<div className='icon' >
|
||||||
olá, {'josé'}
|
olá, {'josé'}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -2,22 +2,22 @@ import styled from "styled-components";
|
|||||||
|
|
||||||
export const HeaderView = styled.header`
|
export const HeaderView = styled.header`
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
flex-direction: row;
|
|
||||||
|
|
||||||
height: 10rem;
|
margin: 0 0 75px 0;
|
||||||
|
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
section {
|
section {
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
|
|
||||||
:first-child {
|
|
||||||
width: 30%;
|
width: 30%;
|
||||||
|
|
||||||
|
|
||||||
|
:last-child {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: flex-start;
|
||||||
|
|
||||||
|
height: fit-content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ export const HeaderView = styled.header`
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
width: 150px;
|
width: 150px;
|
||||||
height: 43px;
|
height: 40px;
|
||||||
|
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
|
||||||
@ -41,11 +41,20 @@ export const HeaderView = styled.header`
|
|||||||
::after {
|
::after {
|
||||||
content: "";
|
content: "";
|
||||||
position: relative;
|
position: relative;
|
||||||
left: 40px;
|
left: 2.5rem;
|
||||||
background-color: #FFF;
|
background-color: #fff;
|
||||||
width: 45px;
|
width: 45px;
|
||||||
height: 45px;
|
height: 45px;
|
||||||
border-radius: 100%;
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1020px) {
|
||||||
|
.icon {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
section {
|
||||||
|
width: 50%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import { MapCardView } from './style'
|
|||||||
interface MapCardInterface {
|
interface MapCardInterface {
|
||||||
title: string,
|
title: string,
|
||||||
subtitle: string,
|
subtitle: string,
|
||||||
statistic: string,
|
statistic?: string,
|
||||||
imgSource: string,
|
imgSource: string,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -18,8 +18,15 @@ export default function MapCard({ title, subtitle, statistic, imgSource }: MapCa
|
|||||||
<h4>{title}</h4>
|
<h4>{title}</h4>
|
||||||
<span>{subtitle}</span>
|
<span>{subtitle}</span>
|
||||||
<article>
|
<article>
|
||||||
|
{
|
||||||
|
statistic?
|
||||||
|
<>
|
||||||
<Image src="/graphLineIcon.svg" width={20} height={20} />
|
<Image src="/graphLineIcon.svg" width={20} height={20} />
|
||||||
<p>{statistic}</p>
|
<p>{statistic}</p>
|
||||||
|
</>
|
||||||
|
:
|
||||||
|
null
|
||||||
|
}
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
</MapCardView>
|
</MapCardView>
|
||||||
|
|||||||
@ -9,6 +9,11 @@ export const MapCardView = styled.figure`
|
|||||||
|
|
||||||
margin-right: 25px;
|
margin-right: 25px;
|
||||||
|
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
}
|
}
|
||||||
|
|||||||
16
src/components/pageTitle/PageTitle.tsx
Normal file
16
src/components/pageTitle/PageTitle.tsx
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
import React from 'react'
|
||||||
|
import { PageTitleView } from './PageTitleView'
|
||||||
|
|
||||||
|
interface PageTitleInterface {
|
||||||
|
title: string,
|
||||||
|
subtitle: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function PageTitle({ title, subtitle }: PageTitleInterface) {
|
||||||
|
return (
|
||||||
|
<PageTitleView>
|
||||||
|
<h1>{title}</h1>
|
||||||
|
<p>{subtitle}</p>
|
||||||
|
</PageTitleView>
|
||||||
|
)
|
||||||
|
}
|
||||||
27
src/components/pageTitle/PageTitleView.ts
Normal file
27
src/components/pageTitle/PageTitleView.ts
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
import styled from "styled-components";
|
||||||
|
|
||||||
|
export const PageTitleView = styled.div`
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: flex-start;
|
||||||
|
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
font-family: 'Poppins';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 18px;
|
||||||
|
line-height: 27px;
|
||||||
|
|
||||||
|
color: #969BA0;
|
||||||
|
}
|
||||||
|
`
|
||||||
@ -1,9 +1,9 @@
|
|||||||
import React, { useState } from 'react'
|
import React, { useState, useEffect } from 'react'
|
||||||
import Image from 'next/image'
|
|
||||||
import { useRouter } from 'next/router'
|
import { useRouter } from 'next/router'
|
||||||
|
import Image from 'next/image'
|
||||||
|
import Link from 'next/link'
|
||||||
|
|
||||||
import { SidebarView } from './SidebarView'
|
import { SidebarView } from './SidebarView'
|
||||||
import Link from 'next/link'
|
|
||||||
|
|
||||||
export default function Sidebar() {
|
export default function Sidebar() {
|
||||||
const [ economiaDrawer, setEconomiaDrawer ] = useState(false)
|
const [ economiaDrawer, setEconomiaDrawer ] = useState(false)
|
||||||
@ -12,7 +12,9 @@ export default function Sidebar() {
|
|||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|
||||||
console.log(router.pathname)
|
useEffect(() => {
|
||||||
|
setViewModal(false)
|
||||||
|
}, [router.pathname])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SidebarView economiaDrawer={economiaDrawer} modalOpen={viewModal} >
|
<SidebarView economiaDrawer={economiaDrawer} modalOpen={viewModal} >
|
||||||
@ -38,7 +40,7 @@ export default function Sidebar() {
|
|||||||
<Link href='#'><li className={router.pathname=='/saq'? 'actualPath' : null}>{'SAQ >'}</li></Link>
|
<Link href='#'><li className={router.pathname=='/saq'? 'actualPath' : null}>{'SAQ >'}</li></Link>
|
||||||
<Link href='#'><li className={router.pathname=='/aboutus'? 'actualPath' : null}>{'Sobre Nós >'}</li></Link>
|
<Link href='#'><li className={router.pathname=='/aboutus'? 'actualPath' : null}>{'Sobre Nós >'}</li></Link>
|
||||||
<Link href='#'><li className={router.pathname=='/notification'? 'actualPath' : null}>{'Notificação >'}</li></Link>
|
<Link href='#'><li className={router.pathname=='/notification'? 'actualPath' : null}>{'Notificação >'}</li></Link>
|
||||||
<Link href='#'><li className={router.pathname=='/telemetry'? 'actualPath' : null}>{'Telemetria >'}</li></Link>
|
<Link href='/telemetria'><li className={router.pathname=='/telemetry'? 'actualPath' : null}>{'Telemetria >'}</li></Link>
|
||||||
</ul>
|
</ul>
|
||||||
<aside>
|
<aside>
|
||||||
<p>Nossos Gerentes estão prontos para atendê-los</p>
|
<p>Nossos Gerentes estão prontos para atendê-los</p>
|
||||||
|
|||||||
@ -121,7 +121,7 @@ export const SidebarView = styled.nav<SidebarViewInterface>`
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1196px) {
|
@media (max-width: 1548px) {
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@ -3,10 +3,10 @@ import styled from 'styled-components'
|
|||||||
export const AppView = styled.main`
|
export const AppView = styled.main`
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
margin: 0;
|
margin: 0 0 10rem 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
@media (max-width: 1196px) {
|
@media (max-width: 1548px) {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,11 +1,6 @@
|
|||||||
import styled from 'styled-components'
|
import styled from 'styled-components'
|
||||||
|
|
||||||
export const DashboardView = styled.main`
|
export const DashboardView = styled.main`
|
||||||
* {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
@ -16,38 +11,6 @@ export const DashboardView = styled.main`
|
|||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
span {
|
|
||||||
font-family: 'Poppins';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 500;
|
|
||||||
font-size: 16px;
|
|
||||||
line-height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4 {
|
|
||||||
font-family: 'Poppins';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 600;
|
|
||||||
font-size: 21px;
|
|
||||||
line-height: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-family: 'Poppins';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 600;
|
|
||||||
font-size: 28px;
|
|
||||||
line-height: 42px;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
font-family: 'Poppins';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
font-size: 16px;
|
|
||||||
line-height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cardsSection {
|
.cardsSection {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
|
|||||||
@ -76,11 +76,11 @@ display: flex;
|
|||||||
vertical-align:top
|
vertical-align:top
|
||||||
}
|
}
|
||||||
|
|
||||||
h1{
|
/* h1{
|
||||||
color: #000;
|
color: #000;
|
||||||
font-family: Poppins;
|
font-family: Poppins;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
} */
|
||||||
/* .tg td{
|
/* .tg td{
|
||||||
border-color:black;
|
border-color:black;
|
||||||
border-style:solid;
|
border-style:solid;
|
||||||
@ -117,7 +117,7 @@ h1{
|
|||||||
text-align:center;
|
text-align:center;
|
||||||
vertical-align:top
|
vertical-align:top
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
h1{
|
h1{
|
||||||
color: #000;
|
color: #000;
|
||||||
font-family: Poppins;
|
font-family: Poppins;
|
||||||
@ -129,13 +129,14 @@ h1{
|
|||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
|
||||||
h3{
|
h3{
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 22px;
|
||||||
|
line-height: 54px;
|
||||||
|
|
||||||
color: #254F7F;
|
color: #254F7F;
|
||||||
font-family: Poppins;
|
|
||||||
font-size: 15px;
|
|
||||||
margin-top: 5rem;
|
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
@ -6,21 +6,13 @@ export const ConsumptionView = styled.main`
|
|||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
span {
|
|
||||||
color: #969BA0;
|
|
||||||
|
|
||||||
font-family: 'Poppins';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 500;
|
|
||||||
font-size: 16px;
|
|
||||||
line-height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
section {
|
section {
|
||||||
margin-bottom: 160px;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
canvas {
|
canvas {
|
||||||
max-height: 30rem;
|
margin: 160px 0 0 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
@ -6,21 +6,13 @@ export const AccumulatedSavingsView = styled.main`
|
|||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
span {
|
|
||||||
color: #969BA0;
|
|
||||||
|
|
||||||
font-family: 'Poppins';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 500;
|
|
||||||
font-size: 16px;
|
|
||||||
line-height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
section {
|
section {
|
||||||
margin-bottom: 160px;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
canvas {
|
canvas {
|
||||||
max-height: 30rem;
|
margin: 160px 0 0 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
@ -6,21 +6,13 @@ export const CostIndicatorView = styled.main`
|
|||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
span {
|
|
||||||
color: #969BA0;
|
|
||||||
|
|
||||||
font-family: 'Poppins';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 500;
|
|
||||||
font-size: 16px;
|
|
||||||
line-height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
section {
|
section {
|
||||||
margin-bottom: 160px;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
canvas {
|
canvas {
|
||||||
max-height: 30rem;
|
margin: 160px 0 0 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
@ -6,21 +6,13 @@ export const EstimatedCostView = styled.main`
|
|||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
span {
|
|
||||||
color: #969BA0;
|
|
||||||
|
|
||||||
font-family: 'Poppins';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 500;
|
|
||||||
font-size: 16px;
|
|
||||||
line-height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
section {
|
section {
|
||||||
margin-bottom: 160px;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
canvas {
|
canvas {
|
||||||
max-height: 30rem;
|
margin: 160px 0 0 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
@ -17,10 +17,12 @@ export const GrossSavingsView = styled.main`
|
|||||||
}
|
}
|
||||||
|
|
||||||
section {
|
section {
|
||||||
margin-bottom: 160px;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
canvas {
|
canvas {
|
||||||
max-height: 30rem;
|
margin: 160px 0 0 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user