<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Signups on WaterBears</title>
    <link>http://localhost:1313/signup/</link>
    <description>Recent content in Signups on WaterBears</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <atom:link href="http://localhost:1313/signup/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Sign Up</title>
      <link>http://localhost:1313/signup/signup-form/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>http://localhost:1313/signup/signup-form/</guid>
      <description>&lt;form id=&#34;signup-form&#34;&gt;&#xD;&#xA;  &lt;label for=&#34;email&#34;&gt;Email&lt;/label&gt;&#xD;&#xA;  &lt;input type=&#34;email&#34; id=&#34;email&#34; name=&#34;email&#34; placeholder=&#34;Enter your email&#34; required /&gt;&#xD;&#xA;&#xD;&#xA;  &lt;label for=&#34;password&#34;&gt;Password&lt;/label&gt;&#xD;&#xA;  &lt;input type=&#34;password&#34; id=&#34;password&#34; name=&#34;password&#34; placeholder=&#34;Enter your password&#34; required /&gt;&#xD;&#xA;&#xD;&#xA;  &lt;button type=&#34;submit&#34;&gt;Sign Up&lt;/button&gt;&#xD;&#xA;&lt;/form&gt;&#xD;&#xA;&#xD;&#xA;&lt;!-- Script to handle the form submission for Sign Up --&gt;&#xD;&#xA;&lt;script&gt;&#xD;&#xA;  document.getElementById(&#39;signup-form&#39;).addEventListener(&#39;submit&#39;, async (e) =&gt; {&#xD;&#xA;    e.preventDefault();&#xD;&#xA;    const email = document.getElementById(&#39;email&#39;).value;&#xD;&#xA;    const password = document.getElementById(&#39;password&#39;).value;&#xD;&#xA;&#xD;&#xA;    const response = await fetch(&#39;/.netlify/functions/signup&#39;, {&#xD;&#xA;      method: &#39;POST&#39;,&#xD;&#xA;      headers: { &#39;Content-Type&#39;: &#39;application/json&#39; },&#xD;&#xA;      body: JSON.stringify({ email, password }),&#xD;&#xA;    });&#xD;&#xA;&#xD;&#xA;    const result = await response.json();&#xD;&#xA;    if (response.ok) {&#xD;&#xA;      alert(result.message); // Success&#xD;&#xA;      window.location.href = &#34;/login/&#34;; // Redirect to login page after successful signup&#xD;&#xA;    } else {&#xD;&#xA;      alert(result.message); // Error&#xD;&#xA;    }&#xD;&#xA;  });&#xD;&#xA;&lt;/script&gt;</description>
    </item>
  </channel>
</rss>
