fix: use relative links

This commit is contained in:
Daylin Morgan 2023-11-13 14:29:21 -06:00
parent ebac9e921a
commit 870f74a5a2
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
2 changed files with 2 additions and 2 deletions

View file

@ -13,6 +13,6 @@
</head>
<body id="body" class="text-ctp-text max-w-screen bg-ctp-base flex items-center justify-center">
<div id="ROOT"></div>
<script type="text/javascript" src="/nimpkgs.js"></script>
<script type="text/javascript" src="nimpkgs.js"></script>
</body>
</html>

View file

@ -170,7 +170,7 @@ proc searchBar(): Vnode =
proc headerBar(): VNode =
result = buildHtml(tdiv(class = "mt-5 mx-5 flex flex-wrap")):
tdiv(class = "flex items-center my-3 grow"):
img(src = "/img/logo.svg", class = "inline h-1em md:h-2em px-1")
img(src = "img/logo.svg", class = "inline h-1em md:h-2em px-1")
span(class = "font-bold md:text-4xl text-lg",
style = "font-variation-settings: 'CASL' 1".toCss):
text "pkgs"