Skip to content

Commit 445ff19

Browse files
committed
chore: force prettier as default formatter for html
1 parent b8bfcf8 commit 445ff19

File tree

2 files changed

+101
-100
lines changed

2 files changed

+101
-100
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"[javascript]": {
33
"editor.defaultFormatter": "esbenp.prettier-vscode"
44
},
5+
"[html]": {
6+
"editor.defaultFormatter": "esbenp.prettier-vscode"
7+
},
58
"cSpell.words": [
69
"AGOL",
710
"agrc",

index.html

Lines changed: 98 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,113 +1,111 @@
11
<!doctype html>
22
<html lang="en">
3+
<head>
4+
<!-- Global Metadata -->
5+
<meta charset="utf-8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
7+
<link rel="shortcut icon" href="favicon.ico" />
8+
<title>UGRC Raster Data Discovery</title>
9+
<meta name="title" content="UGRC Raster Data Discovery" />
10+
<meta name="description" content="The website to discover and download raster data within Utah" />
11+
<link rel="canonical" href="https://raster.utah.gov/" />
12+
<!-- Preloads -->
13+
<link rel="preconnect" href="https://fonts.googleapis.com" />
14+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
15+
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+3&display=swap" rel="stylesheet" />
16+
</head>
317

4-
<head>
5-
<!-- Global Metadata -->
6-
<meta charset="utf-8" />
7-
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
8-
<link rel="shortcut icon" href="favicon.ico" />
9-
<title>UGRC Raster Data Discovery</title>
10-
<meta name="title" content="UGRC Raster Data Discovery" />
11-
<meta name="description" content="The website to discover and download raster data within Utah" />
12-
<link rel="canonical" href="https://raster.utah.gov/" />
13-
<!-- Preloads -->
14-
<link rel="preconnect" href="https://fonts.googleapis.com" />
15-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
16-
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+3&display=swap" rel="stylesheet" />
17-
</head>
18+
<body class="size-full bg-white text-zinc-700 subpixel-antialiased dark:bg-zinc-800 dark:text-zinc-50">
19+
<noscript>
20+
<div role="alert" class="p-5 font-sans">
21+
<h1>JavaScript is required</h1>
22+
<p>
23+
We're sorry, but this application requires JavaScript to be enabled to function. Please enable JavaScript in
24+
your browser settings and reload.
25+
</p>
26+
</div>
27+
</noscript>
28+
<div id="root"></div>
29+
<script type="module" src="/src/main.tsx"></script>
1830

19-
<body class="size-full bg-white text-zinc-700 subpixel-antialiased dark:bg-zinc-800 dark:text-zinc-50">
20-
<noscript>
21-
<div role="alert" class="p-5 font-sans">
22-
<h1>JavaScript is required</h1>
23-
<p>
24-
We're sorry, but this application requires JavaScript to be enabled to function. Please enable JavaScript in
25-
your browser settings and reload.
26-
</p>
27-
</div>
28-
</noscript>
29-
<div id="root"></div>
30-
<script type="module" src="/src/main.tsx"></script>
31+
<!--BEGIN QUALTRICS WEBSITE FEEDBACK SNIPPET-->
3132

32-
<!--BEGIN QUALTRICS WEBSITE FEEDBACK SNIPPET-->
33+
<script type="text/javascript">
34+
(function () {
35+
var g = function (e, h, f, g) {
36+
this.get = function (a) {
37+
for (var a = a + '=', c = document.cookie.split(';'), b = 0, e = c.length; b < e; b++) {
38+
for (var d = c[b]; ' ' == d.charAt(0); ) d = d.substring(1, d.length);
39+
if (0 == d.indexOf(a)) return d.substring(a.length, d.length);
40+
}
41+
return null;
42+
};
3343

34-
<script type="text/javascript">
35-
(function () {
36-
var g = function (e, h, f, g) {
37-
this.get = function (a) {
38-
for (var a = a + '=', c = document.cookie.split(';'), b = 0, e = c.length; b < e; b++) {
39-
for (var d = c[b]; ' ' == d.charAt(0);) d = d.substring(1, d.length);
40-
if (0 == d.indexOf(a)) return d.substring(a.length, d.length);
41-
}
42-
return null;
43-
};
44-
45-
this.set = function (a, c) {
46-
var b = '',
47-
b = new Date();
48-
b.setTime(b.getTime() + 6048e5);
49-
b = '; expires=' + b.toGMTString();
50-
document.cookie = a + '=' + c + b + '; path=/; ';
51-
};
44+
this.set = function (a, c) {
45+
var b = '',
46+
b = new Date();
47+
b.setTime(b.getTime() + 6048e5);
48+
b = '; expires=' + b.toGMTString();
49+
document.cookie = a + '=' + c + b + '; path=/; ';
50+
};
5251

53-
this.check = function () {
54-
var a = this.get(f);
55-
if (a) a = a.split(':');
56-
else if (100 != e)
57-
('v' == h && (e = Math.random() >= e / 100 ? 0 : 100), (a = [h, e, 0]), this.set(f, a.join(':')));
58-
else return !0;
59-
var c = a[1];
60-
if (100 == c) return !0;
61-
switch (a[0]) {
62-
case 'v':
63-
return !1;
64-
case 'r':
65-
return ((c = a[2] % Math.floor(100 / c)), a[2]++, this.set(f, a.join(':')), !c);
66-
}
67-
return !0;
68-
};
52+
this.check = function () {
53+
var a = this.get(f);
54+
if (a) a = a.split(':');
55+
else if (100 != e)
56+
('v' == h && (e = Math.random() >= e / 100 ? 0 : 100), (a = [h, e, 0]), this.set(f, a.join(':')));
57+
else return !0;
58+
var c = a[1];
59+
if (100 == c) return !0;
60+
switch (a[0]) {
61+
case 'v':
62+
return !1;
63+
case 'r':
64+
return ((c = a[2] % Math.floor(100 / c)), a[2]++, this.set(f, a.join(':')), !c);
65+
}
66+
return !0;
67+
};
6968

70-
this.go = function () {
71-
if (this.check()) {
72-
var a = document.createElement('script');
73-
a.type = 'text/javascript';
74-
a.src = g;
75-
document.body && document.body.appendChild(a);
76-
}
77-
};
69+
this.go = function () {
70+
if (this.check()) {
71+
var a = document.createElement('script');
72+
a.type = 'text/javascript';
73+
a.src = g;
74+
document.body && document.body.appendChild(a);
75+
}
76+
};
7877

79-
this.start = function () {
80-
var t = this;
81-
'complete' !== document.readyState
82-
? window.addEventListener
83-
? window.addEventListener(
84-
'load',
85-
function () {
86-
t.go();
87-
},
88-
!1,
89-
)
90-
: window.attachEvent &&
91-
window.attachEvent('onload', function () {
92-
t.go();
93-
})
94-
: t.go();
78+
this.start = function () {
79+
var t = this;
80+
'complete' !== document.readyState
81+
? window.addEventListener
82+
? window.addEventListener(
83+
'load',
84+
function () {
85+
t.go();
86+
},
87+
!1,
88+
)
89+
: window.attachEvent &&
90+
window.attachEvent('onload', function () {
91+
t.go();
92+
})
93+
: t.go();
94+
};
9595
};
96-
};
97-
98-
try {
99-
new g(
100-
100,
101-
'r',
102-
'QSI_S_ZN_bPzG8VFyVvBeKxw',
103-
'https://znbpzg8vfyvvbekxw-utconcierge.siteintercept.qualtrics.com/SIE/?Q_ZID=ZN_bPzG8VFyVvBeKxw',
104-
).start();
105-
} catch (i) { }
106-
})();
107-
</script>
108-
<div id="ZN_bPzG8VFyVvBeKxw"><!--DO NOT REMOVE-CONTENTS PLACED HERE--></div>
10996

110-
<!--END WEBSITE FEEDBACK SNIPPET-->
111-
</body>
97+
try {
98+
new g(
99+
100,
100+
'r',
101+
'QSI_S_ZN_bPzG8VFyVvBeKxw',
102+
'https://znbpzg8vfyvvbekxw-utconcierge.siteintercept.qualtrics.com/SIE/?Q_ZID=ZN_bPzG8VFyVvBeKxw',
103+
).start();
104+
} catch (i) {}
105+
})();
106+
</script>
107+
<div id="ZN_bPzG8VFyVvBeKxw"><!--DO NOT REMOVE-CONTENTS PLACED HERE--></div>
112108

109+
<!--END WEBSITE FEEDBACK SNIPPET-->
110+
</body>
113111
</html>

0 commit comments

Comments
 (0)