Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #41 from poap-xyz/release/v0.2.0
Browse files Browse the repository at this point in the history
Migrate chatbot from intercom to zendesk (#40)
  • Loading branch information
SebaPucheta authored Nov 10, 2022
2 parents 0bce6c7 + fe321c0 commit 7acc595
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
/discord https://discord.gg/fcxW4yR 302
/claim/:id https://app.poap.xyz/claim/:id 301
/claim https://app.poap.xyz/claim 301
/faqs https://intercom.help/poap/en/ 301
/faqs https://poap.zendesk.com/hc/en-us 301
/* /index.html 200
19 changes: 6 additions & 13 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,9 @@
gtag('js', new Date());
gtag('config', 'G-J9CYKS5SVV');
</script>
<script>
window.intercomSettings = {
app_id: "syysagea",
custom_launcher_selector:'#intercomChatLauncher'
};
</script>
<script>
// We pre-filled your app ID in the widget URL: 'https://widget.intercom.io/widget/syysagea'
(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/syysagea';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(document.readyState==='complete'){l();}else if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();
</script>
<!-- Start of poap Zendesk Widget script -->
<script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=c407287b-01a1-4b2a-b71d-5215554f1ce8"> </script>
<!-- End of poap Zendesk Widget script -->
</head>

<body>
Expand Down Expand Up @@ -81,8 +74,8 @@
<ul class="dropdown-submenu">
<li><a href="https://poap.ghost.io/" class="sub-item" target="_blank">News</a></li>
<li><a href="https://poap.directory/" class="sub-item" target="_blank">Directory</a></li>
<li><a href="https://intercom.help/poap/en/" class="sub-item" target="_blank">FAQ</a></li>
<li><a href="#" class="sub-item" id="intercomChatLauncher">Help</a></li>
<li><a href="https://poap.zendesk.com/hc/en-us" class="sub-item" target="_blank">FAQ</a></li>
<li><a href="#" class="sub-item" onclick="zE('messenger', 'open')">Help</a></li>

</ul>
</li>
Expand Down Expand Up @@ -162,7 +155,7 @@ <h2 >Why use POAP?</h2>
</p>
<a target="_blank" href="https://app.poap.xyz/admin/events/new">Create your first POAP</a>
<br />
<a target="_blank" href="https://intercom.help/poap/en/articles/5802657-how-do-i-set-up-a-poap-drop">Read the getting started guides</a>
<a target="_blank" href="https://poap.zendesk.com/hc/en-us/articles/9702718846989-How-Do-I-Set-Up-a-POAP-Drop-">Read the getting started guides</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 7acc595

Please sign in to comment.