-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
161 lines (161 loc) · 4.56 KB
/
index.html
File metadata and controls
161 lines (161 loc) · 4.56 KB
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="/logo.png" />
<title>hush - to do thing quietly</title>
<meta
name="description"
content="Supply USDC privately as collateral, borrow WETH privately, and manage repay/withdraw flows on AAVE without exposing strategy identity"
/>
<meta property="og:type" content="website" />
<meta property="og:title" content="hush - to do thing quietly" />
<meta
property="og:description"
content="Supply USDC privately as collateral, borrow WETH privately, and manage repay/withdraw flows on AAVE without exposing strategy identity"
/>
<meta property="og:image" content="/og.png" />
<meta property="og:image:alt" content="hush preview image" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:title" content="hush - to do thing quietly" />
<meta
property="twitter:description"
content="Supply USDC privately as collateral, borrow WETH privately, and manage repay/withdraw flows on AAVE without exposing strategy identity"
/>
<meta property="twitter:image" content="/og.png" />
<style>
:root {
--bg: #05070c;
--panel: #0b0f16;
--line: #1f2a3a;
--line-strong: #30445f;
--text: #d7e3f2;
--muted: #8da3bf;
--ok: #63d471;
--err: #ff6a7f;
--accent: #67b7ff;
--titlebar: #0f1724;
--shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
background:
radial-gradient(
circle at 20% -10%,
#1b2d46 0,
rgba(11, 15, 22, 0) 45%
),
linear-gradient(180deg, #07101a 0%, var(--bg) 45%);
color: var(--text);
height: 100vh;
height: 100dvh;
overflow: hidden;
}
.wrap {
position: fixed;
inset: 0;
display: flex;
flex-direction: column;
border: 1px solid var(--line);
border-radius: 0;
background: linear-gradient(180deg, #0a1019 0%, #070b12 100%);
overflow: hidden;
box-shadow: var(--shadow);
}
.terminal {
position: relative;
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
overflow-x: hidden;
padding: 16px 18px;
white-space: pre-wrap;
word-break: break-word;
line-height: 1.5;
background:
radial-gradient(
circle at 90% 10%,
rgba(46, 86, 130, 0.18),
transparent 30%
),
linear-gradient(
180deg,
rgba(255, 255, 255, 0.015) 0%,
rgba(0, 0, 0, 0) 100%
);
}
.terminal::before {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
background: repeating-linear-gradient(
to bottom,
rgba(255, 255, 255, 0.012) 0,
rgba(255, 255, 255, 0.012) 1px,
transparent 1px,
transparent 3px
);
mix-blend-mode: soft-light;
}
.line-muted {
color: var(--muted);
}
.line-ok {
color: var(--ok);
}
.line-err {
color: var(--err);
}
.prompt {
position: sticky;
bottom: 0;
z-index: 2;
flex: 0 0 auto;
border-top: 1px solid var(--line-strong);
display: grid;
grid-template-columns: auto 1fr;
align-items: center;
gap: 12px;
padding: 12px 16px;
background: rgba(9, 13, 20, 0.95);
}
.prefix {
color: var(--accent);
font-weight: 600;
}
input {
border: none;
outline: none;
background: transparent;
color: var(--text);
font: inherit;
width: 100%;
}
@media (max-width: 640px) {
.terminal {
padding: 12px;
font-size: 13px;
}
.prompt {
padding: 10px 12px;
}
}
</style>
</head>
<body>
<div class="wrap">
<div id="terminal" class="terminal"></div>
<label class="prompt">
<span class="prefix">hush></span>
<input id="cli-input" autocomplete="off" spellcheck="false" />
</label>
</div>
<script type="module" src="/src/webcli/entry.ts"></script>
</body>
</html>