Merge branch 'responsiving' of https://gitlab.com/kluppsoftware/smart-energia-web into dev
This commit is contained in:
commit
4db4897ff0
@ -24,13 +24,13 @@ export default function aboutUs() {
|
|||||||
aplicamos as mesmas premissas a favor dos Consumidores, disponibilizando assim um diferencial único para a tomada de decisão e elaboração das estratégias de
|
aplicamos as mesmas premissas a favor dos Consumidores, disponibilizando assim um diferencial único para a tomada de decisão e elaboração das estratégias de
|
||||||
contratação de energia.</p>
|
contratação de energia.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><Image src='/assets/listIcon.svg' width={25} height={25} />Informação</li>
|
<li><Image src='/assets/listIcon.svg' width={25} height={25} />{'Informação'}</li>
|
||||||
<li><Image src='/assets/listIcon.svg' width={25} height={25} />Economia</li>
|
<li><Image src='/assets/listIcon.svg' width={25} height={25} />{'Economia'}</li>
|
||||||
<li><Image src='/assets/listIcon.svg' width={25} height={25} />Gestão de Energia</li>
|
<li><Image src='/assets/listIcon.svg' width={25} height={25} />{'Gestão de Energia'}</li>
|
||||||
<li><Image src='/assets/listIcon.svg' width={25} height={25} />Imparcialidade</li>
|
<li><Image src='/assets/listIcon.svg' width={25} height={25} />{'Imparcialidade'}</li>
|
||||||
<li><Image src='/assets/listIcon.svg' width={25} height={25} />Previsão de Custos</li>
|
<li><Image src='/assets/listIcon.svg' width={25} height={25} />{'Previsão de Custos'}</li>
|
||||||
<li><Image src='/assets/listIcon.svg' width={25} height={25} />Experiência</li>
|
<li><Image src='/assets/listIcon.svg' width={25} height={25} />{'Experiência'}</li>
|
||||||
<li><Image src='/assets/listIcon.svg' width={25} height={25} />Relacionamento</li>
|
<li><Image src='/assets/listIcon.svg' width={25} height={25} />{'Relacionamento'}</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import CommonQuestionsCard from '../src/components/commonQuestionsCard/FaqQuestionsCard'
|
import CommonQuestionsCard from '../src/components/faqQuestionsCard/FaqQuestionsCard'
|
||||||
import Header from '../src/components/header/Header'
|
import Header from '../src/components/header/Header'
|
||||||
import { FaqView } from '../styles/layouts/commonQuestions/FaqView'
|
import { FaqView } from '../styles/layouts/commonQuestions/FaqView'
|
||||||
|
|
||||||
|
|||||||
@ -2,6 +2,10 @@ import styled from 'styled-components'
|
|||||||
|
|
||||||
export const BannerView = styled.div`
|
export const BannerView = styled.div`
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 19rem;
|
height: 19rem;
|
||||||
|
|
||||||
@ -18,7 +22,7 @@ export const BannerView = styled.div`
|
|||||||
|
|
||||||
.text {
|
.text {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 82px 0 0 20px;
|
margin: 0 0 0 20px;
|
||||||
|
|
||||||
font-family: 'Poppins';
|
font-family: 'Poppins';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
@ -26,5 +30,19 @@ export const BannerView = styled.div`
|
|||||||
color: white;
|
color: white;
|
||||||
|
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-size: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1008px) {
|
||||||
|
font-size: 170%;
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
@ -13,7 +13,7 @@ export const BasicButtonView = styled.button`
|
|||||||
border-style: none;
|
border-style: none;
|
||||||
|
|
||||||
font-family: 'Poppins';
|
font-family: 'Poppins';
|
||||||
font-size: 16px;
|
font-size: 90%;
|
||||||
/* identical to box height */
|
/* identical to box height */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -28,11 +28,18 @@ export const FaqQuestionsCardBody = styled.div<CardBodyInterface>`
|
|||||||
|
|
||||||
p {
|
p {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 14px;
|
font-size: 99%;
|
||||||
line-height: 12px;
|
|
||||||
|
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: 0.5px;
|
||||||
|
|
||||||
color: rgba(0, 0, 0, 0.6);
|
color: rgba(0, 0, 0, 0.6);
|
||||||
|
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1008px) {
|
||||||
|
p {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
@ -53,7 +53,7 @@ export default function Header({ name }: headerInterface) {
|
|||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<Image src='/assets/png/copel.png' width={150} height={50} />
|
<Image src='/assets/png/copel.png' width={170} height={50} />
|
||||||
<div className='icon' >
|
<div className='icon' >
|
||||||
olá, {'josé'}
|
olá, {'josé'}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -14,7 +14,7 @@ export const HeaderView = styled.header`
|
|||||||
|
|
||||||
:last-child {
|
:last-child {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: flex-end;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
|
|||||||
@ -19,7 +19,7 @@ p {
|
|||||||
font-family: 'Poppins';
|
font-family: 'Poppins';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 18px;
|
font-size: 99%;
|
||||||
line-height: 27px;
|
line-height: 27px;
|
||||||
|
|
||||||
color: #969BA0;
|
color: #969BA0;
|
||||||
|
|||||||
@ -19,7 +19,7 @@ export default function Sidebar() {
|
|||||||
return (
|
return (
|
||||||
<SidebarView economiaDrawer={economiaDrawer} modalOpen={viewModal} >
|
<SidebarView economiaDrawer={economiaDrawer} modalOpen={viewModal} >
|
||||||
<div className='hamburger' onClick={() => setViewModal(!viewModal)} >
|
<div className='hamburger' onClick={() => setViewModal(!viewModal)} >
|
||||||
<Image src='/assets/hamburgerModal.svg' width={25} height={25} />
|
<Image src='/assets/hamburgerModal.svg' width={60} height={60} />
|
||||||
</div>
|
</div>
|
||||||
<div className='imageNext'>
|
<div className='imageNext'>
|
||||||
<Image src='/assets/logo.svg' width={100} height={100} />
|
<Image src='/assets/logo.svg' width={100} height={100} />
|
||||||
@ -28,7 +28,7 @@ export default function Sidebar() {
|
|||||||
<Link href='/dashboard'><li className={router.pathname=='/dashboard'? 'actualPath' : null} ><Image src='/assets/sidebar/dashboardIcon.svg' width={25} height={25} />{'Visão Geral'}</li></Link>
|
<Link href='/dashboard'><li className={router.pathname=='/dashboard'? 'actualPath' : null} ><Image src='/assets/sidebar/dashboardIcon.svg' width={25} height={25} />{'Visão Geral'}</li></Link>
|
||||||
<Link href='/consumption'><li className={router.pathname=='/consumption'? 'actualPath' : null} ><Image src='/assets/sidebar/consumptionIcon.svg' width={25} height={25} />{'Consumo'}</li></Link>
|
<Link href='/consumption'><li className={router.pathname=='/consumption'? 'actualPath' : null} ><Image src='/assets/sidebar/consumptionIcon.svg' width={25} height={25} />{'Consumo'}</li></Link>
|
||||||
<Link href='/resumoOperacao'><li className={router.pathname=='/resumoOperacao'? 'actualPath' : null} ><Image src='/assets/sidebar/summaryOperationsIcon.svg' width={25} height={25} />{'Resumo de Op. '}</li></Link>
|
<Link href='/resumoOperacao'><li className={router.pathname=='/resumoOperacao'? 'actualPath' : null} ><Image src='/assets/sidebar/summaryOperationsIcon.svg' width={25} height={25} />{'Resumo de Op. '}</li></Link>
|
||||||
<li onClick={() => setEconomiaDrawer(!economiaDrawer)} className={router.pathname=='/grossSavings' || router.pathname=='/accumulatedSavings' || router.pathname=='/estimatedCost' || router.pathname=='/costIndicator' ? 'actualPath' : null } ><Image src='/assets/sidebar/economyIcon.svg' width={25} height={25} />{'Economia >'}</li>
|
<li onClick={() => setEconomiaDrawer(!economiaDrawer)} className={router.pathname=='/grossSavings' || router.pathname=='/accumulatedSavings' || router.pathname=='/estimatedCost' || router.pathname=='/costIndicator' ? 'actualPath' : null } ><Image src='/assets/sidebar/economyIcon.svg' width={25} height={25} />{'Economia'}</li>
|
||||||
<div className='economiaDrawer drawer' >
|
<div className='economiaDrawer drawer' >
|
||||||
<Link href='/grossSavings'><li>Economia Bruta</li></Link>
|
<Link href='/grossSavings'><li>Economia Bruta</li></Link>
|
||||||
<Link href='/accumulatedSavings'><li>Economia Acumulada</li></Link>
|
<Link href='/accumulatedSavings'><li>Economia Acumulada</li></Link>
|
||||||
|
|||||||
@ -15,6 +15,7 @@ export const SidebarView = styled.nav<SidebarViewInterface>`
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
width: 20%;
|
width: 20%;
|
||||||
|
min-width: 15rem;
|
||||||
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -27,16 +28,7 @@ export const SidebarView = styled.nav<SidebarViewInterface>`
|
|||||||
border-left: #254F7F solid 8px;
|
border-left: #254F7F solid 8px;
|
||||||
background-color: #FAFBFF;
|
background-color: #FAFBFF;
|
||||||
|
|
||||||
font-weight: 600;
|
|
||||||
font-size: 18px;
|
|
||||||
line-height: 27px;
|
|
||||||
|
|
||||||
color: #254F7F;
|
color: #254F7F;
|
||||||
|
|
||||||
stop-color: #254F7F;
|
|
||||||
.svg {
|
|
||||||
background-color: red;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
@ -64,7 +56,6 @@ export const SidebarView = styled.nav<SidebarViewInterface>`
|
|||||||
|
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 16px;
|
|
||||||
line-height: 27px;
|
line-height: 27px;
|
||||||
|
|
||||||
color: #969BA0;
|
color: #969BA0;
|
||||||
@ -131,7 +122,7 @@ export const SidebarView = styled.nav<SidebarViewInterface>`
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1548px) {
|
@media (max-width: 1008px) {
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -150,15 +141,22 @@ export const SidebarView = styled.nav<SidebarViewInterface>`
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|
||||||
|
height: 5rem;
|
||||||
}
|
}
|
||||||
.imageNext {
|
.imageNext {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
ul {
|
ul {
|
||||||
display: ${props => props.modalOpen? 'block' : 'none'};
|
display: ${props => props.modalOpen? 'block' : 'none'};
|
||||||
min-height: 100vh;
|
min-height: 85vh;
|
||||||
|
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
|
|
||||||
|
li {
|
||||||
|
height: 7rem;
|
||||||
|
font-size: 170%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
aside {
|
aside {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
0
src/txt.txt
Normal file
0
src/txt.txt
Normal file
@ -6,7 +6,7 @@ export const AppView = styled.main`
|
|||||||
margin: 0 0 10rem 0;
|
margin: 0 0 10rem 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
@media (max-width: 1548px) {
|
@media (max-width: 1008px) {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,7 +7,7 @@ export const AboutUsView = styled.main`
|
|||||||
font-family: 'Poppins';
|
font-family: 'Poppins';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-size: 17px;
|
font-size: 80%;
|
||||||
line-height: 26px;
|
line-height: 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -17,6 +17,8 @@ export const AboutUsView = styled.main`
|
|||||||
li {
|
li {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
|
|
||||||
|
font-size: 98.98%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -37,4 +39,14 @@ export const AboutUsView = styled.main`
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1008px) {
|
||||||
|
li {
|
||||||
|
font-size: 170%!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
@ -10,7 +10,7 @@ export const FaqView = styled.main`
|
|||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 48px;
|
font-size: calc(90% + 2rem);
|
||||||
line-height: 72px;
|
line-height: 72px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: 0.5px;
|
||||||
@ -18,7 +18,7 @@ export const FaqView = styled.main`
|
|||||||
|
|
||||||
p {
|
p {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 14px;
|
font-size: 99.98%;
|
||||||
line-height: 21px;
|
line-height: 21px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: 0.5px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user