Moved default cover to elements directory

This commit is contained in:
Eduard Urbach 2018-03-07 15:42:41 +01:00
parent 3b1e8cacd0
commit 26040e89b6
5 changed files with 15 additions and 14 deletions

View File

Before

Width:  |  Height:  |  Size: 158 KiB

After

Width:  |  Height:  |  Size: 158 KiB

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -76,8 +76,9 @@ component SettingsPersonal(user *arn.User)
.cover-preview(title="Recommended: 1920 x 450 | PNG or JPG")
img#cover-input-preview.profile-cover.lazy(data-src=user.CoverLink("small"), data-webp="true", alt="Cover image")
.footer
p PRO account required.
if !user.IsPro()
.footer
p PRO account required.
component SettingsNotifications(user *arn.User)
SettingsTabs

View File

@ -13,9 +13,10 @@ var items = []*arn.Item{
Includes:
* Dark theme for the site and extension
* Special highlight on the forums
* Dark theme for the website and extension
* Upload your own cover image
* PRO star on your profile
* Special highlight on the forums
* Access to the VIP channel on Discord
* Early access to new features`,
Icon: "star",
@ -33,9 +34,10 @@ Includes:
Includes:
* Dark theme for the site and extension
* Special highlight on the forums
* Dark theme for the website and extension
* Upload your own cover image
* PRO star on your profile
* Special highlight on the forums
* Access to the VIP channel on Discord
* Early access to new features`,
Icon: "star",
@ -53,9 +55,10 @@ Includes:
Includes:
* Dark theme for the site and extension
* Special highlight on the forums
* Dark theme for the website and extension
* Upload your own cover image
* PRO star on your profile
* Special highlight on the forums
* Access to the VIP channel on Discord
* Early access to new features`,
Icon: "star",
@ -73,9 +76,10 @@ Includes:
Includes:
* Dark theme for the site and extension
* Special highlight on the forums
* Dark theme for the website and extension
* Upload your own cover image
* PRO star on your profile
* Special highlight on the forums
* Access to the VIP channel on Discord
* Early access to new features`,
Icon: "star",

View File

@ -241,10 +241,6 @@ var routeTests = map[string][]string{
"/images/login/google",
},
"/images/cover/:file": []string{
"/images/cover/default",
},
"/images/elements/:file": []string{
"/images/elements/no-avatar.svg",
},