Fix homepage link

This commit is contained in:
prototypa
2022-09-10 03:55:52 -04:00
parent 7dec2ca97c
commit b1e04c2ea8

View File

@ -1,6 +1,8 @@
--- ---
import { Icon } from "astro-icon"; import { Icon } from "astro-icon";
import { getHomePermalink } from "~/utils/permalinks";
const {} = Astro.props; const {} = Astro.props;
--- ---
@ -9,7 +11,7 @@ const {} = Astro.props;
<div class="grid grid-cols-12 gap-4 gap-y-8 sm:gap-8 py-8 md:py-12 border-t border-gray-200 dark:border-slate-800"> <div class="grid grid-cols-12 gap-4 gap-y-8 sm:gap-8 py-8 md:py-12 border-t border-gray-200 dark:border-slate-800">
<div class="col-span-12 lg:col-span-4"> <div class="col-span-12 lg:col-span-4">
<div class="mb-2"> <div class="mb-2">
<a class="inline-block font-bold text-xl" href="/">AstroWind</a> <a class="inline-block font-bold text-xl" href={getHomePermalink()}>AstroWind</a>
</div> </div>
<div class="text-sm text-gray-600"> <div class="text-sm text-gray-600">
<a <a