-
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.
add MessageBox section below end of content in App.js and add some re…
…sponsive style to Container.style.js and some style change in Footer.styled.js and Global.js and Button.styled.js
- Loading branch information
1 parent
8ee3227
commit e464523
Showing
7 changed files
with
80 additions
and
4 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { CallToAction, StyledMessageBox } from "./styles/MessageBox.styled" | ||
import { Button } from "./styles/Button.styled" | ||
|
||
const MessageBox = () => { | ||
return ( | ||
<StyledMessageBox> | ||
<CallToAction> | ||
<h2 class="subtitle">آماده هستی تا جامعه خودت رو بسازی؟</h2> | ||
<Button bg='#ff0099' color='#fff'> | ||
شروع رایگان است ! | ||
</Button> | ||
</CallToAction> | ||
</StyledMessageBox> | ||
) | ||
} | ||
|
||
export default MessageBox |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import styled from 'styled-components' | ||
|
||
export const StyledMessageBox = styled.div` | ||
position: relative; | ||
margin-top: 12rem; | ||
` | ||
export const CallToAction = styled.div` | ||
position: absolute; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
max-width: 31.25rem; | ||
margin: 0 1.25rem; | ||
background-color: white; | ||
border-radius: 0.9375rem; | ||
padding: 1.875rem 1.25rem; | ||
box-shadow: 0.625rem 0.625rem 1rem 0.25rem rgb(0 0 0 / 22%); | ||
left: 50%; | ||
left: 0; | ||
right: 0; | ||
top: -90px; | ||
margin: 0 auto; | ||
text-align: center; | ||
& > .subtitle { | ||
margin-top: unset; | ||
margin-bottom: 2.5rem; | ||
} | ||
& > button { | ||
direction: rtl; | ||
} | ||
` | ||
|