mirror of
https://github.com/RussellChamp/tpw-roller.git
synced 2026-10-28 00:22:36 +00:00
add stuff change index base path
This commit is contained in:
1 parent
7392647a3d
commit
b82a976e1a
7 files changed
+17
-7
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 12 KiB |
+6
-4
@@ -1,20 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<meta name='viewport' content='width=device-width,initial-scale=1'>
|
||||
|
||||
<title>TPW Roller App</title>
|
||||
|
||||
<link rel='icon' type='image/png' href='/favicon.png'>
|
||||
<link rel='icon' type='image/png' href='/tpw/favicon.png'>
|
||||
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css' />
|
||||
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css' />
|
||||
<link rel='stylesheet' href='/global.css'>
|
||||
<link rel='stylesheet' href='/build/bundle.css'>
|
||||
<link rel='stylesheet' href='/tpw/global.css'>
|
||||
<link rel='stylesheet' href='/tpw/build/bundle.css'>
|
||||
|
||||
<script defer src='/build/bundle.js'></script>
|
||||
<script defer src='/tpw/build/bundle.js'></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
+3
-1
@@ -7,7 +7,9 @@
|
||||
</script>
|
||||
|
||||
<main>
|
||||
<h1>Sup world?</h1>
|
||||
<h1>The Perilous Wilds</h1>
|
||||
<h2>A web-app for rolling on tables and getting funny results</h2>
|
||||
<hr />
|
||||
<KingdomRoller />
|
||||
<hr />
|
||||
<RegionRoller />
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<footer>
|
||||
<div>With content from The Perilous Wilds by Jason Lutes</div>
|
||||
<div>Distributed under the Creative Commons Attribution-ShareAlike 3.0 Unported license</div>
|
||||
<div>Find the source for this project on <a href="https://github.com/RussellChamp/tpw-roller">Github</a></div>
|
||||
</footer>
|
||||
</main>
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<main>
|
||||
<h2>Random Follower</h2>
|
||||
<span class="btn">
|
||||
<Button color="primary" on:click={roll}>Roll Follower</Button>
|
||||
<Button color="primary" on:click={roll}>Roll Followers</Button>
|
||||
</span>
|
||||
|
||||
{#each rollResults as result}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
import { kingdoms } from "./data";
|
||||
|
||||
export let rollResults: { value: string; icon: string; timestamp: string }[] = [];
|
||||
let rollResults: { value: string; icon: string; timestamp: string }[] = [];
|
||||
let kingdom = "arpad";
|
||||
let categories: string[];
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
module.exports = {
|
||||
publicPath: process.env.NODE_ENV === 'production'
|
||||
? '/tpw/'
|
||||
: '/'
|
||||
}
|
||||
Reference in new issue
Block a user