Skip to content

Commit

Permalink
code refactoring & add email API integration with third-party service…
Browse files Browse the repository at this point in the history
… PostoHub.io
  • Loading branch information
honoyr committed Mar 16, 2021
1 parent 95d9601 commit 6b9eef4
Show file tree
Hide file tree
Showing 20 changed files with 418 additions and 1,168 deletions.
26 changes: 14 additions & 12 deletions .firebase/hosting.cHVibGlj.cache
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
favicon.ico,1614379506885,a2aee5309d0b59b9b66384ccc3969a07fab1b320d0bf76f1b25047a051d7f774
index.html,1614379507007,b40b6158870e5112df6885753adeacf2fcae7f2ed0fb12ac6e6604d8daa145af
main.js,1614379506724,c7e4c83244c9993b7523c11bffe2658cfcb9e36efec874898fa92ec0698633ee
main.js.map,1614379506726,430c19bea78cec2c58f486b63062ea6d5fa71466a73b751ac676ce29ffaf45f6
polyfills.js,1614379506729,6ba00db89e7b2a569fe729bf28b297c2e2cca9d913320d76d7d8b0c56f4a1309
polyfills.js.map,1614379506726,abd465a65dd4c3c488ec1dbb5b4ddd2107e915866b35100c3d9cbc9e21b07cee
runtime.js,1614379506729,57bef94dabcba3d828ce7f4a8f9ece688bf31b30479b28b6ad55f659c95a9325
runtime.js.map,1614379506726,0ea7bb003ed7be92b4260a50a167c459ffdd68e1e85c4db60edbd9d9f457c62c
styles.css,1614379506729,a79629e8415fc95be650d2cc67a81836e33c51217d8c58f259d0457baa6c6bdd
styles.css.map,1614379506726,460480591888dccb15685a0842f71082ad790c9080f46c568890a06fefcc66f8
vendor.js,1615244347519,839c6be1413dd36942757b9a69f83a0489013c545ae4953f86fdda26584b0059
vendor.js.map,1614379506728,8857d0f444c6010ae3a75f18a687d045915262727f1e0bbb105f4520f3445880
favicon.ico,1615870124906,a2aee5309d0b59b9b66384ccc3969a07fab1b320d0bf76f1b25047a051d7f774
index.html,1615870125196,b40b6158870e5112df6885753adeacf2fcae7f2ed0fb12ac6e6604d8daa145af
main.js.map,1615870124643,91a2674d750c8a95f6ea0b24bdfda250f031e7741fe399cb8191aecafb39a212
main.js,1615870124633,e0586a29aee4c0bc7cafdcf63eb8c9fc18420c394c125cfa0c72cb85301f3255
runtime.js,1615870124633,57bef94dabcba3d828ce7f4a8f9ece688bf31b30479b28b6ad55f659c95a9325
assets/bot.png,1615870125018,2927e45a4121de2107437bb5fb9db3f0594d65ae34a44e8987b37bc6d873c918
runtime.js.map,1615870124633,0ea7bb003ed7be92b4260a50a167c459ffdd68e1e85c4db60edbd9d9f457c62c
polyfills.js.map,1615870124644,abd465a65dd4c3c488ec1dbb5b4ddd2107e915866b35100c3d9cbc9e21b07cee
polyfills.js,1615870124633,6ba00db89e7b2a569fe729bf28b297c2e2cca9d913320d76d7d8b0c56f4a1309
styles.css,1615870124633,a79629e8415fc95be650d2cc67a81836e33c51217d8c58f259d0457baa6c6bdd
assets/bot2.png,1615870125083,384f5978b640f1aed78880c10cb8e0ef18a2cc76b5f5c98b87a5498bdc60a341
styles.css.map,1615870124634,460480591888dccb15685a0842f71082ad790c9080f46c568890a06fefcc66f8
vendor.js,1615870124642,839c6be1413dd36942757b9a69f83a0489013c545ae4953f86fdda26584b0059
vendor.js.map,1615870124638,8857d0f444c6010ae3a75f18a687d045915262727f1e0bbb105f4520f3445880
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@

# build functions to es15
/functions/dist/**
/functions/src/domain/**
/functions/src/services/emailSender-BETA

*service-account.json

**BETA

**/.DS_Store

