Skip to content

Commit 506c2de

Browse files
committed
fix some home page SEO
1 parent 0a4032b commit 506c2de

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/webpage/home.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<title>Jank Client</title>
77
<meta content="Jank Client" property="og:title" />
88
<meta content="A spacebar client that has DMs, replying and more" property="og:description" />
9+
<meta content="A spacebar client that has DMs, replying and more" name="description" />
910
<meta content="/logo.webp" property="og:image" />
1011
<meta content="#4b458c" data-react-helmet="true" name="theme-color" />
1112
<link href="/style.css" rel="stylesheet" />
@@ -24,7 +25,7 @@
2425

2526
<body class="no-theme" style="overflow-y: scroll">
2627
<div id="titleDiv">
27-
<img src="/logo.svg" width="40" />
28+
<img src="/logo.svg" width="40" alt="" />
2829
<h1 id="pageTitle">Jank Client</h1>
2930
<a href="/invite/USgYJo?instance=https%3A%2F%2Fspacebar.chat" class="TitleButtons">
3031
Spacebar Guild

src/webpage/home.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ fetch("/instances.json")
8181
div.classList.add("flexltr", "instance");
8282
if (instance.image) {
8383
const img = document.createElement("img");
84+
img.alt = I18n.home.icon(instance.name);
8485
img.src = instance.image;
8586
div.append(img);
8687
}

src/webpage/robots.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
User-agent: *
22
Disallow: /channel/
33
Allow: /invite/
4-
Allow: /oath2/
4+
Allow: /oauth2/
55
Allow: /login
66
Allow: /register
7+
Allow: /

0 commit comments

Comments
 (0)