liftie 4.3.0 → 4.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,6 @@
10
10
  },
11
11
  "tags": [
12
12
  "Colorado",
13
- "Eldora",
14
13
  "Powdr"
15
14
  ],
16
15
  "ll": [
@@ -146,7 +146,7 @@ function api(req, res, next) {
146
146
  }
147
147
  // do not cache API responses
148
148
  res.setHeader('Cache-Control', 'no-cache, max-age=0, must-revalidate');
149
- res.setHeader('Content-Type', 'application/json');
149
+ res.setHeader('Content-Type', 'application/json;charset=UTF-8');
150
150
  res.end(JSON.stringify(resorts[0]));
151
151
  });
152
152
  }
@@ -157,7 +157,7 @@ function meta(req, res, next) {
157
157
  return next(err);
158
158
  }
159
159
  res.setHeader('Cache-Control', 'public, max-age=86400'); // good for 24hours
160
- res.setHeader('Content-Type', 'application/json');
160
+ res.setHeader('Content-Type', 'application/json;charset==UTF-8');
161
161
  res.end(JSON.stringify(resorts));
162
162
  });
163
163
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "liftie",
3
- "version": "4.3.0",
3
+ "version": "4.3.2",
4
4
  "description": "Clean, simple, easy to read, fast ski resort lift status",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -314,7 +314,7 @@ button {
314
314
 
315
315
  body {
316
316
  font-size: 1em;
317
- font-family: sans-serif;
317
+ font-family: system-ui, sans-serif;
318
318
  color: var(--color-text-body);
319
319
 
320
320
  display: flex;
@@ -879,6 +879,10 @@ header {
879
879
  justify-items: center;
880
880
  align-items: start;
881
881
 
882
+ &.resorts {
883
+ display: grid-lanes;
884
+ }
885
+
882
886
  &:has(> .tags),
883
887
  &:has(> .about) {
884
888
  grid-template-columns: 1fr;
@@ -314,7 +314,7 @@ button {
314
314
 
315
315
  body {
316
316
  font-size: 1em;
317
- font-family: sans-serif;
317
+ font-family: system-ui, sans-serif;
318
318
  color: var(--color-text-body);
319
319
 
320
320
  display: flex;
@@ -879,6 +879,10 @@ header {
879
879
  justify-items: center;
880
880
  align-items: start;
881
881
 
882
+ &.resorts {
883
+ display: grid-lanes;
884
+ }
885
+
882
886
  &:has(> .tags),
883
887
  &:has(> .about) {
884
888
  grid-template-columns: 1fr;
package/views/index.jade CHANGED
@@ -7,7 +7,7 @@ include resort
7
7
  block content
8
8
  +about('hidden')
9
9
 
10
- .content
10
+ .content.resorts
11
11
  for resort in resorts
12
12
  +resort(resort)
13
13
 
package/views/layout.jade CHANGED
@@ -35,6 +35,7 @@ html(
35
35
  data-service-worker=serviceWorker
36
36
  )
37
37
  head
38
+ meta(charset='utf-8')
38
39
  title= title
39
40
  +description('description')
40
41
  meta(name='mobile-web-app-capable', content='yes')