Skip to content

Commit

Permalink
Merge pull request #91 from picture-pro/preload-fonts
Browse files Browse the repository at this point in the history
feat: preload inter font
  • Loading branch information
johnbchron authored Mar 12, 2024
2 parents 8d7d7fc + cfb77b0 commit 2ed50fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/site-app/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub fn App() -> impl IntoView {
view! {
<Style>{include_str!("../style/fonts.css")}</Style>
<Stylesheet id="leptos" href="/pkg/site.css"/>
<Link rel="preload" href="fonts/inter.ttf" as_="font" type_="font/ttf" crossorigin="anonymous" />

<Html lang="en" attr:data-theme="wireframe" />

Expand Down

0 comments on commit 2ed50fe

Please sign in to comment.