lint, fix repo-card styling

This commit is contained in:
Evan Jarrett
2026-01-14 23:18:35 -06:00
parent 055b34af71
commit eb3eed5f7a
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ type RepositoryWithStats struct {
// RepoCardData contains all data needed to render a repository card
type RepoCardData struct {
OwnerHandle string
OwnerAvatarURL string // Owner's profile avatar URL (fallback when no repo icon)
OwnerAvatarURL string // Owner's profile avatar URL (fallback when no repo icon)
Repository string
Title string
Description string
@@ -17,7 +17,7 @@
- LastUpdated: time.Time (optional) - Last push time
- RegistryURL: string - Registry URL for docker commands (e.g., "atcr.io")
*/}}
<div class="card card-border card-interactive bg-base-100 p-6 flex flex-col justify-between min-h-60 w-full" onclick="window.location='/r/{{ .OwnerHandle }}/{{ .Repository }}'">
<div class="card card-interactive bg-base-200 border-2 border-base-300 p-6 flex flex-col justify-between min-h-60 w-full" onclick="window.location='/r/{{ .OwnerHandle }}/{{ .Repository }}'">
<div class="flex gap-4 items-start">
{{ if .IconURL }}
<img src="{{ .IconURL }}" alt="{{ .Repository }}" class="w-12 rounded-lg object-cover shrink-0">
-1
View File
@@ -1043,4 +1043,3 @@ func TestGetBlobServerError(t *testing.T) {
t.Error("Expected error from GetBlob, got nil")
}
}
+1 -1
View File
@@ -247,7 +247,7 @@ func (h *XRPCHandler) HandleNotifyManifest(w http.ResponseWriter, r *http.Reques
Operation string `json:"operation"` // "push" or "pull", defaults to "push" for backward compatibility
Manifest struct {
MediaType string `json:"mediaType"`
Config struct {
Config struct {
Digest string `json:"digest"`
Size int64 `json:"size"`
MediaType string `json:"mediaType"`