Skip to content

Commit

Permalink
feat(bookmarks): add link
Browse files Browse the repository at this point in the history
  • Loading branch information
noghartt committed Aug 26, 2024
1 parent d61f371 commit 476fb6c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/pages/bookmarks/tags/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import GoBackButton from '../../../components/GoBackButton.astro';
import bookmarksJson from '../_bookmarks.json';
import TreeNode from './_TreeNode.astro';
import Link from '../../../components/Link.astro';
const bookmarksData = bookmarksJson.data;
Expand Down Expand Up @@ -78,7 +79,12 @@ const sanitizeTag = (tag: string) => tag.replaceAll(/\//g, '-');
---

<Layout>
<GoBackButton />
<div class="header">
<GoBackButton />
<Link href="/bookmarks">
Bookmarks
</Link>
</div>
<section class="posts">
<section>
<h2>bookmarks.</h2>
Expand All @@ -101,6 +107,11 @@ const sanitizeTag = (tag: string) => tag.replaceAll(/\//g, '-');
</Layout>

<style>
.header {
display: flex;
gap: var(--spacing-2x);
}

.description {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 476fb6c

Please sign in to comment.