-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d59484a
commit 361d07c
Showing
19 changed files
with
18 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,15 +48,6 @@ export default function Meta() { | |
href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" | ||
rel="stylesheet" | ||
/> | ||
|
||
{/* Intercom */} | ||
<script | ||
type="text/javascript" | ||
dangerouslySetInnerHTML={{ | ||
__html: `window.INTERCOM_APP_ID='${env.NEXT_PUBLIC_INTERCOM_APP_ID}';(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/' + window.INTERCOM_APP_ID;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);}}})();`, | ||
}} | ||
/> | ||
{/* End Intercom */} | ||
</Head> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { BrowserUtil, usePlaid } from '@maybe-finance/client/shared' | ||
import { usePlaid } from '@maybe-finance/client/shared' | ||
import { Disclosure, Transition } from '@headlessui/react' | ||
import { RiArrowUpSFill } from 'react-icons/ri' | ||
import { Button, LoadingSpinner } from '@maybe-finance/design-system' | ||
|
@@ -56,14 +56,9 @@ export default function OAuth() { | |
</li> | ||
<li> | ||
Still not working?{' '} | ||
<button | ||
onClick={() => | ||
BrowserUtil.showIntercom() | ||
} | ||
className="underline text-cyan" | ||
> | ||
<a className="underline text-cyan" href="mailto:[email protected]"> | ||
Let us know! | ||
</button> | ||
</a> | ||
</li> | ||
</ul> | ||
</Disclosure.Panel> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ import { | |
RiMore2Fill, | ||
} from 'react-icons/ri' | ||
import { HiOutlineSparkles } from 'react-icons/hi' | ||
import { BrowserUtil } from '@maybe-finance/client/shared' | ||
import Link from 'next/link' | ||
import { AnimatePresence, motion } from 'framer-motion' | ||
|
||
|
@@ -399,13 +398,11 @@ export function SidebarOnboarding({ onClose, onHide }: Props) { | |
</Disclosure> | ||
|
||
<p className="text-sm text-gray-100"> | ||
If you have any issues with connecting accounts, please let us know{' '} | ||
<button | ||
onClick={() => BrowserUtil.showIntercom()} | ||
className="text-cyan cursor-pointer hover:underline" | ||
> | ||
via live chat | ||
</button> | ||
If you have any issues with connecting accounts,{' '} | ||
<a className="text-cyan underline" href="mailto:[email protected]"> | ||
please let us know | ||
</a> | ||
. | ||
</p> | ||
</> | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { useAuth0 } from '@auth0/auth0-react' | ||
import { BoxIcon, BrowserUtil, linkAuth0AccountCtx, useUserApi } from '@maybe-finance/client/shared' | ||
import { BoxIcon, linkAuth0AccountCtx, useUserApi } from '@maybe-finance/client/shared' | ||
import { Button, DialogV2 } from '@maybe-finance/design-system' | ||
import { useQueryClient } from '@tanstack/react-query' | ||
import { useState } from 'react' | ||
|
@@ -253,12 +253,9 @@ function LinkError({ onClose, error }: { onClose(): void; error: string }) { | |
|
||
<p className="mb-2 text-gray-50 text-base">{error}</p> | ||
|
||
<button | ||
className="underline text-cyan text-base mb-6" | ||
onClick={BrowserUtil.showIntercom} | ||
> | ||
<a className="underline text-cyan text-base mb-6" href="mailto:[email protected]"> | ||
Please contact us. | ||
</button> | ||
</a> | ||
|
||
<div className="flex w-full gap-4"> | ||
<Button fullWidth onClick={onClose}> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.