From e27e5a9256d5a6f626e8910e8b7552c03d99cb03 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Fri, 6 Oct 2017 06:49:11 +0200 Subject: [PATCH] Minor improvements --- mixins/Sidebar.pixy | 4 ++-- pages/admin/webdev.pixy | 23 +++++++++++++++++- patches/add-shop-items/add-shop-items.go | 30 ++++++++++-------------- 3 files changed, 37 insertions(+), 20 deletions(-) diff --git a/mixins/Sidebar.pixy b/mixins/Sidebar.pixy index 8a6c2e31..3d5132e2 100644 --- a/mixins/Sidebar.pixy +++ b/mixins/Sidebar.pixy @@ -12,9 +12,9 @@ component Sidebar(user *arn.User) SidebarButton("Forum", "/forum", "comment") SidebarButton("Explore", "/explore", "th") - SidebarButton("Artworks", "/artworks", "paint-brush") + //- SidebarButton("Artworks", "/artworks", "paint-brush") SidebarButton("Soundtracks", "/soundtracks", "headphones") - SidebarButton("AMVs", "/amvs", "video-camera") + //- SidebarButton("AMVs", "/amvs", "video-camera") //- SidebarButton("Games", "/games", "gamepad") SidebarButton("Users", "/users", "globe") //- SidebarButton("Search", "/search", "search") diff --git a/pages/admin/webdev.pixy b/pages/admin/webdev.pixy index 0284a844..f053c85e 100644 --- a/pages/admin/webdev.pixy +++ b/pages/admin/webdev.pixy @@ -3,6 +3,8 @@ component WebDev h1.page-title WebDev + h2 Tests + .buttons a.button.mountable(href="https://developers.google.com/speed/pagespeed/insights/?url=https://notify.moe/&tab=desktop", target="_blank", rel="noopener") Icon("external-link") @@ -12,4 +14,23 @@ component WebDev span Mozilla Observatory a.button.mountable(href="https://html5.validator.nu/?doc=https://notify.moe", target="_blank", rel="noopener") Icon("external-link") - span HTML5 Validator \ No newline at end of file + span HTML5 Validator + + h2 Browser Support + + .buttons + a.button.mountable(href="http://caniuse.com/#feat=webp", target="_blank", rel="noopener") + Icon("external-link") + span WebP + a.button.mountable(href="http://caniuse.com/#feat=push-api", target="_blank", rel="noopener") + Icon("external-link") + span Push API + a.button.mountable(href="http://caniuse.com/#feat=serviceworkers", target="_blank", rel="noopener") + Icon("external-link") + span Service Worker + a.button.mountable(href="http://caniuse.com/#feat=intersectionobserver", target="_blank", rel="noopener") + Icon("external-link") + span Intersection Observer + a.button.mountable(href="http://caniuse.com/#feat=requestidlecallback", target="_blank", rel="noopener") + Icon("external-link") + span Request Idle Callback \ No newline at end of file diff --git a/patches/add-shop-items/add-shop-items.go b/patches/add-shop-items/add-shop-items.go index 57592e09..c1e62df5 100644 --- a/patches/add-shop-items/add-shop-items.go +++ b/patches/add-shop-items/add-shop-items.go @@ -12,10 +12,9 @@ var items = []*arn.Item{ Includes: * Special highlight on the forums -* Customizable cover image for your profile -* Custom title for profile and forums -* Your suggestions will have a high priority -* Access to the VIP channel on Discord`, +* High priority for your personal suggestions +* Access to the VIP channel on Discord +* Early access to new features`, Icon: "star", Rarity: arn.ItemRaritySuperior, Order: 1, @@ -30,10 +29,9 @@ Includes: Includes: * Special highlight on the forums -* Customizable cover image for your profile -* Custom title for profile and forums -* Your suggestions will have a high priority -* Access to the VIP channel on Discord`, +* High priority for your personal suggestions +* Access to the VIP channel on Discord +* Early access to new features`, Icon: "star", Rarity: arn.ItemRarityRare, Order: 2, @@ -48,10 +46,9 @@ Includes: Includes: * Special highlight on the forums -* Customizable cover image for your profile -* Custom title for profile and forums -* Your suggestions will have a high priority -* Access to the VIP channel on Discord`, +* High priority for your personal suggestions +* Access to the VIP channel on Discord +* Early access to new features`, Icon: "star", Rarity: arn.ItemRarityUnique, Order: 3, @@ -66,10 +63,9 @@ Includes: Includes: * Special highlight on the forums -* Customizable cover image for your profile -* Custom title for profile and forums -* Your suggestions will have a high priority -* Access to the VIP channel on Discord`, +* High priority for your personal suggestions +* Access to the VIP channel on Discord +* Early access to new features`, Icon: "star", Rarity: arn.ItemRarityLegendary, Order: 4, @@ -80,7 +76,7 @@ Includes: Name: "Anime Support Ticket", Price: 100, Description: `Support the makers of your favourite anime by using an anime support ticket. -Anime Notifier uses 8% of the money to handle the transaction fees while the remaining 92% go directly +Anime Notifier uses 10% of the money to handle the transaction fees while the remaining 90% go directly to the studios involved in the creation of your favourite anime.`, Icon: "ticket", Rarity: arn.ItemRarityRare,