mirror of
https://github.com/romancm/gamebrary
synced 2025-02-17 11:38:24 +00:00
Show steam as new
This commit is contained in:
parent
f1e565e89d
commit
e2043ad7f6
2 changed files with 17 additions and 25 deletions
|
@ -22,10 +22,14 @@
|
|||
@click="changePlatform(platform)"
|
||||
>
|
||||
<div
|
||||
v-if="ownedPlatform(platform.code)"
|
||||
v-if="ownedPlatform(platform.code) || platform.new"
|
||||
class="owned-platform"
|
||||
>
|
||||
<i class="fas fa-check" />
|
||||
<span class="new-platform" v-if="platform.new">
|
||||
New!
|
||||
</span>
|
||||
|
||||
<i v-else class="fas fa-check" />
|
||||
</div>
|
||||
|
||||
<img
|
||||
|
@ -238,4 +242,14 @@ export default {
|
|||
color: $color-dark-gray;
|
||||
}
|
||||
}
|
||||
|
||||
.new-platform {
|
||||
background: $color-green;
|
||||
height: 14px;
|
||||
padding: 0 $gp / 2;
|
||||
border-bottom-left-radius: $border-radius;
|
||||
font-size: 12px;
|
||||
align-items: center;
|
||||
color: $color-white;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -8,6 +8,7 @@ export default [
|
|||
{
|
||||
name: 'Steam',
|
||||
code: 'steam',
|
||||
new: true,
|
||||
id: 92,
|
||||
generation: 8,
|
||||
hex: '#171a21',
|
||||
|
@ -623,18 +624,6 @@ export default [
|
|||
// id: 72,
|
||||
// },
|
||||
// {
|
||||
// name: 'BlackBerry OS',
|
||||
// id: 73,
|
||||
// },
|
||||
// {
|
||||
// name: 'Windows Phone',
|
||||
// id: 74,
|
||||
// },
|
||||
// {
|
||||
// name: 'Apple II',
|
||||
// id: 75,
|
||||
// },
|
||||
// {
|
||||
// name: 'Sharp X1',
|
||||
// id: 77,
|
||||
// },
|
||||
|
@ -651,10 +640,6 @@ export default [
|
|||
// id: 80,
|
||||
// },
|
||||
// {
|
||||
// name: 'Web browser',
|
||||
// id: 82,
|
||||
// },
|
||||
// {
|
||||
// name: 'SG-1000',
|
||||
// id: 84,
|
||||
// },
|
||||
|
@ -671,10 +656,6 @@ export default [
|
|||
// id: 87,
|
||||
// },
|
||||
// {
|
||||
// name: 'Odyssey',
|
||||
// id: 88,
|
||||
// },
|
||||
// {
|
||||
// name: 'Microvision',
|
||||
// id: 89,
|
||||
// },
|
||||
|
@ -687,9 +668,6 @@ export default [
|
|||
// id: 91,
|
||||
// },
|
||||
// {
|
||||
// name: 'SteamOS',
|
||||
// id: 92,
|
||||
// },
|
||||
// {
|
||||
// name: 'Commodore 16',
|
||||
// id: 93,
|
||||
|
|
Loading…
Add table
Reference in a new issue