Move some files so that deno task dev works
@ -121,7 +121,7 @@ const drawStandardCard = async (
|
||||
context.drawImage(colorImage(getImage("card-brown"), "#ff9911"), 0, 0);
|
||||
context.drawImage(getImage("card-description-focus"), 44, 1094);
|
||||
// Draw the name
|
||||
drawText(context, card.title, 300, 300);
|
||||
drawText(context, card.title, 400, 500);
|
||||
// Draw the description
|
||||
// Draw the types
|
||||
// Draw the cost
|
||||
|
@ -5,10 +5,10 @@ Deno.serve((req: Request) => {
|
||||
|
||||
if (pathname.startsWith("/static")) {
|
||||
return serveDir(req, {
|
||||
fsRoot: "src/static",
|
||||
fsRoot: "static",
|
||||
urlRoot: "static",
|
||||
});
|
||||
} else {
|
||||
return serveFile(req, "src/static/index.html");
|
||||
return serveFile(req, "static/index.html");
|
||||
}
|
||||
});
|
||||
|
Before Width: | Height: | Size: 624 KiB |
Before Width: | Height: | Size: 484 KiB |
Before Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 142 KiB |
Before Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 1.0 MiB |
Before Width: | Height: | Size: 1.0 MiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.0 MiB |
Before Width: | Height: | Size: 117 KiB |
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 960 KiB |
Before Width: | Height: | Size: 466 KiB |
Before Width: | Height: | Size: 265 KiB |
Before Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 353 KiB |
Before Width: | Height: | Size: 291 KiB |
Before Width: | Height: | Size: 200 KiB |
Before Width: | Height: | Size: 175 KiB |
Before Width: | Height: | Size: 157 KiB |
Before Width: | Height: | Size: 113 KiB |
Before Width: | Height: | Size: 131 KiB |
Before Width: | Height: | Size: 916 KiB |
Before Width: | Height: | Size: 735 KiB |
Before Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 316 KiB |
Before Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 384 KiB |
Before Width: | Height: | Size: 140 KiB |
Before Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 38 KiB |
@ -1,27 +0,0 @@
|
||||
@font-face {
|
||||
font-family: 'DominionTitle';
|
||||
font-display: auto;
|
||||
src: local("Trajan Pro Bold"), local("TrajanPro-Bold"), local('Trajan Pro'),
|
||||
url('https://fonts.cdnfonts.com/s/14928/TrajanPro-Bold.woff') format('woff'),
|
||||
url('https://shemitz.net/static/dominion3/Trajan%20Pro%20Bold.ttf') format('truetype'),
|
||||
url('https://dominion.games/fonts/TrajanPro-Bold.otf') format('opentype'),
|
||||
local("Trajan"),
|
||||
local("Optimus Princeps"),
|
||||
url(https://fonts.gstatic.com/s/cinzel/v8/8vIJ7ww63mVu7gt79mT7PkRXMw.woff2) format('woff2');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'DominionText';
|
||||
font-display: auto;
|
||||
src: local("Times New Roman"), serif;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'DominionSpecials';
|
||||
font-display: auto;
|
||||
src: local("Minion Std Black"), local("MinionStd-Black"), local("Minion Std"), local('Minion Pro'),
|
||||
url('https://fonts.cdnfonts.com/s/13260/MinionPro-Regular.woff') format('woff'),
|
||||
url('https://shemitz.net/static/dominion3/MinionStd-Black.otf') format('opentype'),
|
||||
local("Optimus Princeps"),
|
||||
url(https://fonts.gstatic.com/s/cinzel/v8/8vIJ7ww63mVu7gt79mT7PkRXMw.woff2) format('woff2');
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Dominionator</title>
|
||||
<link rel="stylesheet" href="/static/fonts.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script src="/static/dist/bundle.js"></script>
|
||||
</body>
|
||||
</html>
|