Add Goatcounter and relocate some resources

This commit is contained in:
Florine W. Dekker 2021-04-22 13:05:04 +02:00
parent 39d4fc31e1
commit 9b5e1913f5
Signed by untrusted user: FWDekker
GPG Key ID: B1B567AF58D6EE0F
3 changed files with 10 additions and 9 deletions

View File

@ -16,7 +16,7 @@ module.exports = grunt => {
},
focus: {
dev: {
include: ["css", "html", "js", "link"],
include: ["css", "html", "js"],
},
},
replace: {
@ -54,10 +54,6 @@ module.exports = grunt => {
files: ["src/main/**/*.js"],
tasks: ["webpack:dev", "replace:dev"],
},
link: {
files: ["node_modules/@fwdekker/*/dist/**"],
tasks: ["webpack:dev", "replace:dev"],
},
},
webpack: {
options: {

View File

@ -1,6 +1,6 @@
{
"name": "doomsday",
"version": "1.3.12",
"version": "1.3.13",
"description": "Test your mastery of Conway's Doomsday rule.",
"author": "Felix W. Dekker",
"browser": "dist/bundle.js",

View File

@ -10,12 +10,15 @@
<title>Doomsday | FWDekker</title>
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto.css" crossorigin="anonymous" />
<link rel="stylesheet" href="https://static.fwdekker.com/lib/template/1.x.x/bundle.css" crossorigin="anonymous" />
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto/roboto.css" />
<link rel="stylesheet" href="https://static.fwdekker.com/lib/template/2.x.x/template.css" />
<!--suppress HtmlUnknownTarget -->
<link rel="stylesheet" href="main.css?v=%%VERSION_NUMBER%%" />
</head>
<body>
<noscript>
<img src="https://stats.fwdekker.com/count?p=/tools/doomsday/" alt="Counting pixel" />
<p style="color: red; font-weight: bold;">
This website does not function if JavaScript is disabled.
Please check the <a href="https://www.enable-javascript.com/">
@ -34,6 +37,7 @@
<summary><b id="century-title-label">Century</b></summary>
<div class="row">
<div class="column column-90">
<!--suppress HtmlFormInputWithoutLabel -->
<input type="text" id="century-input" autocomplete="off" autofocus />
</div>
<div class="column column-10 quiz-button-column">
@ -46,6 +50,7 @@
<summary><b id="year-title-label">Year</b></summary>
<div class="row">
<div class="column column-90">
<!--suppress HtmlFormInputWithoutLabel -->
<input type="text" id="year-input" autocomplete="off" />
</div>
<div class="column column-10 quiz-button-column">
@ -79,7 +84,7 @@
<div id="footer"></div>
</main>
<script src="https://static.fwdekker.com/lib/template/1.x.x/bundle.js" crossorigin="anonymous"></script>
<script src="https://static.fwdekker.com/lib/template/2.x.x/template.js"></script>
<!--suppress HtmlUnknownTarget -->
<script src="bundle.js?v=%%VERSION_NUMBER%%"></script>
</body>