Skip to content

Commit

Permalink
🐎 improve page load speed with some CSS adjustments
Browse files Browse the repository at this point in the history
By moving CSS @imports into an inline style tag, we remove a blocking
request that delays page rendering.
  • Loading branch information
bryanbraun committed Oct 22, 2020
1 parent 5c7a273 commit dc2cc62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 0 additions & 6 deletions site/public/css/main.css

This file was deleted.

9 changes: 8 additions & 1 deletion site/public/index.html
Expand Up @@ -26,7 +26,14 @@
<meta property="og:type" content="website">

<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png?v=PYeynP29wQ">
<link rel="stylesheet" href="/css/main.css">
<style>
@import "css/variables.css";
@import "css/styles.css";
@import "css/select.css";
@import "css/tempo-controls.css";
@import "css/toggle.css";
@import "css/utilities.css";
</style>
</head>

<body class="no-focus">
Expand Down

0 comments on commit dc2cc62

Please sign in to comment.