Skip to content

Commit bb190c0

Browse files
committed
Merge branch 'dev' into lazy-find-wallets
2 parents 82ec9bc + f028602 commit bb190c0

File tree

40 files changed

+1161
-1333
lines changed

40 files changed

+1161
-1333
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ NEXT_PUBLIC_MATOMO_URL=
3131
NEXT_PUBLIC_MATOMO_SITE_ID=
3232

3333
# Used to avoid loading Matomo in our preview deploys
34-
IS_PREVIEW_DEPLOY=false
34+
NEXT_PUBLIC_IS_PREVIEW_DEPLOY=false
3535

3636
# Build pages only for the specified langs. Leave it empty to build all the langs
3737
# e.g. `en,fr` will only build English and French pages

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import React, {
88
useMemo,
99
useState,
1010
} from "react"
11+
import { ExternalLink } from "lucide-react"
1112
import { useLocale } from "next-intl"
1213

1314
import { ITutorial, Lang } from "@/lib/types"
@@ -198,13 +199,11 @@ const TutorialsList = ({ internalTutorials }: TutorialsListProps) => {
198199
href={tutorial.href ?? undefined}
199200
>
200201
<Flex className="mb-8 flex-col items-start justify-between gap-y-4 md:-mb-4 md:flex-row">
201-
<Text
202-
className={cn(
203-
"relative me-0 text-2xl font-semibold text-body after:ml-2 after:inline-block after:italic after:transition-all after:duration-100 after:ease-in-out after:content-['↗'] md:me-24",
204-
tutorial.isExternal ? "after:inline-block" : "after:hidden"
205-
)}
206-
>
202+
<Text className="relative me-0 text-2xl font-semibold text-body md:me-24">
207203
{tutorial.title}
204+
{tutorial.isExternal && (
205+
<ExternalLink className="mb-[0.25em] ms-[0.25em] inline-block size-[0.875em]" />
206+
)}
208207
</Text>
209208
<Tag variant="outline">
210209
<Translation id={getSkillTranslationId(tutorial.skill!)} />

0 commit comments

Comments
 (0)