feat: remove google font
This commit is contained in:
parent
a9850e2214
commit
9ebc14d7d8
3 changed files with 5 additions and 55 deletions
26
index.html
26
index.html
|
@ -3,32 +3,6 @@
|
|||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<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" />
|
||||
<title>Unduck</title>
|
||||
<meta
|
||||
|
|
|
@ -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 {
|
||||
font-family:
|
||||
Inter,
|
||||
"Inter Fallback",
|
||||
system-ui,
|
||||
-apple-system,
|
||||
BlinkMacSystemFont,
|
||||
"Segoe UI",
|
||||
Roboto,
|
||||
Oxygen,
|
||||
Ubuntu,
|
||||
Cantarell,
|
||||
"Open Sans",
|
||||
"Helvetica Neue",
|
||||
sans-serif;
|
||||
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
font-synthesis: none;
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
|
|
|
@ -12,7 +12,7 @@ function noSearchDefaultPageRender() {
|
|||
<input
|
||||
type="text"
|
||||
class="url-input"
|
||||
value="https://unduck.link?q=%s"
|
||||
value="https://unduck.troylusty.com?q=%s"
|
||||
readonly
|
||||
/>
|
||||
<button class="copy-button">
|
||||
|
@ -21,11 +21,10 @@ function noSearchDefaultPageRender() {
|
|||
</div>
|
||||
</div>
|
||||
<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>
|
||||
•
|
||||
<a href="https://github.com/t3dotgg/unduck" target="_blank">github</a>
|
||||
forked from
|
||||
<a href="https://github.com/t3dotgg/unduck" target="_blank">t3dotgg/unduck</a>
|
||||
</footer>
|
||||
</div>
|
||||
`;
|
||||
|
|
Loading…
Add table
Reference in a new issue