+5
-2
hosting-service/src/server.ts
+5
-2
hosting-service/src/server.ts
···
140
140
text-decoration: underline;
141
141
}
142
142
footer {
143
-
margin-top: 3rem;
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
+
li:last-child {
248
+
border-bottom: none;
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
-
margin-top: 3rem;
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
+16
-11
public/editor/tabs/SitesTab.tsx
···
70
70
View and manage all your deployed sites
71
71
</CardDescription>
72
72
</div>
73
-
<Button
74
-
variant="outline"
75
-
size="sm"
76
-
onClick={onSyncSites}
77
-
disabled={isSyncing || sitesLoading}
78
-
>
79
-
<RefreshCw
80
-
className={`w-4 h-4 mr-2 ${isSyncing ? 'animate-spin' : ''}`}
81
-
/>
82
-
Sync from PDS
83
-
</Button>
73
+
{userInfo && (
74
+
<Button
75
+
variant="outline"
76
+
size="sm"
77
+
asChild
78
+
>
79
+
<a
80
+
href={`https://pdsls.dev/at://${userInfo.did}/place.wisp.fs`}
81
+
target="_blank"
82
+
rel="noopener noreferrer"
83
+
>
84
+
<ExternalLink className="w-4 h-4 mr-2" />
85
+
View in PDS
86
+
</a>
87
+
</Button>
88
+
)}
84
89
</div>
85
90
</CardHeader>
86
91
<CardContent className="space-y-4">