Browse Source

Update dependencies, use local fonts

master
F.W. Dekker 7 months ago
parent
commit
91698717d9
Signed by: FWDekker GPG Key ID: B1B567AF58D6EE0F
  1. 2766
      package-lock.json
  2. 8
      package.json
  3. 5
      src/main/index.html
  4. 3
      src/main/js/Main.js

2766
package-lock.json

File diff suppressed because it is too large

8
package.json

@ -16,18 +16,18 @@
"deploy": "grunt deploy"
},
"dependencies": {
"@fwdekker/template": "^0.0.21"
"@fwdekker/template": "^0.0.24"
},
"devDependencies": {
"grunt": "^1.3.0",
"grunt-cli": "^1.3.2",
"grunt-cli": "^1.4.1",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-focus": "^1.0.0",
"grunt-text-replace": "^0.4.0",
"grunt-webpack": "^4.0.2",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12"
"webpack": "^5.28.0",
"webpack-cli": "^4.5.0"
}
}

5
src/main/index.html

@ -9,8 +9,7 @@
<meta name="theme-color" content="#0033cc" />
<title>Privacy policy</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic"
crossorigin="anonymous" />
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto.css" crossorigin="anonymous" />
</head>
<body>
<noscript>
@ -20,7 +19,7 @@
instructions on how to enable JavaScript in your web browser</a>.
</span>
</noscript>
<main>
<main> <!-- Do not hide without JavaScript -->
<div id="nav"></div>
<div id="contents">
<div id="header"></div>

3
src/main/js/Main.js

@ -1,4 +1,4 @@
import {$, doAfterLoad, footer, header, nav} from "@fwdekker/template";
import {$, doAfterLoad, footer, header, nav, showPage} from "@fwdekker/template";
doAfterLoad(() => {
@ -14,4 +14,5 @@ doAfterLoad(() => {
version: "v%%VERSION_NUMBER%%",
privacyPolicyURL: null
}));
showPage();
});

Loading…
Cancel
Save