Monorepo for wisp.place. A static site hosting service built on top of the AT Protocol. wisp.place

better styling change sync from pds to view on pds

Changed files
+21 -13
hosting-service
src
public
editor
+5 -2
hosting-service/src/server.ts
··· 140 text-decoration: underline; 141 } 142 footer { 143 - margin-top: 3rem; 144 padding-top: 1.5rem; 145 border-top: 1px solid var(--border); 146 text-align: center; ··· 244 padding: 0.5rem 0; 245 border-bottom: 1px solid var(--border); 246 } 247 li a { 248 color: var(--accent); 249 text-decoration: none; ··· 290 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 } 292 footer { 293 - margin-top: 3rem; 294 padding-top: 1.5rem; 295 border-top: 1px solid var(--border); 296 text-align: center;
··· 140 text-decoration: underline; 141 } 142 footer { 143 + margin-top: 2rem; 144 padding-top: 1.5rem; 145 border-top: 1px solid var(--border); 146 text-align: center; ··· 244 padding: 0.5rem 0; 245 border-bottom: 1px solid var(--border); 246 } 247 + li:last-child { 248 + border-bottom: none; 249 + } 250 li a { 251 color: var(--accent); 252 text-decoration: none; ··· 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>'); 294 } 295 footer { 296 + margin-top: 2rem; 297 padding-top: 1.5rem; 298 border-top: 1px solid var(--border); 299 text-align: center;
+16 -11
public/editor/tabs/SitesTab.tsx
··· 70 View and manage all your deployed sites 71 </CardDescription> 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> 84 </div> 85 </CardHeader> 86 <CardContent className="space-y-4">
··· 70 View and manage all your deployed sites 71 </CardDescription> 72 </div> 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 + )} 89 </div> 90 </CardHeader> 91 <CardContent className="space-y-4">