Skip to content

Commit

Permalink
Add tools page for DM Screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakeyzer committed Nov 10, 2023
1 parent f51d205 commit 52a215a
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/campaign/resources/CheatSheet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export default {
{
type: "reaction",
name: "Readied Action",
caption: "Part of you Ready action",
caption: "Part of your Ready action",
description: "Execute the reaction specified by your Ready action.",
src: "phb 193",
},
Expand Down
25 changes: 25 additions & 0 deletions src/router/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,31 @@ const routes = [
},
],
},
{
path: "dm-screen",
component: {
render(c) {
return c("router-view");
},
},
meta: {
title: "D&D 5e DM Screen",
description:
"A DM Screen for D&D 5e. Quickly reference rules and directly run encounters.",
},
children: [
{
path: "",
name: "ToolsDmScreen",
component: () => import("src/views/Tools/DmScreen"),
meta: {
title: "D&D 5e DM Screen",
description:
"A Dungeon Master Screen for D&D 5e. Quickly reference rules and directly run encounters.",
},
}
],
},
{
path: "monster-creator",
component: {
Expand Down
50 changes: 50 additions & 0 deletions src/views/Tools/DmScreen.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<template>
<ToolsPage title="DM Screen" bg_img="monster-tool-header.jpg">
<p>
With our DM screen you have quick access to you D&D 5e rules, your custom encounter and a soundboard.
</p>

<section>
</section>
</ToolsPage>
</template>

<script>
import ToolsPage from "src/components/ToolsPage.vue";
export default {
name: "ToolsMonsterCreator",
components: {
ToolsPage,
},
data() {
return {
};
},
methods: {
},
};
</script>

<style lang="scss" scoped>
.q-img {
display: block;
margin: 30px auto;
width: 100%;
&::v-deep .q-img__content {
> div {
background: none;
}
}
&.res-vul {
width: 50%;
max-width: 300px;
}
&.action {
max-width: 600px;
cursor: pointer;
}
}
</style>
7 changes: 7 additions & 0 deletions src/views/Tools/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ export default {
url: "/tools/encounter-builder",
icon: "fas fa-hammer-war",
},
"dm-screen": {
title: "DM Screen",
description: "Quick access to rules, a soundboard, your players, your custom encounters and more.",
image: "",
url: "/tools/dm-screen",
icon: "fas fa-map",
},
"monster-creator": {
title: "Monster Creator",
description:
Expand Down

0 comments on commit 52a215a

Please sign in to comment.