Skip to content

Commit e75dc3b

Browse files
feat: favicon and logo. (#10)
1 parent 5f831b6 commit e75dc3b

4 files changed

Lines changed: 25 additions & 2 deletions

File tree

src/favicon.svg

Lines changed: 1 addition & 0 deletions
Loading

src/index.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
66
<title>@knighted/develop</title>
7+
<link rel="icon" type="image/svg+xml" href="favicon.svg" sizes="any" />
78
<link rel="stylesheet" href="styles.css" />
89
</head>
910
<body>
@@ -14,8 +15,15 @@ <h1>
1415
class="brand-link"
1516
href="https://github.com/knightedcodemonkey/develop"
1617
target="_blank"
17-
rel="noreferrer"
18-
>@knighted/develop</a
18+
rel="noopener noreferrer"
19+
><img
20+
class="brand-logo"
21+
src="logo.svg"
22+
alt=""
23+
aria-hidden="true"
24+
width="24"
25+
height="24"
26+
/><span class="brand-text">@knighted/develop</span></a
1927
>
2028
</h1>
2129
<p>Compiler-as-a-Service (at the edge of your browser).</p>

src/logo.svg

Lines changed: 1 addition & 0 deletions
Loading

src/styles/layout-shell.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,23 @@
1717
}
1818

1919
.brand-link {
20+
display: inline-flex;
21+
align-items: center;
22+
gap: 10px;
2023
color: inherit;
2124
text-decoration: none;
2225
}
2326

27+
.brand-logo {
28+
display: block;
29+
border-radius: 6px;
30+
flex: none;
31+
}
32+
33+
.brand-text {
34+
line-height: 1;
35+
}
36+
2437
.brand-link:hover {
2538
text-decoration: underline;
2639
}

0 commit comments

Comments
 (0)