From 092b6d10225ee79aa3fdeefbca2651f140a47dca Mon Sep 17 00:00:00 2001 From: Alexandr Andreyev Date: Sat, 23 Aug 2025 23:38:37 +0300 Subject: [PATCH] unavailable cards --- fab-ui/index.html | 21 ++++++++++++++++++++- fab-ui/src/fab-card-image.ts | 10 +++++++++- fab-ui/src/fab-card.ts | 18 ++++-------------- 3 files changed, 33 insertions(+), 16 deletions(-) diff --git a/fab-ui/index.html b/fab-ui/index.html index acf4d35..d173c86 100644 --- a/fab-ui/index.html +++ b/fab-ui/index.html @@ -108,7 +108,26 @@ rarity="C" > - + +

Card not Available

+
+ + +
+

Dual Printings

diff --git a/fab-ui/src/fab-card-image.ts b/fab-ui/src/fab-card-image.ts index e6f0db2..af72ad7 100644 --- a/fab-ui/src/fab-card-image.ts +++ b/fab-ui/src/fab-card-image.ts @@ -7,10 +7,12 @@ export class FabCardImage extends LitElement { setId = ''; @property({ type: String }) name = ''; + @property({ type: String }) + is_available = "true"; render() { return html` -
+
`); diff --git a/fab-ui/src/fab-card.ts b/fab-ui/src/fab-card.ts index 485c132..b66339e 100644 --- a/fab-ui/src/fab-card.ts +++ b/fab-ui/src/fab-card.ts @@ -17,11 +17,13 @@ export class FabCardPrinting extends LitElement { foiling = 'S'; @property({ type: Number }) num = 1; + @property({ type: Number }) + available = 100; render() { return html` -
- +
+
`; } - - static styles = css` - .card { - width: 220px; - border-radius: 10px; - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; - } - .card-details { - padding: 10px; - font-size: 12px; - } - `; } \ No newline at end of file