Skip to content

Commit 6078a31

Browse files
feat: Add stellerom logo and update favicon
1 parent 6125832 commit 6078a31

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

app/dev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env -S deno run -A --watch=static/,routes/
1+
#!/usr/bin/env -S deno run -A --watch=static/,routes/,utils/
22

33
import dev from "$fresh/dev.ts";
44
import config from "./fresh.config.ts";

app/static/favicon.ico

56.3 KB
Binary file not shown.

app/static/logo.png

43.2 KB
Loading

app/utils/Header.tsx

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,27 @@ export default function Header({ isSignedIn, userName }: HeaderProps) {
77
return (
88
<header class="flex justify-between items-center">
99
<a href="/">
10-
<h1 class="text-xl font-light">Stellerom.no</h1>
10+
<img src="/logo.png" style="max-height: 5rem;" alt="Stellerom logo" />
1111
</a>
1212
{isSignedIn && (
1313
<span>
1414
<a href="/profile">👤{userName}</a>{" "}
15-
<a class="p-2 border rounded" href="/auth/signout">Logg ut</a>
15+
<a
16+
class="p-2 inline-block whitespace-nowrap border rounded"
17+
href="/auth/signout"
18+
>
19+
Logg ut
20+
</a>
1621
</span>
1722
) || (
1823
<span>
1924
🫥Ikke innlogget{" "}
20-
<a class="p-2 border rounded" href="/auth/signin">Logg inn</a>
25+
<a
26+
class="p-2 inline-block whitespace-nowrap border rounded"
27+
href="/auth/signin"
28+
>
29+
Logg inn
30+
</a>
2131
</span>
2232
)}
2333
</header>

0 commit comments

Comments
 (0)