Skip to content

Commit

Permalink
Update _app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptedAlchemy authored Nov 30, 2023
1 parent 7c11822 commit bce07bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function getUrlParams(search) {
gtag('js', new Date());
gtag('config', 'UA-120967034-1');
var redirect = getUrlParams(window.location.href).utm_medium
if(redirect) window.location.replace(redirect)
if(redirect) { window.location.replace(redirect)} else {window.location.replace('https://module-federation.io/')}
window.onload = function() { Calendly.initBadgeWidget({ url: 'https://calendly.com/scripted-alchemy/30-meeting-1-1', text: 'Schedule time with us', color: '#006bff', textColor: '#ffffff', branding: true }); }
`
function MyApp ({ Component, pageProps }) {
Expand All @@ -34,6 +34,7 @@ function MyApp ({ Component, pageProps }) {
<link rel="prerender" href="/blog"/>
<meta name='description' content={config.description} />
<script dangerouslySetInnerHTML={{ __html: tracking }} />
<link rel="canonical" href="https://module-federation.io/"/>
<link href="https://assets.calendly.com/assets/external/widget.css" rel="stylesheet"/>
<script src="https://assets.calendly.com/assets/external/widget.js" type="text/javascript" async/>
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
Expand Down

0 comments on commit bce07bb

Please sign in to comment.