Skip to content

Commit 7162a57

Browse files
authored
Format using prettier (instead of superhtml) (#1316)
1 parent 7cfe353 commit 7162a57

File tree

1 file changed

+52
-24
lines changed

1 file changed

+52
-24
lines changed

packages/runtime/src/landing-page.html

Lines changed: 52 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,45 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
4-
<meta charset="utf-8">
4+
<meta charset="utf-8" />
55
<title>Welcome to __PRODUCT_NAME__</title>
6-
<link rel="apple-touch-icon" sizes="180x180" href="https://the-guild.dev/apple-touch-icon.png">
7-
<link rel="icon" type="image/png" sizes="32x32" href="https://the-guild.dev/favicon-32x32.png">
8-
<link rel="icon" type="image/png" sizes="16x16" href="https://the-guild.dev/favicon-16x16.png">
9-
<link rel="icon" type="image/png" sizes="16x16" href="https://the-guild.dev/favicon-16x16.png">
10-
<link rel="shorcut icon" type="image/x-icon" href="https://the-guild.dev/favicon.ico">
11-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/default.min.css">
6+
<link
7+
rel="apple-touch-icon"
8+
sizes="180x180"
9+
href="https://the-guild.dev/apple-touch-icon.png"
10+
/>
11+
<link
12+
rel="icon"
13+
type="image/png"
14+
sizes="32x32"
15+
href="https://the-guild.dev/favicon-32x32.png"
16+
/>
17+
<link
18+
rel="icon"
19+
type="image/png"
20+
sizes="16x16"
21+
href="https://the-guild.dev/favicon-16x16.png"
22+
/>
23+
<link
24+
rel="icon"
25+
type="image/png"
26+
sizes="16x16"
27+
href="https://the-guild.dev/favicon-16x16.png"
28+
/>
29+
<link
30+
rel="shorcut icon"
31+
type="image/x-icon"
32+
href="https://the-guild.dev/favicon.ico"
33+
/>
34+
<link
35+
rel="stylesheet"
36+
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/default.min.css"
37+
/>
1238
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/highlight.min.js"></script>
1339
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/languages/typescript.min.js"></script>
14-
<script>hljs.highlightAll();</script>
40+
<script>
41+
hljs.highlightAll();
42+
</script>
1543
<style>
1644
* {
1745
box-sizing: border-box;
@@ -23,7 +51,10 @@
2351
margin: 0;
2452
background-color: black;
2553
color: white;
26-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
54+
font-family:
55+
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
56+
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
57+
'Segoe UI Symbol';
2758
}
2859
a {
2960
color: lightblue;
@@ -46,7 +77,8 @@
4677
color: lightgray;
4778
border-bottom: 4px solid lightgray;
4879
}
49-
th, td {
80+
th,
81+
td {
5082
padding: 6px 8px;
5183
}
5284
td {
@@ -88,7 +120,8 @@
88120
flex-direction: column;
89121
max-width: 800px;
90122
}
91-
.status h2, .status p {
123+
.status h2,
124+
.status p {
92125
margin: 0;
93126
}
94127
.status .var {
@@ -133,19 +166,15 @@ <h1>__PRODUCT_NAME__</h1>
133166
<p class="description">__PRODUCT_DESCRIPTION__</p>
134167
<div class="links">
135168
<a href="__PRODUCT_LINK__" class="docs">📚 Read the Documentation</a>
136-
<br>
169+
<br />
137170
<a href="__GRAPHIQL_LINK__" class="graphiql">🗃️ Visit GraphiQL</a>
138171
</div>
139172
</section>
140-
<section class="status">
141-
__SUBGRAPH_HTML__
142-
</section>
173+
<section class="status">__SUBGRAPH_HTML__</section>
143174
<section class="four-oh-four">
144-
<h2>
145-
ℹ️ Not the Page You Expected To See?
146-
</h2>
175+
<h2>ℹ️ Not the Page You Expected To See?</h2>
147176
<p>
148-
This page is shown be default whenever a 404 is hit.<br>You can
177+
This page is shown be default whenever a 404 is hit.<br />You can
149178
disable this by behavior via the
150179
<code>landingPage</code>
151180
option.
@@ -159,9 +188,8 @@ <h2>
159188
<p>
160189
If you expected
161190
<u>this</u>
162-
page to be the GraphQL route, you need to
163-
configure Hive Gateway.<br>Currently, the GraphQL route is configured to
164-
be on
191+
page to be the GraphQL route, you need to configure Hive Gateway.<br />Currently,
192+
the GraphQL route is configured to be on
165193
<a href="__GRAPHIQL_LINK__" class="graphiql">__GRAPHIQL_LINK__</a>.
166194
</p>
167195
<pre><code class="language-typescript">import { defineConfig } from '__PRODUCT_PACKAGE_NAME__';
@@ -173,4 +201,4 @@ <h2>
173201
</section>
174202
</main>
175203
</body>
176-
</html>
204+
</html>

0 commit comments

Comments
 (0)