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
95c1399
commit 6903531
Showing
12 changed files
with
92 additions
and
53 deletions.
There are no files selected for viewing
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,18 +1,7 @@ | ||
/* .h1 { | ||
margin-bottom: 20px; | ||
font-size: 32px; | ||
text-align: center; | ||
color: white; | ||
} | ||
.h2 { | ||
margin-bottom: 10px; | ||
font-size: 24px; | ||
font-weight: 700; | ||
text-align: center; | ||
color: white; | ||
} */ | ||
|
||
.container { | ||
/* max-width: 1200px; */ | ||
width: 700px; | ||
}; | ||
|
||
/* .container { */ | ||
|
||
/* width: 100%; | ||
max-width: 1200px; | ||
}; */ |
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,6 +1,8 @@ | ||
.contacts_list { | ||
display: flex; | ||
flex-direction: column; | ||
/* flex-direction: column; */ | ||
justify-content: center; | ||
row-gap: 15px; | ||
padding-left: 0; | ||
|
||
} |
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,7 @@ | ||
import css from './Container.module.css' | ||
|
||
export const Container = ({children}) => { | ||
return <div className={css.container}> | ||
{children} | ||
</div>; | ||
} |
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,10 @@ | ||
.container { | ||
width: 100%; | ||
max-width: 1200px; | ||
|
||
|
||
/* min-height: calc(100vh - 50px); */ | ||
/* display: flex; | ||
align-items: center; | ||
justify-content: center; */ | ||
}; |
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,26 +1,41 @@ | ||
const styles = { | ||
container: { | ||
minHeight: 'calc(100vh - 50px)', | ||
display: 'flex', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
}, | ||
title: { | ||
fontWeight: 500, | ||
fontSize: 48, | ||
textAlign: 'center', | ||
}, | ||
}; | ||
// import { Container } from 'components/Container/Container'; | ||
import css from './Home.module.css' | ||
// const styles = { | ||
// container: { | ||
// minHeight: 'calc(100vh - 50px)', | ||
// display: 'flex', | ||
// alignItems: 'center', | ||
// justifyContent: 'center', | ||
// }, | ||
// title: { | ||
// fontWeight: 500, | ||
// fontSize: 28, | ||
// textAlign: 'center', | ||
// }, | ||
// }; | ||
|
||
// export default function Home() { | ||
// return ( | ||
// <div style={styles.container}> | ||
// <h1 style={styles.title}> | ||
// Phonebook welcome page{' '} | ||
// <span role="img" aria-label="Greeting icon"> | ||
// 💁♀️ | ||
// </span> | ||
// </h1> | ||
// </div> | ||
// ); | ||
// | ||
|
||
export default function Home() { | ||
return ( | ||
<div style={styles.container}> | ||
<h1 style={styles.title}> | ||
<div className={css.wrap}> | ||
<h1 className={css.title}> | ||
Phonebook welcome page{' '} | ||
<span role="img" aria-label="Greeting icon"> | ||
💁♀️ | ||
</span> | ||
</h1> | ||
</div> | ||
); | ||
} | ||
} |
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,12 @@ | ||
.title { | ||
|
||
font-weight: 500px; | ||
font-size: 48px; | ||
text-align: center; | ||
} | ||
.wrap { | ||
min-height: calc(100vh - 50px); | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} |
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