feat: remove google font

This commit is contained in:
Troy 2025-02-27 13:29:24 +00:00
parent a9850e2214
commit 9ebc14d7d8
Signed by: troy
GPG key ID: DFC06C02ED3B4711
3 changed files with 5 additions and 55 deletions

View file

@ -3,32 +3,6 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/search.svg" /> <link rel="icon" type="image/svg+xml" href="/search.svg" />
<link
rel="preconnect"
href="https://fonts.googleapis.com"
crossorigin="anonymous"
/>
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossorigin="anonymous"
/>
<link
rel="preload"
as="style"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
media="print"
onload="this.media='all'"
/>
<script
defer
data-domain="unduck.link"
src="https://plausible.io/js/script.js"
></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unduck</title> <title>Unduck</title>
<meta <meta

View file

@ -1,28 +1,5 @@
/* @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"); */
/* Font fallback that closely matches Inter metrics */
@font-face {
font-family: "Inter Fallback";
size-adjust: 107%;
ascent-override: 90%;
src: local("Arial");
}
:root { :root {
font-family: font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
Inter,
"Inter Fallback",
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
Oxygen,
Ubuntu,
Cantarell,
"Open Sans",
"Helvetica Neue",
sans-serif;
font-synthesis: none; font-synthesis: none;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;

View file

@ -12,7 +12,7 @@ function noSearchDefaultPageRender() {
<input <input
type="text" type="text"
class="url-input" class="url-input"
value="https://unduck.link?q=%s" value="https://unduck.troylusty.com?q=%s"
readonly readonly
/> />
<button class="copy-button"> <button class="copy-button">
@ -21,11 +21,10 @@ function noSearchDefaultPageRender() {
</div> </div>
</div> </div>
<footer class="footer"> <footer class="footer">
<a href="https://t3.chat" target="_blank">t3.chat</a> <a href="https://github.com/troylusty/unduck" target="_blank">github</a>
<a href="https://x.com/theo" target="_blank">theo</a> forked from
<a href="https://github.com/t3dotgg/unduck" target="_blank">t3dotgg/unduck</a>
<a href="https://github.com/t3dotgg/unduck" target="_blank">github</a>
</footer> </footer>
</div> </div>
`; `;