Compare commits
2 Commits
7e8fe9eb79
...
c4f4b09f18
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c4f4b09f18 | ||
|
|
25493671c5 |
20
app/page.tsx
20
app/page.tsx
@@ -16,13 +16,19 @@ export default function Home() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<main className="min-h-screen flex items-center justify-center bg-[url('/img/table3.png')] bg-cover bg-center">
|
<main className="min-h-screen flex justify-center items-center text-yellow-400 bg-[url('/img/table3.png')] bg-cover bg-center">
|
||||||
<button
|
<div className="flex flex-col items-center gap-8 text-center">
|
||||||
onClick={handleCreateGame}
|
<h1 className="text-5xl font-bold text-center text-primary">Tarokka</h1>
|
||||||
className="bg-slate-800 hover:bg-slate-700 text-yellow-400 border border-yellow-500/25 hover:drop-shadow-[0_0_3px_rgba(255,215,0,0.5)] hover:text-yellow-300 text-lg px-6 py-3 rounded-lg shadow transition-all duration-250 cursor-pointer"
|
<p className="text-l text-center w-[350px] m-auto">
|
||||||
>
|
Online Tarokka readings for <em>Dungeons & Dragons: Curse of Strahd</em>.
|
||||||
Create New Game
|
</p>
|
||||||
</button>
|
<button
|
||||||
|
onClick={handleCreateGame}
|
||||||
|
className="bg-slate-800 hover:bg-slate-700 border border-yellow-500/25 hover:drop-shadow-[0_0_3px_rgba(255,215,0,0.5)] hover:text-yellow-300 text-lg px-6 py-3 rounded-lg shadow transition-all duration-250 cursor-pointer"
|
||||||
|
>
|
||||||
|
Create New Game
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"dev": "nodemon",
|
"dev": "nodemon",
|
||||||
"build": "next build && tsc --project tsconfig.server.json",
|
"build": "next build && tsc --project tsconfig.server.json",
|
||||||
"start": "cross-env NODE_ENV=production TS_NODE_BASEURL=./build node -r tsconfig-paths/register build/server.js",
|
"start": "cross-env NODE_ENV=production TS_NODE_BASEURL=./build node -r tsconfig-paths/register build/server.js",
|
||||||
"deploy": "docker buildx build --platform linux/amd64 -t 192.168.0.2:5000/tarokka --push ."
|
"release": "docker buildx build --platform linux/amd64 -t 192.168.0.2:5000/tarokka --push ."
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user