Skip to content

Commit

Permalink
fix(ui): include font-face css in dom
Browse files Browse the repository at this point in the history
to prevent server requests for font on systems where it is not installed
  • Loading branch information
scottmckendry committed Aug 26, 2024
1 parent a392885 commit aa0f543
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions views/page.templ
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ templ Page(nav bool, user goth.User) {
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/public/css/styles.css"/>
<link rel="stylesheet" href="https://unpkg.com/boxicons@latest/css/boxicons.min.css"/>
<link href="https://fonts.googleapis.com/css?family=Noto Sans" rel="stylesheet"/>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🧠</text></svg>"/>
<script src="https://unpkg.com/htmx.org@2.0.2"></script>
<script src="https://unpkg.com/hyperscript.org@0.9.12"></script>
Expand Down
2 changes: 1 addition & 1 deletion views/page_templ.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa0f543

Please sign in to comment.