Moved default cover to elements directory
This commit is contained in:
parent
3b1e8cacd0
commit
26040e89b6
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 158 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
@ -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.
|
||||||
|
|
||||||
|
@ -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",
|
||||||
|
4
tests.go
4
tests.go
@ -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",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user