Skip to content

Commit

Permalink
Merge pull request #139 from unb-mds/fixing-bugs-frontend
Browse files Browse the repository at this point in the history
Fixing bugs frontend
  • Loading branch information
andre-maia51 authored Aug 21, 2024
2 parents 8d3b9fa + 2cc88e5 commit 8315e5d
Show file tree
Hide file tree
Showing 7 changed files with 156 additions and 270 deletions.
48 changes: 37 additions & 11 deletions Front end/projeto-react/src/components/Inicial/inicial.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,35 @@ import styled from "styled-components";


export const Container = styled.div`
display: flex;
flex-direction: column;
align-items: center;
height: 52vw;
margin-top: 4vw;
.fundo{
position: absolute;
margin: 0 auto;
height: 36.4vw;
}
.fundo2{
display: none;
}
.conteudo{
margin: 4vw auto 0 auto;
display: flex;
justify-content: center;
flex-direction: row-reverse;
height: 45vw;
width: 70%;
background-image: url('../../../assets/images/Component 7.png');
background-size: contain;
background-repeat: no-repeat;
}
.textos{
position: relative;
display: flex;
flex-direction: column;
margin-top: 13vw;
Expand All @@ -23,6 +39,7 @@ export const Container = styled.div`
}
.principal_text{
font-size: 2.5vw;
text-align: center;
height: auto;
Expand All @@ -45,6 +62,7 @@ export const Container = styled.div`
}
.mulher{
position: relative;
margin: 9.8vw auto;
width: 30vw;
height: auto;
Expand All @@ -56,25 +74,33 @@ export const Container = styled.div`
display: none;
}
@media (max-width:700px){
margin-top: 30vw;
margin-bottom: 90vw;
.fundo{
display: none;
}
.fundo2{
display: block;
position: absolute;
margin: 0 auto 40vw auto;
height: 91vw;
}
.conteudo{
all: unset;
margin: 2vw auto;
margin: 1.2vw auto;
display: flex;
flex-direction: column;
align-items: center;
height: 91vw;
width: auto;
background-image: url('../../../assets/images/Component 6.png');
background-size: cover;
background-repeat: no-repeat;
position: relative;
}
.textos{
all: unset;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
Expand Down Expand Up @@ -112,8 +138,8 @@ export const Container = styled.div`
}
.mulher2{
position: relative;
display: block;
margin-top: 1vw;
width: 45vw;
height: auto;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@ import mulher from '../../../assets/images/mulher.png';
import mulher2 from '../../../assets/images/mulher2.png';
import { Container } from './inicial';
import { StyledLink } from "../navbar/navbar";
import fundo from '../../../assets/images/Component 7.png'
import fundo2 from '../../../assets/images/Component 6.png'


const Inicial = () => {
return(
<div>
<Container className='container'>

<img src={fundo} alt="" className='fundo'/>
<img src={fundo2} alt="" className='fundo2'/>
<div className='conteudo'>
<div>
<img src={mulher2} alt="mulher" className='mulher'/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const Container = styled.div`
flex-direction: column;
height: auto;
width: auto;
margin-bottom:40vw;
.image{
display: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export const Container = styled.div`
display: none;
}
.logo2{
.logo_recursiva{
margin-top: 0;
display: block;
}
Expand Down
Loading

0 comments on commit 8315e5d

Please sign in to comment.