Add SVG logo (#149)

* Add codecircles.svg

* Regenerate codecircles.webp from codecircles.svg

* Add SVG favicon

* Use SVG logo instead of WebP
This commit is contained in:
Leo Heitmann Ruiz 2024-10-28 23:47:31 +01:00 committed by GitHub
parent 4160cec21d
commit 0eda3031e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 2 deletions

6
public/codecircles.svg Normal file
View File

@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 49 48">
<circle cx="14.5" cy="33.5" r="14.5" fill="#8cffc0"/>
<circle cx="14.5" cy="14.5" r="14.5" fill="#fff"/>
<circle cx="34.5" cy="14.5" r="14.5" fill="#8cffc0"/>
<circle cx="34.5" cy="33.5" r="14.5" fill="#fff"/>
</svg>

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@ -6,6 +6,7 @@
<link rel="stylesheet" href="/static/home.css" /> <link rel="stylesheet" href="/static/home.css" />
<meta http-equiv="Content-Security-Policy" <meta http-equiv="Content-Security-Policy"
content="default-src 'none'; style-src 'self'; script-src 'none'; img-src 'self';" /> content="default-src 'none'; style-src 'self'; script-src 'none'; img-src 'self';" />
<link rel="icon" href="/static/codecircles.svg" />
<link rel="icon" href="/static/codecircles.webp" /> <link rel="icon" href="/static/codecircles.webp" />
<meta name="description" content="View StackOverflow threads in privacy and without the clutter." /> <meta name="description" content="View StackOverflow threads in privacy and without the clutter." />
{{ template "sharedHead.html" }} {{ template "sharedHead.html" }}
@ -14,7 +15,7 @@
<body> <body>
<div class="container"> <div class="container">
<div class="title"> <div class="title">
<img class="logo" src="/static/codecircles.webp" alt="" /> <img class="logo" src="/static/codecircles.svg" alt="" />
<h1>Anonymous&shy;Overflow</h1> <h1>Anonymous&shy;Overflow</h1>
</div> </div>
<h2>Get programming help without compromising your privacy.</h2> <h2>Get programming help without compromising your privacy.</h2>

View File

@ -23,7 +23,7 @@
<body> <body>
<div class="header"> <div class="header">
<a href="/" class="logo-link"> <a href="/" class="logo-link">
<img class="logo" src="/static/codecircles.webp" alt="AnonymousOverflow home" /> <img class="logo" src="/static/codecircles.svg" alt="AnonymousOverflow home" />
</a> </a>
</div> </div>
<div class="card"> <div class="card">