Skip to content

Commit

Permalink
Add HN
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Dec 29, 2024
1 parent 3fbecdd commit 6380592
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,35 @@ export default function RootLayout({
disabled={process.env.NODE_ENV !== "production"}
/>
{children}

<div className="fixed bottom-4 right-4 flex items-center gap-2">
<a
href="https://dub.sh/lng"
target="_blank"
rel="noreferrer"
className="flex items-center gap-2"
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
fill="none"
>
<g clipPath="url(#a)">
<path
fill="#F60"
d="M0 0v16h16V0H0Zm8.7 9.225v3.925H7.275V9.225L3.775 2.3h1.65L8 7.525 10.65 2.3h1.55L8.7 9.225Z"
/>
</g>
<defs>
<clipPath id="a">
<path fill="#fff" d="M0 0h16v16H0z" />
</clipPath>
</defs>
</svg>
<span>Live on Hacker News</span>
</a>
</div>
</body>
</html>
);
Expand Down

0 comments on commit 6380592

Please sign in to comment.