Skip to content

Commit

Permalink
pref: Optimize page loading speed
Browse files Browse the repository at this point in the history
  • Loading branch information
OXeu committed Jun 10, 2024
1 parent 2a6cba0 commit b31f99f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://cdn.jsdelivr.net/npm/remixicon@4.2.0/fonts/remixicon.css"
href="https://cdnjs.cloudflare.com/ajax/libs/remixicon/4.2.0/remixicon.min.css"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://chinese-fonts-cdn.deno.dev/chinesefonts3/packages/syst/dist/SourceHanSerifCN/result.css"
href="https://ik.imagekit.io/chinesefonts3/packages/syst/dist/SourceHanSerifCN/result.css"
/>
</head>
<body>
Expand Down
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions client/public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
User-agent: Googlebot
Disallow: /writing/

User-agent: *
Allow: /
4 changes: 2 additions & 2 deletions client/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
font-style: normal;
font-display: auto;
font-weight: 400;
src: url(https://cdn.jsdelivr.net/fontsource/fonts/cantarell@latest/latin-400-normal.woff2)
src: url(/cantarell_5.0.13_latin-400-normal.woff2)
format("woff2"),
url(https://cdn.jsdelivr.net/fontsource/fonts/cantarell@latest/latin-400-normal.woff)
url(/cantarell_5.0.13_latin-400-normal.woff)
format("woff");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
Expand Down

0 comments on commit b31f99f

Please sign in to comment.