Skip to content

Commit

Permalink
backport referrals
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Oct 29, 2024
1 parent 1093ee3 commit 346bfc6
Show file tree
Hide file tree
Showing 12 changed files with 1,698 additions and 0 deletions.
15 changes: 15 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,19 @@ export default defineNuxtConfig({
color: "#1c1c26",
},
],
script: [
{
hid: "referralhero",
innerHTML: `
!function(m,a,i,t,r,e){if(m.RH)return;r=m.RH={},r.uuid=t,r.loaded=0,r.base_url=i,r.queue=[],m.rht=function(){r.queue.push(arguments)};e=a.getElementsByTagName('script')[0],c=a.createElement('script');c.async=!0,c.src='https://referralhero-global-code.s3.amazonaws.com/'+'production'+'/'+t+'.js',e.parentNode.insertBefore(c,e)}(window,document,'https://app.referralhero.com/','RHd320fee641');
`,
type: "text/javascript",
charset: "utf-8",
},
],
__dangerouslyDisableSanitizersByTagID: {
referralhero: ["innerHTML"],
},
},
},
experimental: {
Expand All @@ -72,6 +85,8 @@ export default defineNuxtConfig({
"/teerdays": { ssr: false },
"/gtn": { ssr: false },
"/teerdays-lp": { ssr: false },
"/referral": { ssr: false },
"/referraltc": { ssr: false },
},
imports: {
autoImport: false,
Expand Down
Loading

0 comments on commit 346bfc6

Please sign in to comment.