package templates import "mal/internal/jikan" import "mal/internal/database" import "fmt" type WatchingAnimeWithDetails struct { Entry database.GetWatchingAnimeRow Anime jikan.Anime } templ Notifications(watching []WatchingAnimeWithDetails, upcomingSeasons []database.GetUpcomingSeasonsRow) { @Layout("mal - notifications") {
anime you're watching
if len(watching) == 0 {no airing anime in your watching list
add currently airing shows to your watching list to see upcoming episodes here
because you've watched prequels
if len(upcomingSeasons) == 0 {no upcoming seasons for anime you've watched
as you watch more shows, new seasons will appear here