Add external link to user profile on BlueskyUnverified
2fffac8 parent: b2b2cae modified
internal/tmpl/profile.html +1 -1 | @@ -7,7 +7,7 @@ | ||
| 7 | 7 | <h1 class="text-2xl font-bold text-spot-text truncate"> |
| 8 | 8 | {{if .ProfileUser.DisplayName.Valid}}{{.ProfileUser.DisplayName.String}}{{end}} |
| 9 | 9 | </h1> |
| 10 | - <p class="text-spot-secondary">@{{.ProfileUser.Handle}}</p> | |
| 10 | + <p class="flex items-center gap-1.5 text-spot-secondary">@{{.ProfileUser.Handle}}<a href="https://bsky.app/profile/{{.ProfileUser.Handle}}" target="_blank" rel="noopener" class="text-spot-secondary hover:text-spot-green transition"><svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor">{{template "icon-bluesky"}}</svg></a></p> | |
| 11 | 11 | <div class="flex gap-4 mt-3"> |
| 12 | 12 | <div> |
| 13 | 13 | <span class="text-lg font-bold text-spot-text">{{.SubscriptionCount}}</span> |
| @@ -7,7 +7,7 @@ | |||
| 7 | <h1 class="text-2xl font-bold text-spot-text truncate"> | 7 | <h1 class="text-2xl font-bold text-spot-text truncate"> |
| 8 | {{if .ProfileUser.DisplayName.Valid}}{{.ProfileUser.DisplayName.String}}{{end}} | 8 | {{if .ProfileUser.DisplayName.Valid}}{{.ProfileUser.DisplayName.String}}{{end}} |
| 9 | </h1> | 9 | </h1> |
| 10 | - <p class="text-spot-secondary">@{{.ProfileUser.Handle}}</p> | 10 | + <p class="flex items-center gap-1.5 text-spot-secondary">@{{.ProfileUser.Handle}}<a href="https://bsky.app/profile/{{.ProfileUser.Handle}}" target="_blank" rel="noopener" class="text-spot-secondary hover:text-spot-green transition"><svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor">{{template "icon-bluesky"}}</svg></a></p> |
| 11 | <div class="flex gap-4 mt-3"> | 11 | <div class="flex gap-4 mt-3"> |
| 12 | <div> | 12 | <div> |
| 13 | <span class="text-lg font-bold text-spot-text">{{.SubscriptionCount}}</span> | 13 | <span class="text-lg font-bold text-spot-text">{{.SubscriptionCount}}</span> |