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