forked from hackers-pub/hackerspub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathentry-server.tsx
More file actions
33 lines (32 loc) · 950 Bytes
/
entry-server.tsx
File metadata and controls
33 lines (32 loc) · 950 Bytes
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
// @refresh reload
import { createHandler, StartServer } from "@solidjs/start/server";
export default createHandler(() => (
<StartServer
document={({ assets, children, scripts }) => (
<html>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1"
/>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link
rel="alternate icon"
type="image/x-icon"
href="/favicon.ico"
sizes="16x16 32x32 48x48 256x256"
/>
<link rel="apple-touch-icon" href="/apple-icon-180.png" />
<link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="#000000" />
{assets}
</head>
<body>
<div id="app">{children}</div>
{scripts}
</body>
</html>
)}
/>
));