TinyLifeWeb/web/_includes/social.html

51 lines
2.3 KiB
HTML
Raw Normal View History

2022-07-14 18:36:22 +02:00
<div class="section">
<h1 id="social">🔗 Social</h1>
<p>
If you want to stay up to date with Tiny Life's development, you should follow the game on Twitter or subscribe to the mailing list below. You can also join the Discord to ask questions or share your gameplay!
</p>
<div class="row justify-content-center">
2022-08-31 12:14:32 +02:00
<div class="col-auto" style="padding: 10px;">
<a class="twitter-timeline" href="https://twitter.com/TinyLifeGame" width="350" height="600"></a>
2022-10-08 12:24:09 +02:00
<script defer src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
2022-07-14 18:36:22 +02:00
</div>
2022-08-31 12:14:32 +02:00
<div class="col-auto" style="padding: 10px;">
2023-06-13 17:24:58 +02:00
<iframe id="discord-widget" title="Ellpeck Games Discord server" width="350" height="600" allowtransparency="true" frameborder="0"></iframe>
2022-07-14 18:36:22 +02:00
</div>
2023-06-13 17:24:58 +02:00
<script>
let theme = darkTheme ? "dark" :"light";
$("#discord-widget").attr("src", `https://discordapp.com/widget?id=181435613147430913&theme=${theme}`);
$(".twitter-timeline").attr("data-theme", theme);
</script>
2022-07-14 18:36:22 +02:00
</div>
<div id="subscribe" class="mailing-list bg-light">
<h3>📫 Subscribe</h3>
<p>You can also subscribe to the mailing list, which means you will be notified about future news, sneak peeks and devlog posts via email. We promise not to send too many emails, but you can always unsubscribe easily, too.</p>
<form method="post" action="https://lists.ellpeck.de/subscription/form" class="listmonk-form text-center">
<div>
<input type="hidden" name="nonce">
<p><input type="email" name="email" required placeholder="E-mail"></p>
<p><input type="text" name="name" placeholder="Name (optional)"></p>
<p>
2022-08-31 12:14:32 +02:00
<input id="16f4b" type="checkbox" name="l" checked value="16f4bf5a-7133-4255-958e-1d325fea6ba8">
<label for="16f4b">🏡 Tiny Life News</label>
2022-07-14 18:36:22 +02:00
</p>
<p><input type="submit" value="Subscribe"></p>
</div>
</form>
2023-06-13 17:24:58 +02:00
<script>
if (darkTheme) {
let navbar = $("#subscribe");
navbar.removeClass("bg-light");
navbar.addClass("bg-dark");
}
</script>
2022-08-31 12:14:32 +02:00
</div>
2022-07-14 18:36:22 +02:00
</div>