willthereader-time_blindness_loud_calendar_via_ios_shortcuts.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/** @jsxImportSource https://esm.sh/hono@latest/jsx **/
import { Context, Hono } from "npm:hono";
// Define the route handler function
export const Time_Blindness_Loud_Calendar_via_iOS_shortcuts = (c: Context) => {
console.log("Route accessed: Time_Blindness_Loud_Calendar_via_iOS_shortcuts");
const htmlContent = `
<!DOCTYPE html>
<html>
<head>
<title>Time Blindness Loud Calendar via iOS Shortcuts</title>
<style>
:root {
--slate1: hsl(200, 7%, 8.8%);
--slate2: hsl(195, 7.1%, 11%);
--slate3: hsl(197, 6.8%, 13.6%);
--slate4: hsl(198, 6.6%, 15.8%);
--slate5: hsl(199, 6.4%, 17.9%);
--slate6: hsl(201, 6.2%, 20.5%);
--slate7: hsl(203, 6%, 24.3%);
--slate8: hsl(207, 5.6%, 31.6%);
--slate9: hsl(206, 6%, 43.9%);
--slate10: hsl(206, 5.2%, 49.5%);
--slate11: hsl(206, 6%, 63%);
--slate12: hsl(210, 6%, 93%);
--blue1: hsl(212, 35%, 9.2%);
--blue2: hsl(216, 50%, 11.8%);
--blue3: hsl(214, 59.4%, 15.3%);
--blue4: hsl(214, 65.8%, 17.9%);
--blue5: hsl(213, 71.2%, 20.2%);
--blue6: hsl(212, 77.4%, 23.1%);
--blue7: hsl(211, 85.1%, 27.4%);
--blue8: hsl(211, 89.7%, 34.1%);
--blue9: hsl(206, 100%, 50%);
--blue10: hsl(209, 100%, 60.6%);
--blue11: hsl(210, 100%, 66.1%);
--blue12: hsl(206, 98%, 95.8%);
}
body {
font-family: system-ui, sans-serif;
margin: auto;
padding: 20px;
max-width: 65ch;
text-align: left;
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
}
h1, h2, h3, h4, h5, h6, strong, b {
font-weight: 500;
}
a {
color: var(--blue10);
}
nav a {
margin-right: 10px;
}
textarea {
width: 100%;
font-size: 16px;
}
input {
font-size: 16px;
}
content {
line-height: 1.6;
}
table {
width: 100%;
}
img {
max-width: 100%;
height: auto;
}
code {
padding: 2px 5px;
background-color: var(--slate4);
font-family: menlo, monospace;
}
pre {
padding: 1rem;
}
pre > code {
all: unset;
}
blockquote {
border: 1px solid var(--slate10);
color: var(--slate11);
padding: 2px 0 2px 20px;
margin: 0;
font-style: italic;
}
</style>
</head>
<body>
<nav>
<a href="https://willkrouse.com/">Home</a>
<a href="/projects">Projects</a>
<a href="https://twitter.com/Willthereader">Twitter</a>
<a href="https://github.com/wkrouse">Github</a>
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!
v36
May 31, 2024