Skip to content

Commit f923950

Browse files
dorlugasigalCopilot
andcommitted
perf(ui): pin Nerd Fonts CDN to v3.4.0 for immutable caching
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9f4a866 commit f923950

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

public/terminal.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@
4242
[data-theme='night-owl'] { --key-bg: #1d3b53; --key-border: #264863; --key-shadow: rgba(0, 0, 0, 0.4); --key-special-bg: #0d2a45; }
4343
@font-face {
4444
font-family: 'NerdFont';
45-
src: url('https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@latest/patched-fonts/JetBrainsMono/Ligatures/Regular/JetBrainsMonoNerdFont-Regular.ttf')
45+
src: url('https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@v3.4.0/patched-fonts/JetBrainsMono/Ligatures/Regular/JetBrainsMonoNerdFont-Regular.ttf')
4646
format('truetype');
4747
font-weight: normal;
4848
font-style: normal;
4949
font-display: swap;
5050
}
5151
@font-face {
5252
font-family: 'NerdFont';
53-
src: url('https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@latest/patched-fonts/JetBrainsMono/Ligatures/Bold/JetBrainsMonoNerdFont-Bold.ttf')
53+
src: url('https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@v3.4.0/patched-fonts/JetBrainsMono/Ligatures/Bold/JetBrainsMonoNerdFont-Bold.ttf')
5454
format('truetype');
5555
font-weight: bold;
5656
font-style: normal;
@@ -2378,7 +2378,7 @@ <h3>
23782378
// ===== Font Loading (non-blocking) =====
23792379
const nerdFont = new FontFace(
23802380
'NerdFont',
2381-
"url('https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@latest/patched-fonts/JetBrainsMono/Ligatures/Regular/JetBrainsMonoNerdFont-Regular.ttf')",
2381+
"url('https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@v3.4.0/patched-fonts/JetBrainsMono/Ligatures/Regular/JetBrainsMonoNerdFont-Regular.ttf')",
23822382
);
23832383
nerdFont
23842384
.load()

0 commit comments

Comments
 (0)