From 08e0eb067fda8266b84ef4ce12e7b5718ce40a71 Mon Sep 17 00:00:00 2001
From: Konrad Serafin <33784221+theinfinit@users.noreply.github.com>
Date: Sun, 16 Feb 2025 14:08:51 +0100
Subject: [PATCH] example(astro): add missing imports, remove unused scripts,
fix indentation (#1455)
Note for pages/index.astro:
+
diff --git a/examples/astro-example/src/pages/sign-in.astro b/examples/astro-example/src/pages/sign-in.astro
index 6bc71112e9..bd1b3d6202 100644
--- a/examples/astro-example/src/pages/sign-in.astro
+++ b/examples/astro-example/src/pages/sign-in.astro
@@ -1,6 +1,8 @@
---
+import { SignInCard } from "@/components/sign-in";
+import RootLayout from "@/layouts/root-layout.astro";
---
-
-
\ No newline at end of file
+
+
diff --git a/examples/astro-example/src/pages/sign-up.astro b/examples/astro-example/src/pages/sign-up.astro
index 136db7b4c3..3c02e493ed 100644
--- a/examples/astro-example/src/pages/sign-up.astro
+++ b/examples/astro-example/src/pages/sign-up.astro
@@ -1,7 +1,8 @@
---
+import { SignUpCard } from "@/components/sign-up";
+import RootLayout from "@/layouts/root-layout.astro";
---
-
-
-
\ No newline at end of file
+
+
diff --git a/examples/astro-example/src/pages/two-factor.astro b/examples/astro-example/src/pages/two-factor.astro
index 3b04945721..5a1cbb3067 100644
--- a/examples/astro-example/src/pages/two-factor.astro
+++ b/examples/astro-example/src/pages/two-factor.astro
@@ -1,7 +1,8 @@
---
+import { TwoFactorComponent } from "@/components/two-factor";
+import RootLayout from "@/layouts/root-layout.astro";
---
-
+
-
\ No newline at end of file
diff --git a/examples/astro-example/src/pages/two-factor/email.astro b/examples/astro-example/src/pages/two-factor/email.astro
index 7a3e973f9a..0d36a3ec0d 100644
--- a/examples/astro-example/src/pages/two-factor/email.astro
+++ b/examples/astro-example/src/pages/two-factor/email.astro
@@ -1,8 +1,8 @@
---
+import { TwoFactorEmail } from "@/components/two-factor";
+import RootLayout from "@/layouts/root-layout.astro";
---
-
-
-
-
\ No newline at end of file
+
+