Skip to content

Commit

Permalink
move font loading to HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Mar 20, 2021
1 parent a5ee592 commit b88084d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/styles/theme.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* @import url('//fonts.googleapis.com/css?family=Avenir+Next&display=swap'); */

* {
box-sizing: border-box;
margin: 0;
Expand Down
7 changes: 4 additions & 3 deletions src/templates/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
<head>
<meta-outlet></meta-outlet>

<link rel="stylesheet" href="fonts.googleapis.com/css?family=Avenir+Next&display=swap"></link>
<link rel="stylesheet" href="/styles/theme.css"></link>
<link rel="stylesheet" href="/styles/page.css"></link>

<script type="module" src="/components/footer/footer.js"></script>
<script type="module" src="/components/header/header.js"></script>
<script type="module" src="/components/navigation/navigation.js"></script>

<link rel="stylesheet" href="/styles/theme.css"></link>
<link rel="stylesheet" href="/styles/page.css"></link>

<style>
.outlet {
Expand Down

0 comments on commit b88084d

Please sign in to comment.