Add image drawing

This commit is contained in:
Dylan Pizzo
2025-01-06 23:34:41 -05:00
parent b0249f8baf
commit 0e9661f146
3 changed files with 62 additions and 16 deletions

View File

@ -1,7 +1,6 @@
import {
DominionCard,
TYPE_ACTION,
TYPE_ATTACK,
TYPE_REACTION,
TYPE_TREASURE,
} from "./types.ts";
@ -11,9 +10,9 @@ export const sampleCard1: DominionCard = {
title: "Title",
description: "Hello, world.",
types: [TYPE_ACTION, TYPE_REACTION],
image: "",
artist: "",
author: "",
image: "https://wiki.dominionstrategy.com/images/7/76/AdventurerArt.jpg",
artist: "Dall-E",
author: "John Doe",
version: "",
cost: "$",
preview: "",
@ -25,8 +24,8 @@ export const sampleCard2: DominionCard = {
description: "+1 Card\n+1 Action\n+1 Buy\n+$1",
types: [TYPE_ACTION],
image: "",
artist: "",
author: "",
artist: "Leonardo DaVinci",
author: "Jane Smith",
version: "",
cost: "$4",
preview: "",