fix links

This commit is contained in:
tglide
2023-10-26 17:30:21 +01:00
parent d4269b05f6
commit 2597c45b41
2 changed files with 3 additions and 3 deletions

View File

@@ -61,7 +61,7 @@
<ul class="tutorial-grid">
{#each data.tutorials as tutorial}
<li>
<a href="/docs/tutorials/react" class="aw-card is-normal">
<a href={tutorial.href} class="aw-card is-normal">
<header>
<span
class="{getIcon(tutorial)} aw-u-font-size-24"
@@ -81,7 +81,7 @@
<ul class="tutorial-grid">
{#each data.drafts as draft}
<li>
<a href="/docs/tutorials/react" class="aw-card is-normal draft">
<a href={draft.href} class="aw-card is-normal draft">
<header>
<span
class="{getIcon(draft)} aw-u-font-size-24"

View File

@@ -23,7 +23,7 @@ export async function load() {
title: frontmatter.title,
framework: frontmatter.framework,
draft: frontmatter.draft,
href: `${base}/blog/post/${tutorialName}`
href: `${base}/docs/tutorials/${tutorialName}`
};
})
.sort((a, b) => {