Skip to content

Commit

Permalink
feat: load fonts locally
Browse files Browse the repository at this point in the history
  • Loading branch information
frectonz committed Jun 23, 2024
1 parent caf603b commit 808ccaf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/icon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />

<title>SQL Studio</title>

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap"
rel="stylesheet"
/>
<style>
@font-face {
font-family: "JetBrains Mono";
font-weight: 100 800;
src: url(/JetBrainsMono.ttf);
}
</style>
</head>

<body>
Expand Down
Binary file added ui/public/JetBrainsMono.ttf
Binary file not shown.

0 comments on commit 808ccaf

Please sign in to comment.