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

View File

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