mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-09 12:57:48 +00:00
fix links
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user