diff --git a/internal/templates/index.templ b/internal/templates/index.templ index d11ab72..3a5f967 100644 --- a/internal/templates/index.templ +++ b/internal/templates/index.templ @@ -13,13 +13,13 @@ templ Search(q string) {
- searching + Searching...
} else {
-
search for anime
-
use the search bar above to find anime to add to your watchlist
+
Search for anime
+
Use the search bar above to find anime to add to your watchlist.
} } diff --git a/internal/templates/index_templ.go b/internal/templates/index_templ.go index a4cb0fe..7468ad4 100644 --- a/internal/templates/index_templ.go +++ b/internal/templates/index_templ.go @@ -48,7 +48,7 @@ func Search(q string) templ.Component { } ctx = templ.InitializeContext(ctx) if q != "" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "
searching
Searching...
search for anime
use the search bar above to find anime to add to your watchlist
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "
Search for anime
Use the search bar above to find anime to add to your watchlist.
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/internal/templates/notifications_templ.go b/internal/templates/notifications_templ.go index 677ca70..23621e6 100644 --- a/internal/templates/notifications_templ.go +++ b/internal/templates/notifications_templ.go @@ -75,7 +75,7 @@ func Notifications(watching []WatchingAnimeWithDetails) templ.Component { return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "

discovered sequels

Because you've watched prequels.

Syncing sequel graphs...
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "

Discovered sequels

Because you've watched prequels.

Syncing sequel graphs...
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -159,7 +159,7 @@ func renderSplitSeasons(upcomingSeasons []database.GetUpcomingSeasonsRow) templ. ctx = templ.ClearChildren(ctx) if airing, upcoming := splitUpcomingSeasons(upcomingSeasons); true { if len(airing) > 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "

airing now (not tracked)

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "

Airing now (not tracked)

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -179,7 +179,7 @@ func renderSplitSeasons(upcomingSeasons []database.GetUpcomingSeasonsRow) templ. return templ_7745c5c3_Err } if len(upcoming) > 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "

announced & upcoming

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "

Announced & upcoming

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/internal/templates/watchlist.templ b/internal/templates/watchlist.templ index 83ff131..76158a1 100644 --- a/internal/templates/watchlist.templ +++ b/internal/templates/watchlist.templ @@ -10,21 +10,21 @@ templ Watchlist(entries []database.GetUserWatchListRow, layout string, currentSt

Watchlist

- export + Export
- grid - table + Grid + Table
- all + All Watching - continuing + Continuing On hold Plan to watch Dropped @@ -33,14 +33,14 @@ templ Watchlist(entries []database.GetUserWatchListRow, layout string, currentSt @SortFilter(SortFilterOptions{Sort: sortBy, Order: sortOrder, View: layout, Status: currentStatus}) if len(entries) == 0 {
-
nothing here yet
+
Nothing here yet
if currentStatus == "all" { - your watchlist is empty. search for anime to get started. + Your watchlist is empty. Search for anime to get started. } else if currentStatus == "continuing" { - no airing anime with watching or plan to watch status. + No airing anime with watching or plan to watch status. } else { - no anime in this category. + No anime in this category. }
@@ -95,7 +95,7 @@ templ Watchlist(entries []database.GetUserWatchListRow, layout string, currentSt hx-target={ fmt.Sprintf("#watchlist-entry-%d", entry.AnimeID) } hx-swap="delete" style="background: none; border: none; cursor: pointer;" - >remove + >Remove } diff --git a/internal/templates/watchlist_templ.go b/internal/templates/watchlist_templ.go index 3ac0b04..fe9263c 100644 --- a/internal/templates/watchlist_templ.go +++ b/internal/templates/watchlist_templ.go @@ -46,7 +46,7 @@ func Watchlist(entries []database.GetUserWatchListRow, layout string, currentSta }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "

Watchlist

export
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "

Watchlist

Export
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -81,7 +81,7 @@ func Watchlist(entries []database.GetUserWatchListRow, layout string, currentSta if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "\">grid ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "\">Grid ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -116,7 +116,7 @@ func Watchlist(entries []database.GetUserWatchListRow, layout string, currentSta if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "\">table
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "\">Table
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -151,7 +151,7 @@ func Watchlist(entries []database.GetUserWatchListRow, layout string, currentSta if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "\">all ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "\">All ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -221,7 +221,7 @@ func Watchlist(entries []database.GetUserWatchListRow, layout string, currentSta if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "\">continuing ") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "\">Continuing ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -374,22 +374,22 @@ func Watchlist(entries []database.GetUserWatchListRow, layout string, currentSta return templ_7745c5c3_Err } if len(entries) == 0 { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "
nothing here yet
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "
Nothing here yet
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } if currentStatus == "all" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, "your watchlist is empty. search for anime to get started.") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, "Your watchlist is empty. Search for anime to get started.") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else if currentStatus == "continuing" { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "no airing anime with watching or plan to watch status.") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "No airing anime with watching or plan to watch status.") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } } else { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "no anime in this category.") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "No anime in this category.") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -630,7 +630,7 @@ func Watchlist(entries []database.GetUserWatchListRow, layout string, currentSta if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "\" hx-swap=\"delete\" style=\"background: none; border: none; cursor: pointer;\">remove") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "\" hx-swap=\"delete\" style=\"background: none; border: none; cursor: pointer;\">Remove") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/static/css/style.css b/static/css/style.css index 2970812..63a38b1 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -346,8 +346,8 @@ a.htmx-request { /* Empty State */ .empty-state { - text-align: center; - padding: var(--space-2xl) var(--space-lg); + text-align: left; + padding: var(--space-md) 0; } .empty-state-title { @@ -1205,13 +1205,13 @@ a.htmx-request { .notifications-subtitle { color: var(--text-muted); font-size: var(--text-sm); - margin: 0 0 var(--space-2xl) 0; + margin: 0 0 var(--space-lg) 0; } .no-notifications { - text-align: center; + text-align: left; color: var(--text-muted); - padding: var(--space-2xl); + padding: var(--space-md) 0; } .no-notifications .hint {