Skip to content

Commit

Permalink
update forms
Browse files Browse the repository at this point in the history
  • Loading branch information
IrynaSlavinska committed Dec 31, 2023
1 parent 9c63b02 commit b2422ea
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
13 changes: 12 additions & 1 deletion src/components/Layout/Layout.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,16 @@ export const StyledLink = styled(NavLink)`
`;

export const Main = styled.main`
padding: 32px;
background-image: url(https://images.pexels.com/photos/949587/pexels-photo-949587.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
margin: 0 auto;
max-width: 1400px;
height: 85vh;
display: flex;
justify-content: center;
align-items: center;
`;
2 changes: 2 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,7 @@ body::-webkit-scrollbar-thumb {
text-align: center;
display: flex;
justify-content: center;

margin-bottom: 4px;
margin-top: 30px;
}
15 changes: 1 addition & 14 deletions src/pages/HomePage/HomePage.styled.jsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
import styled from '@emotion/styled';

export const HomeContainer = styled.div`
background-image: url(https://images.pexels.com/photos/949587/pexels-photo-949587.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
margin: 0 auto;
max-width: 1400px;
height: 80vh;
display: flex;
justify-content: center;
align-items: center;
`;
export const HomeContainer = styled.div``;

export const Title = styled.h1`
font-size: 60px;
Expand Down

0 comments on commit b2422ea

Please sign in to comment.