Skip to content

Commit 4262fef

Browse files
committed
fonts
1 parent 3e5d908 commit 4262fef

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

app/worker.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ app.get("/", async (c) => {
2727
<html>
2828
<head>
2929
<title>API Data</title>
30+
<link rel="preconnect" href="https://fonts.googleapis.com" />
31+
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
32+
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@400;600;700&display=swap" rel="stylesheet" />
3033
<script
3134
dangerouslySetInnerHTML={{
3235
__html: `
@@ -53,13 +56,20 @@ app.get("/", async (c) => {
5356
<style
5457
dangerouslySetInnerHTML={{
5558
__html: `
59+
body {
60+
font-family: 'Rubik', sans-serif;
61+
}
5662
.search-container {
5763
margin-bottom: 20px;
5864
}
5965
#searchInput {
6066
padding: 8px;
6167
width: 300px;
6268
font-size: 16px;
69+
font-family: 'Rubik', sans-serif;
70+
}
71+
table {
72+
font-family: 'Rubik', sans-serif;
6373
}
6474
`,
6575
}}
@@ -75,7 +85,7 @@ app.get("/", async (c) => {
7585
onkeyup="filterTable()"
7686
/>
7787
</div>
78-
<table border="1" cellpadding="5" cellspacing="0">
88+
<table border={1} cellPadding={5} cellSpacing={0}>
7989
<thead>
8090
<tr>
8191
<th>Provider</th>

0 commit comments

Comments
 (0)