generated from goitacademy/react-homework-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f657ba
commit e2be8f4
Showing
11 changed files
with
293 additions
and
69 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,33 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const List = styled.ul``; | ||
export const List = styled.ul` | ||
background-color: #7ad9f7; | ||
padding: 32px; | ||
border-radius: 8px; | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: 24px; | ||
justify-content: center; | ||
`; | ||
|
||
export const Item = styled.li` | ||
margin-bottom: 16px; | ||
width: 360px; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
padding: 8px 16px; | ||
border: 1px solid rgb(224, 160, 31); | ||
border-radius: 8px; | ||
background-color: #e9af3d; | ||
`; | ||
|
||
export const Container = styled.div``; | ||
|
||
export const Name = styled.p` | ||
export const ContactData = styled.p` | ||
font-size: 20px; | ||
font-weight: 600; | ||
color: #000000; | ||
margin-bottom: 4px; | ||
`; | ||
|
||
export const Number = styled.p` | ||
margin-bottom: 4px; | ||
`; | ||
export const DeleteContactBtn = styled.button` | ||
background-color: #a1c487; | ||
height: 40px; | ||
padding: 8px 20px; | ||
cursor: pointer; | ||
background-color: transparent; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Hourglass } from 'react-loader-spinner'; | ||
import { LoaderContainer } from './Loader.styled'; | ||
|
||
export const HourglassLoader = () => { | ||
return ( | ||
<LoaderContainer> | ||
<Hourglass | ||
visible={true} | ||
height="200" | ||
width="200" | ||
ariaLabel="hourglass-loading" | ||
wrapperStyle={{}} | ||
wrapperClass="" | ||
colors={['#1dacd6', '#e9af3d']} | ||
/> | ||
</LoaderContainer> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const LoaderContainer = styled.div` | ||
width: 200px; | ||
margin: auto; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters