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

View File

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

View File

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