tangled
alpha
login
or
join now
notjack.space
/
wisp.place-monorepo
forked from
nekomimi.pet/wisp.place-monorepo
0
fork
atom
Monorepo for wisp.place. A static site hosting service built on top of the AT Protocol.
0
fork
atom
overview
issues
pulls
pipelines
better styling change sync from pds to view on pds
nekomimi.pet
3 months ago
78c0843b
7bbf227a
+21
-13
2 changed files
expand all
collapse all
unified
split
hosting-service
src
server.ts
public
editor
tabs
SitesTab.tsx
+5
-2
hosting-service/src/server.ts
···
140
140
text-decoration: underline;
141
141
}
142
142
footer {
143
143
-
margin-top: 3rem;
143
143
+
margin-top: 2rem;
144
144
padding-top: 1.5rem;
145
145
border-top: 1px solid var(--border);
146
146
text-align: center;
···
244
244
padding: 0.5rem 0;
245
245
border-bottom: 1px solid var(--border);
246
246
}
247
247
+
li:last-child {
248
248
+
border-bottom: none;
249
249
+
}
247
250
li a {
248
251
color: var(--accent);
249
252
text-decoration: none;
···
290
293
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"/></svg>');
291
294
}
292
295
footer {
293
293
-
margin-top: 3rem;
296
296
+
margin-top: 2rem;
294
297
padding-top: 1.5rem;
295
298
border-top: 1px solid var(--border);
296
299
text-align: center;
+16
-11
public/editor/tabs/SitesTab.tsx
···
70
70
View and manage all your deployed sites
71
71
</CardDescription>
72
72
</div>
73
73
-
<Button
74
74
-
variant="outline"
75
75
-
size="sm"
76
76
-
onClick={onSyncSites}
77
77
-
disabled={isSyncing || sitesLoading}
78
78
-
>
79
79
-
<RefreshCw
80
80
-
className={`w-4 h-4 mr-2 ${isSyncing ? 'animate-spin' : ''}`}
81
81
-
/>
82
82
-
Sync from PDS
83
83
-
</Button>
73
73
+
{userInfo && (
74
74
+
<Button
75
75
+
variant="outline"
76
76
+
size="sm"
77
77
+
asChild
78
78
+
>
79
79
+
<a
80
80
+
href={`https://pdsls.dev/at://${userInfo.did}/place.wisp.fs`}
81
81
+
target="_blank"
82
82
+
rel="noopener noreferrer"
83
83
+
>
84
84
+
<ExternalLink className="w-4 h-4 mr-2" />
85
85
+
View in PDS
86
86
+
</a>
87
87
+
</Button>
88
88
+
)}
84
89
</div>
85
90
</CardHeader>
86
91
<CardContent className="space-y-4">