Add a (simple) logo

This commit is contained in:
Olaf
2026-08-24 22:01:35 +02:00
parent 95992cc466
commit 4ae184f24c
20 changed files with 136 additions and 18 deletions
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 1599 972" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g transform="matrix(1,0,0,1,-771.901,-775.567)">
<g transform="matrix(5.14628,0,0,5.00692,41.3851,-6704.09)">
<g transform="matrix(239.668,0,0,239.668,455.228,1644.94)">
</g>
<text x="130.248px" y="1644.94px" style="font-family:'Asset-Regular', 'Asset';font-size:239.668px;fill:rgb(245,224,220);">L</text>
</g>
<g transform="matrix(0.139428,0,0,0.139428,656.217,1454.62)">
<g transform="matrix(1.02783,0,0,1,-21.8791,0)">
<g transform="matrix(1200,0,0,1200,11689,1802.1)">
</g>
<text x="786.091px" y="1802.1px" style="font-family:'Asset-Regular', 'Asset';font-size:1200px;fill:rgb(203,166,247);">L<tspan x="2432.05px 3507.29px 5279px 6980.56px 8652.17px 10164.4px " y="1802.1px 1802.1px 1802.1px 1802.1px 1802.1px 1802.1px ">inkLog</tspan></text>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

+2 -2
View File
@@ -5,7 +5,7 @@ const mastodonForm = document.querySelector('#mastodon-form');
const profileLogoutButton = document.querySelector('#logout-button');
const accessToken = localStorage.getItem('linklogAccessToken');
const defaultMastodonInstance = 'mastodon.social';
const defaultPostPrefix = 'From my #LinkLog: "';
const defaultPostPrefix = 'From my #LinkLog: ';
function authHeaders(includeJson = false) {
return {
@@ -33,7 +33,7 @@ async function loadProfile() {
avatarPreview.classList.remove('hidden');
}
if (profile.is_admin) {
document.querySelector('#admin-link').classList.remove('hidden');
document.querySelector('#auth-admin-link')?.classList.remove('hidden');
}
profileLogoutButton.classList.remove('hidden');
}
+14
View File
@@ -84,6 +84,15 @@ body::selection {
line-height: 1;
}
.site-logo {
display: block;
width: min(260px, 70vw);
height: 58px;
margin-bottom: 12px;
object-fit: contain;
object-position: left center;
}
.site-header p {
max-width: 34rem;
margin: 14px 0 0;
@@ -529,6 +538,11 @@ button:disabled {
font-size: 2.35rem;
}
.site-logo {
width: min(220px, 68vw);
height: 48px;
}
.header-row {
align-items: center;
gap: 12px;