From bd9a397e35b5c17ab8bd7f621b0d31afe8fe0251 Mon Sep 17 00:00:00 2001 From: AABams <85718456+AABams-Dev@users.noreply.github.com> Date: Sat, 4 Oct 2025 23:18:50 +0100 Subject: [PATCH 1/4] Create page.tsx --- apps/web/become-host/page.tsx | 87 +++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 apps/web/become-host/page.tsx diff --git a/apps/web/become-host/page.tsx b/apps/web/become-host/page.tsx new file mode 100644 index 00000000..ea4959fa --- /dev/null +++ b/apps/web/become-host/page.tsx @@ -0,0 +1,87 @@ +"use client" + +import { useAuth } from '@/hooks/auth/use-auth'; +import { useRouter } from 'next/navigation'; +import { use, useEffect } from 'react'; + +export default function BecomeHostPage() { + const { user, isLoading } = useAuth(); + const router = useRouter(); + + // Redirect verified hosts to host dashboard + useEffect(() => { + if (!isLoading ) { + router.push('/dashboard/host-dashboard'); + } + }, [user, isLoading, router]); + + if (isLoading || !user) { + return ( +
+
+
+ ); + } + + return ( +
+
+
+

+ Become a Host +

+

+ Share your property on StellarRent and start earning today +

+
+ +
+

+ 🚧 Host Onboarding in Progress +

+

+ Our team is building a seamless host onboarding experience. The full verification and property listing process will launch soon in Phase 2. +

+
+ +
+
+

+ ✓ Verify Your Identity +

+

+ Complete a secure identity verification process (coming soon) +

+
+ +
+

+ ✓ Set Up Payments +

+

+ Configure your payment method to receive earnings (coming soon) +

+
+ +
+

+ ✓ List Your Property +

+

+ Add your property details and start hosting (coming soon) +

+
+
+ +
+ + Back to Dashboard + +
+
+
+ ); +} From fe83c9abbaad25273accbaa9f475fbb318c37255 Mon Sep 17 00:00:00 2001 From: AABams <85718456+AABams-Dev@users.noreply.github.com> Date: Tue, 14 Oct 2025 12:57:45 +0100 Subject: [PATCH 2/4] Create page.tsx --- apps/web/src/app/become-host/page.tsx | 65 +++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 apps/web/src/app/become-host/page.tsx diff --git a/apps/web/src/app/become-host/page.tsx b/apps/web/src/app/become-host/page.tsx new file mode 100644 index 00000000..a4965da7 --- /dev/null +++ b/apps/web/src/app/become-host/page.tsx @@ -0,0 +1,65 @@ + +export default function BecomeHostPage() { + + return ( +
+
+
+

+ Become a Host +

+

+ Share your property on StellarRent and start earning today +

+
+ +
+

+ 🚧 Host Onboarding in Progress +

+

+ Our team is building a seamless host onboarding experience. The full verification and property listing process will launch soon in Phase 2. +

+
+ +
+
+

+ ✓ Verify Your Identity +

+

+ Complete a secure identity verification process (coming soon) +

+
+ +
+

+ ✓ Set Up Payments +

+

+ Configure your payment method to receive earnings (coming soon) +

+
+ +
+

+ ✓ List Your Property +

+

+ Add your property details and start hosting (coming soon) +

+
+
+ +
+ + Back to Dashboard + +
+
+
+ ); +} From 418c7a49741cc14b066e5f6203ff14df41f223ae Mon Sep 17 00:00:00 2001 From: AABams <85718456+AABams-Dev@users.noreply.github.com> Date: Tue, 14 Oct 2025 12:59:31 +0100 Subject: [PATCH 3/4] Delete apps/web/become-host/page.tsx --- apps/web/become-host/page.tsx | 87 ----------------------------------- 1 file changed, 87 deletions(-) delete mode 100644 apps/web/become-host/page.tsx diff --git a/apps/web/become-host/page.tsx b/apps/web/become-host/page.tsx deleted file mode 100644 index ea4959fa..00000000 --- a/apps/web/become-host/page.tsx +++ /dev/null @@ -1,87 +0,0 @@ -"use client" - -import { useAuth } from '@/hooks/auth/use-auth'; -import { useRouter } from 'next/navigation'; -import { use, useEffect } from 'react'; - -export default function BecomeHostPage() { - const { user, isLoading } = useAuth(); - const router = useRouter(); - - // Redirect verified hosts to host dashboard - useEffect(() => { - if (!isLoading ) { - router.push('/dashboard/host-dashboard'); - } - }, [user, isLoading, router]); - - if (isLoading || !user) { - return ( -
-
-
- ); - } - - return ( -
-
-
-

- Become a Host -

-

- Share your property on StellarRent and start earning today -

-
- -
-

- 🚧 Host Onboarding in Progress -

-

- Our team is building a seamless host onboarding experience. The full verification and property listing process will launch soon in Phase 2. -

-
- -
-
-

- ✓ Verify Your Identity -

-

- Complete a secure identity verification process (coming soon) -

-
- -
-

- ✓ Set Up Payments -

-

- Configure your payment method to receive earnings (coming soon) -

-
- -
-

- ✓ List Your Property -

-

- Add your property details and start hosting (coming soon) -

-
-
- -
- - Back to Dashboard - -
-
-
- ); -} From eb0c028776b10190c6aca8764aa8cde8d336af84 Mon Sep 17 00:00:00 2001 From: AABams <85718456+AABams-Dev@users.noreply.github.com> Date: Tue, 14 Oct 2025 13:13:45 +0100 Subject: [PATCH 4/4] Update page.tsx --- apps/web/src/app/become-host/page.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/web/src/app/become-host/page.tsx b/apps/web/src/app/become-host/page.tsx index a4965da7..72443674 100644 --- a/apps/web/src/app/become-host/page.tsx +++ b/apps/web/src/app/become-host/page.tsx @@ -1,4 +1,4 @@ - +import Link from 'next/link'; export default function BecomeHostPage() { return ( @@ -52,12 +52,12 @@ export default function BecomeHostPage() {
- Back to Dashboard - +