~franz/f-a.nz

4dd87e65167d7bb2c75f03eda5f9eb86a9a74cc4 — Franz Geffke 3 months ago 48bc4bf
fixed weather and time zone; removed contact form
3 files changed, 12 insertions(+), 12 deletions(-)

M _includes/footer.html
M _includes/page-sidebar-nav.html
M contact.html
M _includes/footer.html => _includes/footer.html +1 -1
@@ 88,7 88,7 @@ $(window).load(function () {
</script>
<script>
	const Http = new XMLHttpRequest();
	Http.open("GET", 'https://api.openweathermap.org/data/2.5/weather?q=Tehran&APPID=c3f4b205f8cacdb34188102e9f4c6ca5');
	Http.open("GET", 'https://api.openweathermap.org/data/2.5/weather?q=Lisbon,PT&APPID=c3f4b205f8cacdb34188102e9f4c6ca5');
	Http.send();
	Http.onreadystatechange=(e)=>{
		let data = JSON.parse(Http.responseText);

M _includes/page-sidebar-nav.html => _includes/page-sidebar-nav.html +2 -3
@@ 37,11 37,10 @@
    <p class="title second">Notes & Links</p>
    <ul>
      <li><a href="/gpg/">My Public key (GPG)</a></li>
      <li><a href="/persian/dictionary/">Persian Dictionary</a></li>
      <li><a href="/privacy/">Privacy Policy</a></li>
      <li><a href="/dev/">Development</a></li>
      <li><strike><a href="https://github.com/franzos/">GitHub</a></strike></li>
      <li><a href="https://git.sr.ht/~franz">git</a></li>
      <!-- <li><strike><a href="https://github.com/franzos/">GitHub</a></strike></li>
      <li><a href="https://git.sr.ht/~franz">git</a></li> -->
    </ul>
    <p>
      Find me on Mastodon

M contact.html => contact.html +9 -8
@@ 4,7 4,7 @@ layout: page_sidebar
bg: contact
map: "-9.1564857,38.7207929"
location: Lisbon
offset: 0
offset: 1
permalink: /contact/
---



@@ 22,24 22,25 @@ permalink: /contact/
</p>

<div id="contact">
  <div class="contact-form">
    <form action="https://formspree.io/f/xpzorklr" method="post">
  <p style="max-width:50%"><small>There used to be a contact form here, but it has been overwhelmed by spam in August 2022 and for your sake, I still refuse to use reCAPTCHA - so send me an e-mail or message instead, yeah?</small></p>
  <!-- <div class="contact-form">
    <form action="https://formspree.io/f/" method="post">
      <div class="form-group">
        <label for="name">What's your name?</label>
        <input type="text" class="form-control" name="name" id="name" placeholder="Name" required>
        <input type="text" class="form-control" name="name" id="name" placeholder="Name" disabled>
      </div>
      <div class="form-group">
        <label for="email">How can I reach you?</label>
        <input type="email" class="form-control" name="email" id="email" placeholder="Email" required>
        <input type="email" class="form-control" name="email" id="email" placeholder="Email" disabled>
      </div>
      <div class="form-group">
        <label for="message">Tell me more:</label>
        <textarea class="form-control" name="message" id="message" placeholder="Message" rows="10"></textarea>
        <textarea class="form-control" name="message" id="message" placeholder="Message" rows="10" disabled></textarea>
      </div>
      <input type="hidden" name="_subject" value="f-a.nz Website" />
      <button type="submit" class="btn btn-default">Send Message</button>
      <button type="submit" class="btn btn-default" disabled>Send Message</button>
    </form>
  </div>
  </div> -->
</div>

<style>