mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-05 11:22:41 +00:00
116 lines
3.0 KiB
Plaintext
116 lines
3.0 KiB
Plaintext
---
|
|
layout: main/content
|
|
title: Guestbook
|
|
eleventyNavigation:
|
|
key: Guestbook
|
|
order: 9
|
|
eleventyComputed:
|
|
desc: Leave a message for {{ sitemeta.siteAuthor.name }}.
|
|
---
|
|
|
|
<p>Feel free to say hi and connect with me! You may share your own website here.</p>
|
|
|
|
<p>This guestbook is not the place to ask for help with my video game mods. Ask for mod support or report issues with my mods on Deadly Stream, Nexus Mods or <a href="mailto:{{sitemeta.siteAuthor.email}}">send me an email</a>.</p>
|
|
|
|
<p>This guestbook utilises <a href="https://firebase.google.com/docs/database/">Firebase Realtime Database</a>, thus JavaScript is required for this guestbook to fully function.</p>
|
|
|
|
<p><a href="https://web.archive.org/web/20240510121252/https%3A%2F%2Fleilukin.123guestbook.com%2F">Archive of my previous guestbook hosted on 123Guestbook</a></p>
|
|
|
|
<h2>Leave A Message</h2>
|
|
|
|
<form class="gb__form">
|
|
<div class="gb__form--group">
|
|
<label for="name-input">Name:</label>
|
|
<input type="text" name="name" id="name-input" required>
|
|
</div>
|
|
|
|
<div class="gb__form--group">
|
|
<label for="email-input">Email (will not be published):</label>
|
|
<input type="email" name="email" id="email-input" required>
|
|
</div>
|
|
|
|
<div class="gb__form--group">
|
|
<label for="website-input">Website (optional):</label>
|
|
<input type="text" name="website" id="website-input">
|
|
</div>
|
|
|
|
<div class="gb__form--group">
|
|
<label for="message-input">Message:</label>
|
|
<textarea type="text" rows="4" name="message" id="message-input" required></textarea>
|
|
</div>
|
|
|
|
<button type="submit" class="gb__form--submit">Publish</button>
|
|
</form>
|
|
|
|
<section class="gb__messages">
|
|
<h2>Messages</h2>
|
|
<div class="gb__message--list"></div>
|
|
</section>
|
|
|
|
<style>
|
|
.gb__form,
|
|
.gb__form--group,
|
|
.gb__message--list,
|
|
.gb__message {
|
|
display: grid;
|
|
}
|
|
|
|
.gb__form {
|
|
gap: 0.6em;
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
.gb__form--group {
|
|
gap: 0.2em;
|
|
}
|
|
|
|
.gb__form--submit,
|
|
.gb__message--reply-btn {
|
|
border: none;
|
|
background: var(--clr-link-btn-bg);
|
|
color: var(--clr-link-btn-txt);
|
|
padding: 0.3em 0.6em;
|
|
}
|
|
|
|
.gb__form--group input,
|
|
.gb__form--group textarea,
|
|
.gb__form--submit,
|
|
.gb__message--reply-btn {
|
|
border-radius: 0.2em;
|
|
}
|
|
|
|
.gb__form--group textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
.gb__form--group input:focus,
|
|
.gb__form--group textarea:focus {
|
|
outline: 0.15em solid var(--clr-link);
|
|
}
|
|
|
|
.gb__message--list {
|
|
gap: 1em;
|
|
}
|
|
|
|
.gb__message {
|
|
gap: 0.5em;
|
|
padding: 1em 1.4em 1.4em;
|
|
background-color: var(--clr-quote-bg);
|
|
}
|
|
|
|
.gb__message--name {
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.gb__message--time,
|
|
.gb__message--reply-btn {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.gb__message--reply-btn {
|
|
justify-self: start;
|
|
margin-top: 0.3em;
|
|
}
|
|
</style>
|
|
|
|
<script type="module" src="/assets/js/guestbook.js" defer></script> |