Fixed shop items
This commit is contained in:
parent
bf6a28faca
commit
aa67af4b71
@ -1,4 +1,4 @@
|
||||
component Shop(user *arn.User, items []*arn.Item)
|
||||
component Shop(user *arn.User, items []*arn.ShopItem)
|
||||
ShopTabs(user)
|
||||
|
||||
h1.page-title Shop
|
||||
@ -17,7 +17,7 @@ component ShopTabs(user *arn.User)
|
||||
Tab("History", "history", "/shop/history")
|
||||
Tab(strconv.Itoa(user.Balance), "diamond", "/charge")
|
||||
|
||||
component ShopItem(item *arn.Item)
|
||||
component ShopItem(item *arn.ShopItem)
|
||||
.shop-item.mountable(data-item-id=item.ID)
|
||||
h3.shop-item-name
|
||||
.item-icon
|
||||
|
@ -87,7 +87,7 @@ Includes:
|
||||
Order: 4,
|
||||
Consumable: true,
|
||||
},
|
||||
// &arn.Item{
|
||||
// &arn.ShopItem{
|
||||
// ID: "anime-support-ticket",
|
||||
// Name: "Anime Support Ticket",
|
||||
// Price: 100,
|
||||
@ -97,7 +97,7 @@ Includes:
|
||||
|
||||
// *This feature is work in progress.*`,
|
||||
// Icon: "ticket",
|
||||
// Rarity: arn.ItemRarityRare,
|
||||
// Rarity: arn.ShopItemRarityRare,
|
||||
// Order: 5,
|
||||
// Consumable: false,
|
||||
// },
|
||||
|
Loading…
Reference in New Issue
Block a user