Skip to content

Commit

Permalink
fix: Switch to new example
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 committed Dec 4, 2023
1 parent fffc208 commit 307f876
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ const saasifyConfig = {
label: 'Pricing',
to: '/pricing'
},
{
label: 'White Label',
href: 'https://help.reacher.email/white-label-email-verifier'
},
{
label: 'Help Center',
href: 'https://help.reacher.email'
Expand Down
5 changes: 3 additions & 2 deletions src/lib/deployment.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import deployment from './deployment.json'
import example from './example.json'
import example1 from './example1.json'
import example2 from './example2.json'

// There is a bug on the Saasify side, some examples are not updated in
// deployment.json. We populate the example manually.
Expand All @@ -8,7 +9,7 @@ export default {
services: [
{
...deployment.services[0],
examples: [example]
examples: [example2, example1]
}
]
}
File renamed without changes.
39 changes: 39 additions & 0 deletions src/lib/example2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"isGeneratedInput": false,
"isGeneratedOutput": true,
"inputContentType": "application/json",
"outputContentType": "application/json",
"input": {
"to_email": "amaury@reacher.email"
},
"name": "Basic",
"output": {
"input": "amaury@reacher.email",
"is_reachable": "safe",
"misc": {
"is_disposable": false,
"is_role_account": false,
"gravatar_url": null,
"haveibeenpwned": null
},
"mx": {
"accepts_mail": true,
"records": ["mailsec.protonmail.ch.", "mail.protonmail.ch."]
},
"smtp": {
"can_connect_smtp": true,
"has_full_inbox": false,
"is_catch_all": false,
"is_deliverable": true,
"is_disabled": false
},
"syntax": {
"address": "amaury@reacher.email",
"domain": "reacher.email",
"is_valid_syntax": true,
"username": "amaury",
"normalized_email": "amaury@reacher.email",
"suggestion": null
}
}
}

1 comment on commit 307f876

@vercel
Copy link

@vercel vercel bot commented on 307f876 Dec 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.