Skip to content

Commit

Permalink
add profile links up top
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhonas committed May 13, 2024
1 parent 7452563 commit dfc54fd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
// interface Props {
// title: string;
// }
const { title, description } = Astro.props['content'];
import resume from '../../resume/resume.clintp.json';
---

<!doctype html>
Expand All @@ -24,6 +23,11 @@ const { title, description } = Astro.props['content'];
<img src="/favicon.svg" class="inline-block w-8 object-cover rounded mr-2"/>
<h1 class="text-lg font-bold">$ ./clintp.xyz</h1>
</a>
<nav class="flex gap-4">
{ resume.basics.profiles.map(profile => (
<a href={ profile.url } class="hover:underline" rel="noopener" target="_blank">{ profile.network }</a>
))
}
</div>
</header>
<article class="mx-auto max-w-3xl p-4 text-white selection:bg-black selection:text-white leading-7 text-lg">
Expand Down

0 comments on commit dfc54fd

Please sign in to comment.