-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature() - add splitbee for analytics
- Loading branch information
Showing
1 changed file
with
30 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,41 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> | ||
<meta name="theme-color" content="#266ec0" /> | ||
|
||
%sapper.base% | ||
|
||
<link rel="stylesheet" href="global.css" /> | ||
<link rel="manifest" href="manifest.json" /> | ||
<link rel="icon" type="image/png" href="favicon.png" /> | ||
<link rel="apple-touch-icon" href="images/icons/icon-192x192.png" /> | ||
<script async src="https://unpkg.com/pwacompat" crossorigin="anonymous"></script> | ||
|
||
<!-- Sapper generates a <style> tag containing critical CSS | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> | ||
<meta name="theme-color" content="#266ec0" /> | ||
|
||
%sapper.base% | ||
|
||
<link rel="stylesheet" href="global.css" /> | ||
<link rel="manifest" href="manifest.json" /> | ||
<link rel="icon" type="image/png" href="favicon.png" /> | ||
<link rel="apple-touch-icon" href="images/icons/icon-192x192.png" /> | ||
<script async src="https://cdn.splitbee.io/sb.js"></script> | ||
<script | ||
async | ||
src="https://unpkg.com/pwacompat" | ||
crossorigin="anonymous" | ||
></script> | ||
|
||
<!-- Sapper generates a <style> tag containing critical CSS | ||
for the current page. CSS for the rest of the app is | ||
lazily loaded when it precaches secondary pages --> | ||
%sapper.styles% | ||
%sapper.styles% | ||
|
||
<!-- This contains the contents of the <svelte:head> component, if | ||
<!-- This contains the contents of the <svelte:head> component, if | ||
the current page has one --> | ||
%sapper.head% | ||
</head> | ||
%sapper.head% | ||
</head> | ||
|
||
<body> | ||
<!-- The application will be rendered inside this element, | ||
<body> | ||
<!-- The application will be rendered inside this element, | ||
because `src/client.js` references it --> | ||
<div id="sapper">%sapper.html%</div> | ||
<div id="sapper">%sapper.html%</div> | ||
|
||
<!-- Sapper creates a <script> tag containing `src/client.js` | ||
<!-- Sapper creates a <script> tag containing `src/client.js` | ||
and anything else it needs to hydrate the app and | ||
initialise the router --> | ||
%sapper.scripts% | ||
</body> | ||
|
||
</html> | ||
%sapper.scripts% | ||
</body> | ||
</html> |