Skip to content

Commit 5d7f98c

Browse files
authored
Demo tweaks (snaplet#30)
* Update link to demo. * Remove blur + animations. * Rename repo.
1 parent 3ac2f68 commit 5d7f98c

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<div align="center">
2-
<h1 align="center">Postgres Browser</h1>
2+
<h1 align="center">Postgres WASM</h1>
33
<p align="center">A PostgresQL server instance running in a virtual machine running in the browser<br />
44
<i>by Supabase &amp; Snaplet</i></p>
55
<img align="center" src="https://user-images.githubusercontent.com/44849/192262287-29d1ecb2-8ff7-40cb-bd1f-68d707493a86.png" alt="Snaplet, Supabase and friends" width="480">
66
<br /><br />
7-
<a href="about:blank">Demo</a>
7+
<a href="https://postgres-wasm.netlify.com">Demo</a>
88
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
99
<a href="https://app.snaplet.dev/chat">Discord</a>
1010
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>

packages/runtime/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
if (line.startsWith("postgres=# boot_completed")) {
7676
emulator.remove_listener(handleBoot);
7777
setTimeout(() => {
78-
document.getElementById("terminal").style = 'filter: none;';
7978
emulator.serial_adapter.term.focus();
8079
}, 300);
8180
}
@@ -165,7 +164,7 @@
165164
<hr />
166165
<div class="container">
167166
<div class="xterminal">
168-
<div id="terminal" style="filter: blur(3px);"></div>
167+
<div id="terminal"></div>
169168
</div>
170169
</div>
171170
</body>

packages/runtime/styles.css

-15
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ body {
2424
width: calc(80ch + 16px * 2);
2525
height: 60%;
2626
background: black;
27-
/* linear-gradient(0deg, #000, #272727); */
2827
border-radius: 7px;
2928
display: flex;
3029
}
@@ -42,7 +41,6 @@ body {
4241
width: calc(100% + 2px);
4342
height: calc(100% + 2px);
4443
z-index: -1;
45-
animation: steam 120s linear infinite;
4644
}
4745

4846
.xterm .xterm-viewport {
@@ -60,19 +58,6 @@ body {
6058
background: var(--highlight);
6159
}
6260

63-
@keyframes steam {
64-
0% {
65-
background-position: 0 0;
66-
}
67-
68-
50% {
69-
background-position: 400% 0;
70-
}
71-
72-
100% {
73-
background-position: 0 0;
74-
}
75-
}
7661

7762
.xterminal:after {
7863
filter: blur(50px);

0 commit comments

Comments
 (0)