15 lines
416 B
Plaintext

component ProfileStats(stats *utils.UserStats, viewUser *arn.User, user *arn.User, uri string)
ProfileHeader(viewUser, user, uri)
.stats
each pie in stats.PieCharts
.widget.mountable
h3.widget-title
Icon("pie-chart")
span= pie.Title
PieChart(pie.Slices)
.footer.mountable
span= viewUser.Nick + " spent "
span= int(stats.AnimeWatchingTime / time.Hour / 24)
span days watching anime.