Skip to content

Commit

Permalink
added slash after some urls
Browse files Browse the repository at this point in the history
  • Loading branch information
paur94 committed Oct 31, 2024
1 parent 5dc132d commit eaecd8d
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion components/Input/TransferCEX.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const TransferCEX: FC<Props> = ({ direction }) => {
const sourceLogo = fromExchange ? fromExchange.logo : from?.logo
const destinationLogo = toExchange ? toExchange.logo : to?.logo

const learnMoreUrl = fromExchange ? 'https://docs.layerswap.io/user-docs/layerswap-app/transfer-from-cex' : 'https://docs.layerswap.io/user-docs/layerswap-app/transfer-to-cex'
const learnMoreUrl = fromExchange ? 'https://docs.layerswap.io/user-docs/layerswap-app/transfer-from-cex/' : 'https://docs.layerswap.io/user-docs/layerswap-app/transfer-to-cex/'

return (<div className="font-normal flex flex-col w-full relative z-10 my-3 pb-4 border-b-2 border-b-secondary">
<div className="w-full px-2.5 space-y-2">
Expand Down
16 changes: 8 additions & 8 deletions components/LayerswapMenu/MenuList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ const MenuList: FC<{ goToStep: (step: MenuStep, path: string) => void }> = ({ go
<Menu.Item pathname='https://docs.layerswap.io/' target="_blank" icon={<BookOpen className="h-5 w-5" />} >
Docs for Users
</Menu.Item>
<Menu.Item pathname='https://docs.layerswap.io/user-docs/partners-and-integrations' target="_blank" icon={<Users className="h-5 w-5" />} >
<Menu.Item pathname='https://docs.layerswap.io/user-docs/partners-and-integrations/' target="_blank" icon={<Users className="h-5 w-5" />} >
Docs for Partners
</Menu.Item>
</Menu.Group>

<Menu.Group>
<Menu.Item pathname='https://docs.layerswap.io/user-docs/more-information/privacy-policy' target="_blank" icon={<Shield className="h-5 w-5" />} >
<Menu.Item pathname='https://docs.layerswap.io/user-docs/more-information/privacy-policy/' target="_blank" icon={<Shield className="h-5 w-5" />} >
Privacy Policy
</Menu.Item>
<Menu.Item pathname='https://docs.layerswap.io/user-docs/more-information/terms-of-services' target="_blank" icon={<LibraryIcon className="h-5 w-5" />} >
<Menu.Item pathname='https://docs.layerswap.io/user-docs/more-information/terms-of-services/' target="_blank" icon={<LibraryIcon className="h-5 w-5" />} >
Terms of Service
</Menu.Item>
</Menu.Group>
Expand Down Expand Up @@ -177,25 +177,25 @@ const navigation = {
social: [
{
name: 'Twitter',
href: 'https://twitter.com/layerswap',
href: 'https://twitter.com/layerswap/',
icon: (props) => TwitterLogo(props),
className: 'plausible-event-name=Twitter'
},
{
name: 'GitHub',
href: 'https://github.com/layerswap/layerswapapp',
href: 'https://github.com/layerswap/layerswapapp/',
icon: (props) => GitHubLogo(props),
className: 'plausible-event-name=GitHub'
},
{
name: 'Discord',
href: 'https://discord.com/invite/KhwYN35sHy',
href: 'https://discord.com/invite/KhwYN35sHy/',
icon: (props) => DiscordLogo(props),
className: 'plausible-event-name=Discord'
},
{
name: 'YouTube',
href: 'https://www.youtube.com/@layerswaphq',
href: 'https://www.youtube.com/@layerswaphq/',
icon: (props) => YoutubeLogo(props),
className: 'plausible-event-name=Youtube'
},
Expand All @@ -207,7 +207,7 @@ const navigation = {
},
{
name: 'Roadmap',
href: 'https://layerswap.ducalis.io/roadmap/summary',
href: 'https://layerswap.ducalis.io/roadmap/summary/',
icon: (props) => <Map {...props}></Map>,
className: 'plausible-event-name=Roadmap'
},
Expand Down
2 changes: 1 addition & 1 deletion components/SolanaProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function SolanaProvider({ children }: { children: ReactNode }) {
metadata: {
name: 'Layerwap',
description: 'Layerswap App',
url: 'https://layerswap.io/app',
url: 'https://layerswap.io/app/',
icons: ['https://www.layerswap.io/app/symbol.png'],
},
},
Expand Down
2 changes: 1 addition & 1 deletion components/Swap/Withdraw/Coinbase/Authorize.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const Authorize: FC<Props> = ({ onAuthorized, hideHeader }) => {
<div className="pt-2 font-normal text-xs text-secondary-text">
<p className="block font-lighter text-left">
<span>Even after authorization Layerswap can&apos;t initiate a withdrawal without your explicit confirmation.&nbsp;</span>
<a target='_blank' href='https://docs.layerswap.io/user-docs/connect-a-coinbase-account' className='text-primary-text underline hover:no-underline decoration-white cursor-pointer'>Learn more</a></p>
<a target='_blank' href='https://docs.layerswap.io/user-docs/connect-a-coinbase-account/' className='text-primary-text underline hover:no-underline decoration-white cursor-pointer'>Learn more</a></p>
</div>
</div>
</Widget.Footer>
Expand Down
2 changes: 1 addition & 1 deletion components/Swap/Withdraw/Failed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Delay: FC = () => {
return (
<div>
<p className='text-md '><span>This usually means that the exchange needs additional verification.</span>
<Link target='_blank' href="https://docs.layerswap.io/user-docs/why-is-coinbase-transfer-taking-so-long"
<Link target='_blank' href="https://docs.layerswap.io/user-docs/why-is-coinbase-transfer-taking-so-long/"
className='disabled:text-opacity-40 disabled:bg-primary-900 disabled:cursor-not-allowed ml-1 underline hover:no-underline cursor-pointer'>Learn More</Link></p>
<ul className="list-inside list-decimal font-light space-y-1 mt-2 text-left text-primary-text ">
<li>Check your email for details from Coinbase</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const ImtblxWalletWithdrawStep: FC<WithdrawPageProps> = ({ amount, depositAddres
<span className='flex-none'>
Learn how to send from
</span>
<GuideLink text={network?.display_name} userGuideUrl='https://docs.layerswap.io/user-docs/your-first-swap/off-ramp/send-assets-from-immutablex' />
<GuideLink text={network?.display_name} userGuideUrl='https://docs.layerswap.io/user-docs/your-first-swap/off-ramp/send-assets-from-immutablex/' />
</WarningMessage>
{
imxAccount &&
Expand Down
2 changes: 1 addition & 1 deletion components/Swap/Withdraw/Wallet/ZKsyncWalletWithdraw.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const ZkSyncWalletWithdrawStep: FC<WithdrawPageProps> = ({ amount, depositAddres
<p>You can learn more about account activation and the associated fee</p>
</span>
</span>
<a target='_blank' className='text-primary underline hover:no-underline decoration-primary cursor-pointer' href="https://docs.zksync.io/userdocs/faq/#what-is-the-account-activation-fee">in the zkSync Lite FAQ</a>
<a target='_blank' className='text-primary underline hover:no-underline decoration-primary cursor-pointer' href="https://docs.zksync.io/userdocs/faq/#what-is-the-account-activation-fee/">in the zkSync Lite FAQ</a>
</p>
} />
</p>
Expand Down
4 changes: 2 additions & 2 deletions components/VerifyEmailCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ const VerifyEmailCode: FC<VerifyEmailCodeProps> = ({ onSuccessfullVerify, disclo
setShowDocModal(true)
}

const handleOpenTerms = () => openDoc('https://docs.layerswap.io/user-docs/information/terms-of-services')
const handleOpenPrivacyPolicy = () => openDoc('https://docs.layerswap.io/user-docs/information/privacy-policy')
const handleOpenTerms = () => openDoc('https://docs.layerswap.io/user-docs/information/terms-of-services/')
const handleOpenPrivacyPolicy = () => openDoc('https://docs.layerswap.io/user-docs/information/privacy-policy/')

const timerCountdown = userLockedOut ? 600 : 60

Expand Down
22 changes: 11 additions & 11 deletions components/globalFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,37 @@ const GLobalFooter = () => {
const footerNavigation = {
main: [
{ name: 'Product', href: '/' },
{ name: 'Company', href: '/company' },
{ name: 'FAQ', href: '/faq' },
{ name: 'Privacy Policy', href: 'https://docs.layerswap.io/user-docs/more-information/privacy-policy' },
{ name: 'Terms of Services', href: 'https://docs.layerswap.io/user-docs/more-information/terms-of-services' },
{ name: 'Company', href: '/company/' },
{ name: 'FAQ', href: '/faq/' },
{ name: 'Privacy Policy', href: 'https://docs.layerswap.io/user-docs/more-information/privacy-policy/' },
{ name: 'Terms of Services', href: 'https://docs.layerswap.io/user-docs/more-information/terms-of-services/' },
{ name: 'Docs', href: 'https://docs.layerswap.io/onboarding-sdk/' },
],
social: [
{
name: 'Twitter',
href: 'https://twitter.com/layerswap',
href: 'https://twitter.com/layerswap/',
icon: () => (
<TwitterLogo className="h-6 w-6" aria-hidden="true" />
),
},
{
name: 'Discord',
href: 'https://discord.gg/layerswap',
href: 'https://discord.gg/layerswap/',
icon: () => (
<DiscordLogo className="h-6 w-6" aria-hidden="true" />
),
},
{
name: 'GitHub',
href: 'https://github.com/layerswap/layerswapapp',
href: 'https://github.com/layerswap/layerswapapp/',
icon: () => (
<GitHubLogo className="h-6 w-6" aria-hidden="true" />
),
},
{
name: 'YouTube',
href: 'https://www.youtube.com/@layerswaphq',
href: 'https://www.youtube.com/@layerswaphq/',
icon: () => (
<YoutubeLogo className="h-6 w-6" aria-hidden="true" />
),
Expand All @@ -59,10 +59,10 @@ const GLobalFooter = () => {
<div className=" flex justify-between items-center w-full">
<div>
<div className="flex mt-3 md:mt-0 gap-6">
<Link target="_blank" href="https://docs.layerswap.io/user-docs/more-information/privacy-policy" className="text-xs leading-6 text-primary-text-muted underline hover:no-underline hover:text-opacity-70 duration-200 transition-all">
<Link target="_blank" href="https://docs.layerswap.io/user-docs/more-information/privacy-policy/" className="text-xs leading-6 text-primary-text-muted underline hover:no-underline hover:text-opacity-70 duration-200 transition-all">
Privacy Policy
</Link>
<Link target="_blank" href="https://docs.layerswap.io/user-docs/more-information/terms-of-services" className="text-xs leading-6 text-primary-text-muted underline hover:no-underline hover:text-opacity-70 duration-200 transition-all">
<Link target="_blank" href="https://docs.layerswap.io/user-docs/more-information/terms-of-services/" className="text-xs leading-6 text-primary-text-muted underline hover:no-underline hover:text-opacity-70 duration-200 transition-all">
Terms of Services
</Link>
</div>
Expand Down Expand Up @@ -108,7 +108,7 @@ const TestnetNewsComponent = () => {
</div>
<span className="text-primary-text">Soneium Minato and 8+ other chains</span> <span>are now available in Layerswap v8</span>
</div>
<Link href='https://layerswap.io/v8' target="_blank" className="flex items-center gap-1 underline hover:no-underline">
<Link href='https://layerswap.io/v8/' target="_blank" className="flex items-center gap-1 underline hover:no-underline">
<p>
layerswap.io/v8
</p>
Expand Down
2 changes: 1 addition & 1 deletion lib/AppSettings.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default class AppSettings {
static LayerswapBridgeApiUri?: string = process.env.NEXT_PUBLIC_LS_BRIDGE_API;
static LayerswapApiUri?: string = process.env.NEXT_PUBLIC_LS_API
static ExplorerURl: string = `https://www.layerswap.io/explorer`
static ExplorerURl: string = `https://www.layerswap.io/explorer/`
static ApiVersion?: string = process.env.NEXT_PUBLIC_API_VERSION
}
2 changes: 1 addition & 1 deletion lib/wallets/starknet/useStarknet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function useStarknet(): WalletProvider {
options: {
dappName: 'Layerswap',
projectId: WALLETCONNECT_PROJECT_ID,
url: 'https://www.layerswap.io/app',
url: 'https://www.layerswap.io/app/',
description: 'Move crypto across exchanges, blockchains, and wallets.',
}
}))
Expand Down

0 comments on commit eaecd8d

Please sign in to comment.