Skip to content

Commit fb0742b

Browse files
committed
Merge branch 'master' into dev
2 parents 805515d + fab782e commit fb0742b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

app/[locale]/developers/tutorials/_components/tutorials.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ const TutorialsList = ({ internalTutorials }: TutorialsListProps) => {
414414
key={tutorial.href}
415415
href={tutorial.href ?? undefined}
416416
className="block w-full space-y-6 border-b p-8 no-underline duration-100 hover:bg-background-highlight"
417+
hideArrow
417418
>
418419
<Flex className="flex-col items-start justify-between gap-y-4 md:flex-row">
419420
<h3 className="relative me-0 text-2xl font-semibold text-body md:me-24">

src/lib/utils/md.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const getTutorialsData = async (
112112
const frontmatter = data as Frontmatter
113113

114114
return {
115-
href: `/${locale}/developers/tutorials/${slug}`,
115+
href: `/developers/tutorials/${slug}`,
116116
title: frontmatter.title,
117117
description: frontmatter.description,
118118
author: frontmatter.author || "",

src/lib/utils/url.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const isMailto = (href: string): boolean => href.includes("mailto:")
1717
export const isExternal = (href: string): boolean =>
1818
href.includes("http") ||
1919
isMailto(href) ||
20-
href.includes("ipfs") ||
20+
href.includes("ipfs://") ||
2121
isDiscordInvite(href)
2222

2323
export const isGlossary = (href: string): boolean =>

0 commit comments

Comments
 (0)