-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from ReCoded-Org/i91-add_slider_to_about_us_s…
…ection I91 add slider to about us section
- Loading branch information
Showing
12 changed files
with
132 additions
and
74 deletions.
There are no files selected for viewing
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,20 @@ | ||
.diagonal-box-about { | ||
/* background-image: linear-gradient(45deg, #6303B1, #ff0099); */ | ||
transform: skewY(3deg); | ||
} | ||
.content-about { | ||
max-width: 80%; | ||
margin: 0 auto; | ||
transform: skewY(-3deg); | ||
} | ||
|
||
#slider-wrapper { | ||
display: flex !important; | ||
align-items: center !important; | ||
} | ||
|
||
@media only screen and (max-width: 1100px) { | ||
#slider-wrapper { | ||
flex-direction: column !important; | ||
} | ||
} |
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.arrow { | ||
cursor: pointer; | ||
} |
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,23 @@ | ||
import React from "react"; | ||
import leftArrowSvg from "./../../../assets/chevron-left-white.svg"; | ||
import rightArrowSvg from "./../../../assets/chevron-right-white.svg"; | ||
import './SliderArrow.css'; | ||
|
||
const SliderArrow = ({ leftOrRight, onClick }) => { | ||
return ( | ||
<div className="arrow"> | ||
<img | ||
src={leftOrRight === "left" ? rightArrowSvg : leftArrowSvg} | ||
onClick={onClick} | ||
style={ | ||
leftOrRight === "left" | ||
? { marginLeft: "1rem" } | ||
: { marginRight: "1rem" } | ||
} | ||
alt="Carousel Arrow" | ||
/> | ||
</div> | ||
); | ||
}; | ||
|
||
export default SliderArrow; |
37 changes: 0 additions & 37 deletions
37
src/components/AboutUs/__snapshots__/AboutUs.test.jsx.snap
This file was deleted.
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