mirror of https://github.com/bra1n/townsquare.git
commit
04d8bae933
|
@ -2,6 +2,7 @@
|
|||
|
||||
### Version 2.15.4
|
||||
- fixed flickering of add reminder token
|
||||
- added redirect to Chinese version
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@ For base game characters, it is sufficient to only provide the ID, similar to wh
|
|||
* [Blood on the Clocktower](https://bloodontheclocktower.com/) is a trademark of Steven Medway and [The Pandemonium Institute](https://www.thepandemoniuminstitute.com/)
|
||||
* Night reminders and other auxiliary text written by [Ben Finney](http://bignose.whitetree.org/projects/botc/diy/)
|
||||
* Iconography by [Font Awesome](https://fontawesome.com/)
|
||||
* Background image by [Ryan Maloney](https://www.artstation.com/maloney94)
|
||||
* Background image copyright and permission granted by [Ryan Maloney](https://www.artstation.com/maloney94)
|
||||
* Webfonts by [Google Fonts](https://fonts.google.com/) and [Online Web Fonts](https://www.onlinewebfonts.com/)
|
||||
* All other images and icons are copyright to their respective owners
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
|
@ -1,20 +1,31 @@
|
|||
<template>
|
||||
<div class="intro">
|
||||
<img src="static/apple-icon.png" alt="" />
|
||||
Welcome to the (unofficial)
|
||||
<b>Virtual Town Square and Grimoire</b> for Blood on the Clocktower! Please
|
||||
add more players through the
|
||||
<span class="button" @click="toggleMenu">
|
||||
<font-awesome-icon icon="cog" /> Menu
|
||||
</span>
|
||||
on the top right or by pressing <b>[A]</b>. You can also join a game session
|
||||
by pressing <b>[J]</b>.<br />
|
||||
<div class="footer">
|
||||
This project is free and open source and can be found on
|
||||
<a href="https://github.com/bra1n/townsquare" target="_blank">GitHub</a>.
|
||||
It is not affiliated with The Pandemonium Institute. "Blood on the
|
||||
Clocktower" is a trademark of Steven Medway and The Pandemonium Institute.
|
||||
<img src="static/apple-icon.png" alt="" class="logo" />
|
||||
<div>
|
||||
Welcome to the (unofficial)
|
||||
<b>Virtual Town Square and Grimoire</b> for Blood on the Clocktower!
|
||||
Please add more players through the
|
||||
<span class="button" @click="toggleMenu">
|
||||
<font-awesome-icon icon="cog" /> Menu
|
||||
</span>
|
||||
on the top right or by pressing <b>[A]</b>. You can also join a game
|
||||
session by pressing <b>[J]</b>.<br />
|
||||
<div class="footer">
|
||||
This project is free and open source and can be found on
|
||||
<a href="https://github.com/bra1n/townsquare" target="_blank">GitHub</a
|
||||
>. It is not affiliated with The Pandemonium Institute. "Blood on the
|
||||
Clocktower" is a trademark of Steven Medway and The Pandemonium
|
||||
Institute.
|
||||
</div>
|
||||
</div>
|
||||
<a
|
||||
class="redirect"
|
||||
v-if="language === 'zh-CN'"
|
||||
href="https://clocktower.gstonegames.com"
|
||||
>
|
||||
<img src="../assets/gstone.png" class="gstone" alt="" />
|
||||
你想使用中文版魔典吗?
|
||||
</a>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -22,6 +33,11 @@
|
|||
import { mapMutations } from "vuex";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
language: window.navigator.userLanguage || window.navigator.language
|
||||
};
|
||||
},
|
||||
methods: mapMutations(["toggleMenu"])
|
||||
};
|
||||
</script>
|
||||
|
@ -38,15 +54,37 @@ export default {
|
|||
border: 3px solid black;
|
||||
border-radius: 10px;
|
||||
z-index: 3;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
a {
|
||||
color: white;
|
||||
}
|
||||
img {
|
||||
a.redirect {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
margin-top: 2vh;
|
||||
padding: 10px;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
border: 3px solid black;
|
||||
border-radius: 10px;
|
||||
|
||||
&:hover {
|
||||
color: red;
|
||||
}
|
||||
img {
|
||||
width: 120px;
|
||||
display: block;
|
||||
margin: auto;
|
||||
margin-bottom: 1vh;
|
||||
}
|
||||
}
|
||||
|
||||
img.logo {
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
width: 25vh;
|
||||
margin-left: -12.5vh;
|
||||
margin-bottom: 2vh;
|
||||
max-width: 192px;
|
||||
border-radius: 50%;
|
||||
|
|
Loading…
Reference in New Issue