add stuff change index base path

This commit is contained in:
RussellChamp committed 2021-07-25 02:31:38 -04:00
1 parent 7392647a3d
commit b82a976e1a
7 files changed
+18 -8

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 12 KiB

+7 -5
View File
@@ -1,20 +1,22 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset='utf-8'> <meta charset='utf-8'>
<meta name='viewport' content='width=device-width,initial-scale=1'> <meta name='viewport' content='width=device-width,initial-scale=1'>
<title>TPW Roller App</title> <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@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='https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css' />
<link rel='stylesheet' href='/global.css'> <link rel='stylesheet' href='/tpw/global.css'>
<link rel='stylesheet' href='/build/bundle.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> </head>
<body> <body>
</body> </body>
</html>
</html>
+3 -1
View File
@@ -7,7 +7,9 @@
</script> </script>
<main> <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 /> <KingdomRoller />
<hr /> <hr />
<RegionRoller /> <RegionRoller />
+1
View File
@@ -5,6 +5,7 @@
<footer> <footer>
<div>With content from The Perilous Wilds by Jason Lutes</div> <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>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> </footer>
</main> </main>
+1 -1
View File
@@ -16,7 +16,7 @@
<main> <main>
<h2>Random Follower</h2> <h2>Random Follower</h2>
<span class="btn"> <span class="btn">
<Button color="primary" on:click={roll}>Roll Follower</Button> <Button color="primary" on:click={roll}>Roll Followers</Button>
</span> </span>
{#each rollResults as result} {#each rollResults as result}
+1 -1
View File
@@ -5,7 +5,7 @@
import { kingdoms } from "./data"; 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 kingdom = "arpad";
let categories: string[]; let categories: string[];
+5
View File
@@ -0,0 +1,5 @@
module.exports = {
publicPath: process.env.NODE_ENV === 'production'
? '/tpw/'
: '/'
}