TinyLifeWeb/web/_includes/social.html

55 lines
2.9 KiB
HTML
Raw Normal View History

2022-07-14 18:36:22 +02:00
<div class="section">
<h1 id="social">🔗 Social</h1>
<p>
2024-11-15 13:58:01 +01:00
If you want to stay up to date with Tiny Life's development, you should follow the game on <a href="https://bsky.app/profile/tinylifegame.bsky.social">Bluesky</a> or <a href="https://twitter.com/TinyLifeGame">Twitter</a> or subscribe to the mailing list below. You can also join the Discord to ask questions or share your gameplay!
2022-07-14 18:36:22 +02:00
</p>
<div class="row justify-content-center socials">
2022-08-31 12:14:32 +02:00
<div class="col-auto" style="padding: 10px;">
2024-11-15 13:58:01 +01:00
<div style="width: 350px; height: 600px; overflow: scroll;">
<script src="https://cdn.jsdelivr.net/npm/bsky-embed/dist/bsky-embed.es.js" async></script>
<bsky-embed username="tinylifegame.bsky.social" mode="dark" limit="10" load-more="true"></bsky-embed>
</div>
<span class="social-bottom">Or view on <a href="https://bsky.app/profile/tinylifegame.bsky.social">Bluesky</a> or <a href="https://twitter.com/TinyLifeGame">Twitter</a></span>
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-08-11 23:08:37 +02:00
<iframe id="discord-widget" title="Ellpeck Games Discord server" width="350" height="600" allowtransparency="true" frameborder="0" style="display: block;"></iframe>
<span class="social-bottom">Or check out <a href="https://link.tinylifegame.com/discordweb">the landing page</a></span>
2022-07-14 18:36:22 +02:00
</div>
2023-06-13 17:24:58 +02:00
<script>
let theme = darkTheme ? "dark" : "light";
2023-06-13 17:24:58 +02:00
$("#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>