alpha
Login
or
Join now
jakelazaroff.com
/
ypds
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
a proof of concept realtime collaborative text editor using atproto as a sync server
jake.tngl.io/y-pds/
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
Improve styles
author
Jake Lazaroff
date
4 months ago
(Mar 26, 2026, 10:41 PM -0400)
commit
da23805b
da23805b46a0db3ce26b7a8f715c822889492e9a
parent
6f0b6bae
6f0b6bae2973ef1b3908715c6cb94ab72c87dce9
+27
-1
2 changed files
Expand all
Collapse all
Unified
Split
app.js
style.css
+7
-1
app.js
View file
Reviewed
···
59
59
}
60
60
61
61
render() {
62
62
-
if (this.loading.value) return html`<p>loading…</p>`;
62
62
+
if (this.loading.value) return html`<${Loading} />`;
63
63
if (!this.did.value) return html`<${Login} />`;
64
64
return html`<${Editor} did=${this.did.value} atUri=${this.atUri.value} />`;
65
65
+
}
66
66
+
}
67
67
+
68
68
+
class Loading extends Component {
69
69
+
render() {
70
70
+
return html`<div class="loading"><p>loading…</p></div>`;
65
71
}
66
72
}
67
73
+20
style.css
View file
Reviewed
···
36
36
flex-direction: column;
37
37
}
38
38
39
39
+
.loading {
40
40
+
display: flex;
41
41
+
width: 100%;
42
42
+
height: 100%;
43
43
+
justify-content: center;
44
44
+
align-items: center;
45
45
+
opacity: 0;
46
46
+
animation: 1s fade-in 1s forwards;
47
47
+
}
48
48
+
49
49
+
@keyframes fade-in {
50
50
+
from {
51
51
+
opacity: 0;
52
52
+
}
53
53
+
54
54
+
to {
55
55
+
opacity: 1;
56
56
+
}
57
57
+
}
58
58
+
39
59
#editor {
40
60
flex: 1;
41
61
overflow-y: auto;