From e28b11c3224d88d016776db55a159f81755df385 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 6 Jul 2017 22:23:32 +0200 Subject: [PATCH] More page titles --- pages/admin/admin.pixy | 2 +- pages/animelist/animelist.pixy | 2 +- pages/dashboard/dashboard.pixy | 2 +- pages/explore/explore.pixy | 2 +- pages/genres/genres.pixy | 2 +- pages/profile/posts.pixy | 2 +- pages/profile/tracks.pixy | 2 +- pages/settings/settings.pixy | 2 +- pages/users/users.pixy | 2 +- pages/webdev/webdev.pixy | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pages/admin/admin.pixy b/pages/admin/admin.pixy index 5790361d..e4d08109 100644 --- a/pages/admin/admin.pixy +++ b/pages/admin/admin.pixy @@ -1,5 +1,5 @@ component Admin(user *arn.User) - h2.page-title Admin Panel + h1.page-title Admin Panel h3 Server table diff --git a/pages/animelist/animelist.pixy b/pages/animelist/animelist.pixy index 7e33b3e2..0c300b61 100644 --- a/pages/animelist/animelist.pixy +++ b/pages/animelist/animelist.pixy @@ -1,7 +1,7 @@ component AnimeLists(animeLists map[string]*arn.AnimeList, viewUser *arn.User, user *arn.User, uri string) ProfileHeader(viewUser, user, uri) - h2.page-title.anime-list-owner= viewUser.Nick + "'s collection" + h1.page-title.anime-list-owner= viewUser.Nick + "'s collection" if len(animeLists[arn.AnimeListStatusWatching].Items) == 0 && len(animeLists[arn.AnimeListStatusCompleted].Items) == 0 && len(animeLists[arn.AnimeListStatusPlanned].Items) == 0 && len(animeLists[arn.AnimeListStatusHold].Items) == 0 && len(animeLists[arn.AnimeListStatusDropped].Items) == 0 p.no-data.mountable= viewUser.Nick + " hasn't added any anime yet." diff --git a/pages/dashboard/dashboard.pixy b/pages/dashboard/dashboard.pixy index a6f5258c..c0254df9 100644 --- a/pages/dashboard/dashboard.pixy +++ b/pages/dashboard/dashboard.pixy @@ -1,5 +1,5 @@ component Dashboard(schedule []*arn.UpcomingEpisode, posts []arn.Postable, soundTracks []*arn.SoundTrack, following []*arn.User) - h2.page-title Dash + h1.page-title Dashboard .widgets .widget.mountable diff --git a/pages/explore/explore.pixy b/pages/explore/explore.pixy index 202a7817..8a0149a5 100644 --- a/pages/explore/explore.pixy +++ b/pages/explore/explore.pixy @@ -1,3 +1,3 @@ component Airing(animeList []*arn.Anime) - h2.page-title(title=toString(len(animeList)) + " anime") Explore + h1.page-title(title=toString(len(animeList)) + " anime") Explore AnimeGrid(animeList) \ No newline at end of file diff --git a/pages/genres/genres.pixy b/pages/genres/genres.pixy index 6a684db4..5e5663d6 100644 --- a/pages/genres/genres.pixy +++ b/pages/genres/genres.pixy @@ -1,5 +1,5 @@ component Genres(genres []*arn.Genre) - h2.page-title Genres + h1.page-title Genres .genres each genre in genres diff --git a/pages/profile/posts.pixy b/pages/profile/posts.pixy index 981c336a..d7176bd8 100644 --- a/pages/profile/posts.pixy +++ b/pages/profile/posts.pixy @@ -2,7 +2,7 @@ component LatestPosts(postables []arn.Postable, viewUser *arn.User, user *arn.Us ProfileHeader(viewUser, user, uri) if len(postables) > 0 - h2.page-title= len(postables), " latest posts by ", postables[0].Author().Nick + h1.page-title= len(postables), " latest posts by ", postables[0].Author().Nick PostableList(postables, user) else p.no-data.mountable= viewUser.Nick + " hasn't written any posts yet." \ No newline at end of file diff --git a/pages/profile/tracks.pixy b/pages/profile/tracks.pixy index ae49399b..894f06f6 100644 --- a/pages/profile/tracks.pixy +++ b/pages/profile/tracks.pixy @@ -1,7 +1,7 @@ component TrackList(tracks []*arn.SoundTrack, viewUser *arn.User, user *arn.User, uri string) ProfileHeader(viewUser, user, uri) - h2.page-title= "Tracks added by " + viewUser.Nick + h1.page-title= "Tracks added by " + viewUser.Nick if len(tracks) == 0 p.no-data.mountable= viewUser.Nick + " hasn't added any tracks yet." diff --git a/pages/settings/settings.pixy b/pages/settings/settings.pixy index 0580ddc4..382dc1ce 100644 --- a/pages/settings/settings.pixy +++ b/pages/settings/settings.pixy @@ -1,5 +1,5 @@ component Settings(user *arn.User) - h2.page-title Settings + h1.page-title Settings .widgets .widget.mountable(data-api="/api/user/" + user.ID) h3.widget-title diff --git a/pages/users/users.pixy b/pages/users/users.pixy index 4284669e..6a25e9cb 100644 --- a/pages/users/users.pixy +++ b/pages/users/users.pixy @@ -1,5 +1,5 @@ component Users(users []*arn.User) - h2.page-title Users + h1.page-title Users .user-avatars each user in users diff --git a/pages/webdev/webdev.pixy b/pages/webdev/webdev.pixy index 04d9f32d..11ae5d3b 100644 --- a/pages/webdev/webdev.pixy +++ b/pages/webdev/webdev.pixy @@ -1,5 +1,5 @@ component WebDev - h2.page-title WebDev + h1.page-title WebDev .light-button-group a.light-button(href="https://developers.google.com/speed/pagespeed/insights/?url=https://notify.moe/&tab=desktop", target="_blank", rel="noopener")