Expand Down
1 change: 1 addition & 0 deletions functions/.babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"plugins": ["@babel/plugin-syntax-class-properties"],
"presets": [
[
"@babel/preset-env",
Expand Down
5 changes: 3 additions & 2 deletions functions/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
"eslint:recommended",
"google",
],
"parser": "babel-eslint",
"rules": {
"quotes": ["error", "double"],
"max-len": [1, 170, 2, {
Expand All @@ -21,8 +22,8 @@ module.exports = {
"no-restricted-imports": [
"error",
{
"patterns": ["@material-ui/*/*/*", "!@material-ui/core/test-utils/*"]
}
"patterns": ["@material-ui/*/*/*", "!@material-ui/core/test-utils-BETA/*"],
},
],
},
};
157 changes: 157 additions & 0 deletions functions/files/resume.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
<!DOCTYPE html>
<!-- saved from url=(1568)https://s3.amazonaws.com/prod-content.postohub.io/user/Google_112378731222467489231/template/adf84904-05fe-4267-88f5-94b5e6e2cbbc/adf84904-05fe-4267-88f5-94b5e6e2cbbc.html?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEBYaCXVzLWVhc3QtMSJHMEUCIB5MrMXp%2BemIwGyU%2BTceJhwxRILOAcVMu%2FLdiJBrRlHYAiEAiOxcTjzntEtfknq9HmthThhsbO%2BP%2Fi4iQZl%2Fg%2F8tYNEqtAMIHhABGgwyNDA4NDY3NTM3OTciDI5y%2BvTuwaSPW3ci4CqRA5%2FsJf%2FHOhLJ1kQmniVZsAvlHX5XrbMtq%2Berm3vRAjfhcsiTg%2BLsPCI%2Bhf2oY6NOWn%2Ba4eCph6GCy%2BQ3CUYL0swuZs6cmZGyFgxLyJF7MaE9fX8ijkhS8MWGS19w5uCGg9PrKaUGflapYVYoC6OA08gH8NZlXf%2BnT5rhQ2b7Ro1jGFmPfQtoQlfy4qNccPOn6vkEaF5%2BtbeUhIxTgRyUu61wAP2hBxZco2qguPtKOkprJqZ17rJ1R0aFTybuks%2BRIpjXrwkTHWuQXpYID6x60dhatCp0vTz%2Fbo6HJ8pcfhSGIv0J25%2B4AmP8mhnpxyhbTuawCV5c97eZJd%2Bal0wLqXcgSLwcfi3PEBKxi7HraAIv8993xNJeACE2rsxxX3fQkF2RsdcfugeSUJHlophN1jHVgo4pda6HrMmDvx7kKG2X%2BwZsEFlPoA9Tb0DhhLs7WfdMQSf7Kff5qxWW7xk9DeInhpKrgHvLT3fxWXBVJfEyQAR1FoL8dw4iZhObJ4xWIAI4934P5%2BMRbWWqpYkmbDDdMIChpoEGOusBrIwcO72%2F4YV6z7FCvTdDaiPpnGhkT%2Bvw13uUjH50Psy%2FWr9jFDSsuOpUbXe4qRKvJfOKASm09hkQRBwn9i2HMf2Wm6ngiikkSOXjW4%2BbfUYXfUQVJwp5NzQHJz0nZD1j7SiUhjOzPFB0hl15Ng8qt3nCl2p2cdNiQMKsFVqaoVVDLwxsAKstCmyepWj6eEIK8XVM8QMs5X4TB5A26wuxYWHJ7FVKFixvdQZaL9rj9kr%2FArzQf33OXi5tgUOOoTzvGyAWXQ6Fm5VuoDBm%2BtOvpiZEPKUkA8g87LOmDit63YQ0DuoWW8ynApTI%2Fw%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20210214T222745Z&X-Amz-SignedHeaders=host&X-Amz-Expires=1200&X-Amz-Credential=ASIATQE4V2AC6RSZ4KYJ%2F20210214%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=44f413160295c2545856b9db369c96a43ac314b7d3b6ff130b8a0b9d11106219 -->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" data-bubblesppbfhhgcdehhbjigifndnfmcihegokbbprevent-events-conflict-installed="true"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>

</title>
<!--[if !mso]><!-- -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--<![endif]-->

<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
#outlook a { padding:0; }
body { margin:0;padding:0;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%; }
table, td { border-collapse:collapse;mso-table-lspace:0pt;mso-table-rspace:0pt; }
img { border:0;height:auto;line-height:100%; outline:none;text-decoration:none;-ms-interpolation-mode:bicubic; }
p { display:block;margin:13px 0; }
</style>
<!--[if mso]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
<!--[if lte mso 11]>
<style type="text/css">
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]-->


<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 { width:100% !important; max-width: 100%; }
}
</style>


