-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added AddNewPlantCard Component and it's CSS.
Added Dry/Good CSS design to PlantCard Component. Added PlantCard image and PlantCard details CSS design. Populated home page design with plant cards and added grid to display plant cards properly. Added overflow: scroll to body tag.
- Loading branch information
1 parent
a18d323
commit 7c70f63
Showing
7 changed files
with
130 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from 'react' | ||
import '../Styles/custom/addNewPlantCard.css' | ||
|
||
function AddNewPlantCard() { | ||
return ( | ||
<div className='addNewPlantCard'> | ||
<div className='addNewPlantCard-text'> | ||
Add a new plant | ||
</div> | ||
<div className='addNewPlantCard-icon'> | ||
+ | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default AddNewPlantCard |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.addNewPlantCard{ | ||
height: 532px; | ||
width: 356px; | ||
border-radius: 18px; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
background-color: #E6F2D7; | ||
} | ||
|
||
|
||
.addNewPlantCard-text{ | ||
font-family: 'Poppins', sans-serif; | ||
font-weight: 700; | ||
font-size: 25px; | ||
line-height: 37px; | ||
margin-bottom: 22px; | ||
} | ||
|
||
.addNewPlantCard-icon{ | ||
font-family: 'Poppins', sans-serif; | ||
font-weight: 700; | ||
font-size: 100px; | ||
line-height: 100px; | ||
} | ||
|
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 |
---|---|---|
|
@@ -6,6 +6,10 @@ html, body, #root, .App { | |
margin: 0px; | ||
} | ||
|
||
body{ | ||
overflow: scroll; | ||
} | ||
|
||
.text-white{ | ||
color: #FFFFFF; | ||
} |