2017-10-20 14:52:07 +00:00
|
|
|
component AnimeTracks(anime *arn.Anime, tracks []*arn.SoundTrack)
|
2017-11-04 10:09:19 +00:00
|
|
|
//- AnimeTabs(anime)
|
2017-10-20 14:52:07 +00:00
|
|
|
|
2017-11-04 10:09:19 +00:00
|
|
|
if len(tracks) > 0
|
|
|
|
.anime-section.mountable
|
|
|
|
h3.anime-section-name Tracks
|
2018-03-12 18:02:23 +00:00
|
|
|
|
|
|
|
.soundtracks.anime-soundtracks
|
2017-11-04 10:09:19 +00:00
|
|
|
each track in tracks
|
2018-03-12 18:02:23 +00:00
|
|
|
SoundTrack(track)
|
|
|
|
|
|
|
|
//- .anime-soundtracks
|
|
|
|
//- each track in tracks
|
|
|
|
//- .anime-soundtrack.mountable(data-mountable-type="track")
|
|
|
|
//- .video-container
|
|
|
|
//- iframe.video.lazy(data-src=track.Media[0].EmbedLink(), allowfullscreen="allowfullscreen")
|
|
|
|
//- a.soundtrack-footer.ajax(href=track.Link())= track.Title
|