-
Notifications
You must be signed in to change notification settings - Fork 669
/
Copy pathfinish_setup.tsx
54 lines (51 loc) · 1.39 KB
/
finish_setup.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import type { ComponentChildren } from "preact";
export function FinishSetup() {
return (
<Doc>
<div class="frsh-error-page">
<div style="max-width: 48rem; padding: 2rem 1rem; margin: 0 auto; font-family: sans-serif">
<h1>Finish setting up Fresh</h1>
<ol style="line-height: 1.6; margin-bottom: 1.5rem">
<li>
Go to your project in Deno Deploy and click the{" "}
<code>Settings</code> tab.
</li>
<li>
In the Git Integration section, enter <code>deno task build</code>
{" "}
in the <code>Build Command</code> input.
</li>
<li>
Save the changes.
</li>
</ol>
</div>
</div>
</Doc>
);
}
export function ForgotBuild() {
return (
<Doc>
<div class="frsh-error-page">
<div style="max-width: 48rem; padding: 2rem 1rem; margin: 0 auto; font-family: sans-serif">
<h1>Missing build directory</h1>
<p>
Did you forget to run <code>deno task build</code>?
</p>
</div>
</div>
</Doc>
);
}
function Doc(props: { children?: ComponentChildren }) {
return (
<html>
<head>
<meta charset="utf-8" />
<title>Finish setting up Fresh</title>
</head>
<body>{props.children}</body>
</html>
);
}