lilyjordan-rosegiraffe.web.val.run
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
55
56
/** @jsxImportSource https://esm.sh/react */
import { renderToString } from "npm:react-dom/server";
export default async function(req: Request) {
return new Response(
renderToString(
<html>
<head>
<title>is Lily Jordan online?</title>
</head>
<body>
{/* <main style="margin: 10px"> */}
<main>
<div id="yes">
<h1>yes</h1>
{/* <p style="margin-top: -16px"> */}
<p>
all systems normal
</p>
</div>
<div id="kinda">
<h1>kinda</h1>
{/* <p style="margin-top: -16px"> */}
<p>
expect slow replies
</p>
</div>
<div id="no">
<h1>no</h1>
{/* <p style="margin-top: -16px"> */}
<p>
I am offline and probably not responding to anything for a bit. if it's an emergency come find me
</p>
</div>
<script type="text/javascript" src="./index.js"></script>
</main>
</body>
</html>,
),
{
headers: {
"Content-Type": "text/html",
},
},
);
}
const itemStyle = {
padding: "10px",
color: "white",
backgroundColor: "#ff748d",
borderRadius: "20px",
textDecoration: "none",
boxShadow: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
};
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
July 9, 2024