3 Commits

Author SHA1 Message Date
AlecM33
befbeaa228 formatting 2024-11-11 15:01:56 -05:00
AlecM33
467a0a17de update role descriptions 2024-11-11 15:00:18 -05:00
AlecM33
0bbd696fba remove footer, update link to buymeacoffee 2024-11-11 14:32:39 -05:00
4 changed files with 13 additions and 15 deletions

View File

@@ -2,17 +2,17 @@ export const defaultRoles = [
{
role: 'Villager',
team: 'good',
description: 'During the day, find the wolves and kill them.'
description: 'During the day, find the Werewolves and kill them.'
},
{
role: 'Werewolf',
team: 'evil',
description: "During the night, choose a villager to kill. Don't get killed."
description: 'During the night, choose a player to eliminate.'
},
{
role: 'Dream Wolf',
team: 'evil',
description: "You are a Werewolf, but you don't wake up with the other Werewolves until one of them dies."
description: 'You are a Werewolf, but you don\'t wake up with the other Werewolves until one of them dies.'
},
{
role: 'Sorceress',
@@ -22,12 +22,12 @@ export const defaultRoles = [
{
role: 'Knowing Minion',
team: 'evil',
description: 'You are an evil Villager, and you know who the Werewolves are.'
description: 'You are an evil Villager, and you know who the Werewolves are. You win if the Werewolves win.'
},
{
role: 'Blind Minion',
team: 'evil',
description: "You are an evil villager, but you don't know who the Werewolves are."
description: 'You are an evil villager, but you do NOT know who the Werewolves are. You win if the Werewolves win.'
},
{
role: 'Seer',
@@ -48,11 +48,11 @@ export const defaultRoles = [
{
role: 'Parity Hunter',
team: 'good',
description: 'You beat a werewolf in a 1v1 situation, winning the game for the village.'
description: 'If you and a Werewolf are the only two players remaining, the Village wins.'
},
{
role: 'Brutal Hunter',
team: 'good',
description: 'When you are eliminated, choose another player to go with you.'
description: 'When you are eliminated, choose another player to be eliminated with you.'
}
];

View File

@@ -44,6 +44,7 @@ function getNavbarLinks (page = null, device) {
'<a class="' + linkClass + '" href="/create">Create</a>' +
'<a class="' + linkClass + '" href="/how-to-use">How to Use</a>' +
'<a class="' + linkClass + ' "href="mailto:play.werewolf.contact@gmail.com?Subject=Werewolf App" target="_top">Feedback</a>' +
'<a class="' + linkClass + ' "href="https://buymeacoffee.com/alecm33" target="_top">Support Me</a>' +
'<a class="' + linkClass + ' "href="https://github.com/alecm33/Werewolf" target="_top">Github</a>';
}

View File

@@ -54,6 +54,10 @@ button#home-create-button {
margin: 0 15px;
}
#about-container div:nth-child(2) h2 {
margin-bottom: 2em;
}
#homepage-logos {
display: flex;
align-items: center;

View File

@@ -34,7 +34,7 @@
<button id="home-create-button" class="app-button">Create A Room</button>
</a>
<div id="join-container">
<label for="join-form">Join A Room</label>
<label>Join A Room</label>
<form id="join-form">
<div>
<label for="room-code">Room Code</label>
@@ -59,13 +59,6 @@
<h2>Create your own game with default or custom roles.</h2>
</div>
</div>
<footer id="footer">
<a href="https://www.buymeacoffee.com/alecm33"><img alt="Buy Me a Coffee" src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=alecm33&button_colour=252525&font_colour=d7d7d7&font_family=Lato&outline_colour=d7d7d7&coffee_colour=d7d7d7" /></a>
<div>
<a aria-label="view the project on Github" href="https://github.com/AlecM33/Werewolf"><img alt="Github" src='/images/GitHub-Mark-Light-120px-plus.png'/></a>
<a aria-label="email the creator with questions" href="mailto:play.werewolf.contact@gmail.com?Subject=Werewolf App" target="_top"><img alt="email" src='/images/email.svg'/></a>
</div>
</footer>
<script src="/dist/home-bundle.js.gz"></script>
</body>
</html>