From 27f25456c79cbcbdc11cc7cbb87b49bc501eef29 Mon Sep 17 00:00:00 2001 From: array-in-a-matrix Date: Wed, 20 Mar 2024 23:38:59 -0400 Subject: [PATCH] created page --- src/pages/login.astro | 3 +++ src/pages/register.astro | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 src/pages/login.astro create mode 100644 src/pages/register.astro diff --git a/src/pages/login.astro b/src/pages/login.astro new file mode 100644 index 0000000..6443726 --- /dev/null +++ b/src/pages/login.astro @@ -0,0 +1,3 @@ +--- +import '../styles/global.css'; +--- \ No newline at end of file diff --git a/src/pages/register.astro b/src/pages/register.astro new file mode 100644 index 0000000..b113d4f --- /dev/null +++ b/src/pages/register.astro @@ -0,0 +1,33 @@ +--- +import "../styles/theme.css"; + +if (Astro.request.method === "POST") { + try { + const data = await Astro.request.formData(); + // Do something with the data + } catch (error) { + if (error instanceof Error) { + console.error(error.message); + } + } +} +--- + +
+

Register

+
+ + + + + + + +
+
+ +