<style type="text/css">


</style>


</head>
<body style="background-color:#ffffff;" data-new-gr-c-s-check-loaded="14.995.0" data-gr-ext-installed="">


<div style="background-color:#ffffff;">


<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->


<div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;">

<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;background-color:#ffffff;width:100%;">
<tbody>
<tr>
<td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:600px;"
>
<![endif]-->

<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">

<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">

<tbody><tr>
<td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;">

<div style="font-family:Helvetica, serif;font-size:13px;font-weight:400;line-height:23px;text-align:left;color:#000000;"><a draggable="true" href="https://s3.amazonaws.com/prod-content.postohub.io/user/Google_112378731222467489231/template/adf84904-05fe-4267-88f5-94b5e6e2cbbc/adf84904-05fe-4267-88f5-94b5e6e2cbbc.html?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEBYaCXVzLWVhc3QtMSJHMEUCIB5MrMXp%2BemIwGyU%2BTceJhwxRILOAcVMu%2FLdiJBrRlHYAiEAiOxcTjzntEtfknq9HmthThhsbO%2BP%2Fi4iQZl%2Fg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p;X-Amz-Credential=ASIATQE4V2AC6RSZ4KYJ%2F20210214%2Fus-east-1%2Fs3%2Faws4_request&amp;X-Amz-Signature=44f413160295c2545856b9db369c96a43ac314b7d3b6ff130b8a0b9d11106219" class="link"></a>Hi,<div><br></div><div>&nbsp;Thank you for reaching out. I have a few questions about the job and the whole hiring process.</div><div><div>- Does the company work remotely now? What's is the current policy?&nbsp;</div><div>- If you work from home are there any specific dates of when you plan to return to the office?</div><div>- What does the hiring process look like?</div><div>- How long does the hiring process usually take?</div><div>- I would like to get ready for the interview. What should I focus on? Whiteboarding, algorithms or technology?</div><div>- Is it be a full-time or contract position?</div></div><div><br></div><div>How is your <a draggable="true" href="https://calendly.com/denis-gonor/15min" class="link">availability</a> to catch up for 15 min this week?</div><div><br></div><div>Here is my resume - <a href="https://docs.google.com/document/d/1_8GAgTrcYDELGbOFJF3BFKMdBm9dAbZQHJwt2eQOEQM/edit?usp=sharing" class="link">link</a>.</div><div><br></div><div>--&nbsp;</div><div>Best,</div><div>Dennis Gonor</div><div draggable="true"><div draggable="true"><a draggable="true" href="mailto:dennis.gonor@gmail.com" title="dennis.gonor@gmail.com" data-bx-clean-attribute="title" id="iu564">dennis.gonor@gmail.com</a><span id="igwrv">&nbsp;|&nbsp;</span><a draggable="false" href="https://calendly.com/denis-gonor/15min" target="_blank" title="Link: https://calendly.com/denis-gonor/15min" data-bx-clean-attribute="title" id="i2mrl">Schedule an interview</a><span id="i7ued">&nbsp;</span></div></div></div>

</td>
</tr>

</tbody></table>

</div>

<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>

</div>


<!--[if mso | IE]>
</td>
</tr>
</table>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->


<div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;">

<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;background-color:#ffffff;width:100%;">
<tbody>
<tr>
<td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;padding-top:0;text-align:center;">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>

</div>


<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->


</div>



</body></html>
8 changes: 0 additions & 8 deletions functions/files/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@
<td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:600px;"
>
Expand All @@ -94,9 +92,7 @@

<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
Expand All @@ -111,7 +107,6 @@
</td>
</tr>
</table>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"
>
Expand All @@ -128,11 +123,8 @@
<td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;padding-top:0;text-align:center;">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
</tr>
</table>
<![endif]-->
</td>
Expand Down
Loading

0 comments on commit 6b9eef4

Please sign in to comment.