{{ if .FeaturedRepos }}
{{ end }}
{{ end }}
{{ if .RecentRepos }}
{{ end }}
{{ if and (not .FeaturedRepos) (not .RecentRepos) }}
{{ if .HasError }}
{{ template "state-error" (dict
"Title" "We couldn't load the home page"
"Subtext" "Something went wrong fetching repositories. This is usually temporary."
"RetryURL" "/"
) }}
{{ else }}
Featured
{{ if gt (len .FeaturedRepos) 1 }}
{{ range $i, $repo := .FeaturedRepos }}
{{ template "repo-card" $repo }}
{{ end }}
What's New
{{ template "card-grid" (dict "Repositories" .RecentRepos) }}
{{ if .User }}
{{ icon "package" "size-12 mx-auto mb-4 text-base-content/30" }}
{{ end }}
{{ else if .HasError }}
{{/* Partial failure: render a non-blocking warning above what did load. */}}
{{ template "alert" (dict "Type" "warning" "Message" "Some sections couldn't be loaded right now. Try refreshing the page.") }}
{{ end }}
Nothing here yet
Push your first image to get started.
{{ template "docker-command" (print "docker push atcr.io/" .User.Handle "/my-image:latest") }} {{ else }} {{ icon "package" "size-12 mx-auto mb-4 text-base-content/30" }}No public repositories yet
Be the first to push an image.
{{ end }}