-
Notifications
You must be signed in to change notification settings - Fork 157
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 #183 from jarosipatricia/master
Added subscription section
- Loading branch information
Showing
5 changed files
with
119 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,58 @@ | ||
.sub-title { | ||
padding-top: 2%; | ||
padding-right: 25%; | ||
} | ||
|
||
.sub-container { | ||
display: flex; | ||
} | ||
|
||
.sub-child-left { | ||
flex: 1; | ||
padding-top: 2.8%; | ||
padding-right: 3%; | ||
padding-left: 10%; | ||
} | ||
|
||
.sub-button { | ||
background-color: rgb(233, 190, 110); | ||
color: black; | ||
font-size: 100%; | ||
padding-top: 8px; | ||
padding-bottom: 8px; | ||
border-radius: 20px; | ||
margin: 10px; | ||
margin-top: 30px; | ||
margin-bottom: 30px; | ||
padding-right: 50px; | ||
padding-left: 50px; | ||
} | ||
|
||
.sub-button:hover { | ||
background-color: rgb(199, 138, 26); | ||
color: azure; | ||
} | ||
|
||
.sub-b:hover { | ||
color: firebrick; | ||
cursor: pointer; | ||
} | ||
|
||
.sub-child-right { | ||
flex: 0.3; | ||
padding-right: 10%; | ||
padding-left: 3%; | ||
padding-bottom: 2%; | ||
width: 20%; | ||
height: 50%; | ||
} | ||
|
||
.sub-child-right:hover { | ||
cursor: pointer; | ||
} | ||
|
||
.sub-href { | ||
color: grey; | ||
font-size: 9px; | ||
} | ||
|
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,50 @@ | ||
import React from 'react'; | ||
import '../../../node_modules/bootstrap/dist/css/bootstrap.min.css'; | ||
import './index-sub.css'; | ||
import shelogo from '../../images/others/she-gazette.webp'; | ||
|
||
var linkToSheGazette = 'https://shegazette.co/index.html' | ||
|
||
function goTo(link) { | ||
if (typeof window !== 'undefined') { | ||
window.location.href = link; | ||
} | ||
} | ||
|
||
export default function Subscribe() { | ||
return ( | ||
<div class="sub"> | ||
<h3 class="sub-title"> | ||
Subscribe to the newsletter | ||
</h3> | ||
<div class="sub-container"> | ||
<div class="sub-child-left"> | ||
<div> | ||
We aim to accomplish more together by collaborating with <b class="sub-b" onClick={(e) => { | ||
e.preventDefault(); | ||
goTo(linkToSheGazette); | ||
}}>SheGazette</b>! | ||
Please subscribe to their newsletter to get regular updates about opportunities via email. | ||
</div> | ||
<button | ||
class="sub-button" | ||
type="button" | ||
onClick={(e) => { | ||
e.preventDefault(); | ||
goTo(linkToSheGazette); | ||
}}> | ||
Subscribe | ||
</button> | ||
</div> | ||
<img | ||
class="sub-child-right" | ||
src={shelogo} | ||
onClick={(e) => { | ||
e.preventDefault(); | ||
goTo(linkToSheGazette); | ||
}} | ||
/> | ||
</div> | ||
</div> | ||
); | ||
} |
Binary file not shown.
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