-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: correction span * fix: correction span * Refactor of the details pages --------- Co-authored-by: Dedelweiss <[email protected]>
- Loading branch information
1 parent
f26a377
commit 6f2f66b
Showing
11 changed files
with
316 additions
and
210 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
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,15 @@ | ||
@import "/src/styles/Variables.scss"; | ||
@import "/src/styles/Mixins.scss"; | ||
@import "/src/styles/Responsive.scss"; | ||
|
||
.featureBox { | ||
@include dark-gradient; | ||
padding: 20px 35px 25px 35px; | ||
cursor: pointer; | ||
&:not(:last-child) { | ||
margin-bottom: 24px; | ||
} | ||
h3 { | ||
color: $pink; | ||
} | ||
} |
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,22 @@ | ||
import Title from '@components/Title/Title'; | ||
import Text from '@components/Text/Text'; | ||
|
||
import "./FeatureBox.scss"; | ||
|
||
interface FeatureBoxProps { | ||
title: string; | ||
text: JSX.Element; | ||
classNames?: string; | ||
onClick?: () => void; | ||
} | ||
|
||
const FeatureBox = (props: FeatureBoxProps) => { | ||
return ( | ||
<div className={`featureBox ${props.classNames}`}> | ||
<Title level={3}>{props.title}</Title> | ||
<Text size="medium" className="mgt24">{props.text}</Text> | ||
</div> | ||
) | ||
} | ||
|
||
export default FeatureBox |
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
Oops, something went wrong.