Finish adding blog posts
This commit is contained in:
parent
4a3ee88f77
commit
cf180442c3
21 changed files with 178 additions and 40 deletions
|
|
@ -4,15 +4,16 @@ import BaseLayout from "./BaseLayout.astro";
|
|||
import logoBM from "../assets/images/logo_bm.png";
|
||||
import { t } from "../i18n";
|
||||
import {
|
||||
IconHome,
|
||||
IconBlog,
|
||||
IconBook,
|
||||
IconBriefcase,
|
||||
IconGamepad,
|
||||
IconHome,
|
||||
IconMagnifyingGlass,
|
||||
IconMoon,
|
||||
IconSquareRSS,
|
||||
IconSun,
|
||||
IconMoon,
|
||||
IconMagnifyingGlass,
|
||||
IconTags,
|
||||
IconGamepad,
|
||||
IconBook,
|
||||
} from "../components/icons";
|
||||
|
||||
type Props = {
|
||||
|
|
@ -80,6 +81,12 @@ const isCurrentRoute = (path: string) =>
|
|||
<span class="order-3 group-hover:underline group-focus:underline">Games</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="u-url text-link group" href="/blog" aria-current={isCurrentRoute("/blog") ? "page" : undefined}>
|
||||
<IconBlog width="1.25rem" height="1.25rem" class="order-1 inline align-text-top" />
|
||||
<span class="order-3 group-hover:underline group-focus:underline">Blog posts</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="u-url text-link group" href="/tags" aria-current={isCurrentRoute("/tags") ? "page" : undefined}>
|
||||
<IconTags width="1.25rem" height="1.25rem" class="order-1 inline align-text-top" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue