Added an effect to cover images

This commit is contained in:
2016-11-20 23:15:14 +09:00
parent dfb6c4011e
commit 2b53b41f74
3 changed files with 46 additions and 24 deletions

View File

@ -22,9 +22,9 @@ func main() {
app.SetStyle(components.BundledCSS)
user, _ := arn.GetUserByNick("Akyoto")
user.CoverImage.URL = "https://i.imgur.com/6cJrxzx.jpg"
user.CoverImage.URL = "https://www.pixelstalk.net/wp-content/uploads/2016/10/Hanyijie-sky-scenery-ship-anime-art-1920x1080.jpg"
user.CoverImage.Position.X = "50%"
user.CoverImage.Position.Y = "85%"
user.CoverImage.Position.Y = "0%"
user.Save()
scripts, _ := ioutil.ReadFile("temp/scripts.js")