diff --git a/.gitignore b/.gitignore index 0fad0cb..6d8736b 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,7 @@ next-env.d.ts .genkit/* .env* +.eslintrc.json # firebase firebase-debug.log diff --git a/src/app/ember-chat/page.tsx b/src/app/ember-chat/page.tsx new file mode 100644 index 0000000..2909efc --- /dev/null +++ b/src/app/ember-chat/page.tsx @@ -0,0 +1,129 @@ +'use client'; + +import React, { useEffect, useState } from 'react'; +import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card"; +import { Button } from "@/components/ui/button"; +import { ExternalLink, MessageCircle, Users, Shield } from 'lucide-react'; +import { useSearchParams } from 'next/navigation'; + +export default function EmberChatPage() { + const searchParams = useSearchParams(); + const [chatInviteCode, setChatInviteCode] = useState(null); + const [rerouteScreen, setRerouteScreen] = useState(null); + + useEffect(() => { + // Extract parameters from URL + const inviteCode = searchParams.get('chatInviteCode'); + const reroute = searchParams.get('reroute_screen'); + + if (inviteCode) { + setChatInviteCode(inviteCode); + } + if (reroute) { + setRerouteScreen(reroute); + } + }, [searchParams]); + + const handleJoinChat = () => { + // Construct the Ember Fund deep link + const deepLink = `https://emberfund.onelink.me/ljTI/6gh1t9nw?reroute_screen=chat_invite&chatInviteCode=879945`; + + // Open the deep link in a new tab + window.open(deepLink, '_blank', 'noopener,noreferrer'); + }; + + return ( +
+ + +
+
+ +
+ + Ember Group Chat + + + Join the Fisk Dimension community on Ember Fund. Connect with fellow seekers, oracles, and architects in our exclusive group chat. + +
+
+ + + {/* Chat Invite Details */} +
+
+ +
+

Community Connection

+

+ The Ember Fund chat serves as a bridge between the digital and spiritual realms of the Fisk Dimension. + Engage in meaningful dialogue, share insights, and collaborate on projects that transcend traditional boundaries. +

+
+
+ +
+ +
+

Encrypted & Secure

+

+ All communications are protected by C.H.I.S.M. Protocol integration and encrypted messaging standards. + Your sovereignty and privacy remain paramount in all interactions. +

+
+
+ + {chatInviteCode && ( +
+
+
+

Invite Code

+

{chatInviteCode}

+
+ {rerouteScreen && ( +
+

Screen

+

{rerouteScreen.replace(/_/g, ' ')}

+
+ )} +
+
+ )} +
+ + {/* Call to Action */} +
+ + +

+ You will be redirected to the Ember Fund app. Make sure you have the Ember Fund app installed on your device for the best experience. +

+
+ + {/* Additional Info */} +
+

About Ember Fund

+

+ Ember Fund is a sophisticated cryptocurrency portfolio management platform that aligns with the Fisk Dimension's + commitment to financial sovereignty and blockchain integration. Through this partnership, we create a unified + space for both asset management and community engagement. +

+
+
+
+ +
+

Part of Phase 19: Symbolic Messaging System

+

© {new Date().getFullYear()} Fisk Dimension. Beyond the Ledger, Within the Soul.

+
+
+ ); +} diff --git a/src/app/page.tsx b/src/app/page.tsx index 6e45775..1cc64a8 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -5,7 +5,8 @@ import React from 'react'; import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { ThirdEyeDomeIcon } from '@/components/icons/ThirdEyeDomeIcon'; -import { ArrowRight, Waves } from 'lucide-react'; +import { ArrowRight, Waves, MessageCircle } from 'lucide-react'; +import Link from 'next/link'; export default function PortalPage() { return ( @@ -32,6 +33,17 @@ export default function PortalPage() { + + + +
Resonance Field diff --git a/src/components/layout/AppSidebar.tsx b/src/components/layout/AppSidebar.tsx index bad32d9..4a71228 100644 --- a/src/components/layout/AppSidebar.tsx +++ b/src/components/layout/AppSidebar.tsx @@ -46,6 +46,7 @@ import { ClipboardList, // For Quest Log Atom, // For Soul Core BookOpenText, // For Prophecy + MessageCircle, // For Ember Chat } from 'lucide-react'; import { cn } from '@/lib/utils'; import { ThirdEyeDomeIcon } from '@/components/icons/ThirdEyeDomeIcon'; @@ -82,6 +83,7 @@ const navItems = [ { href: '/quest-log', label: 'Encrypted Quest Log', icon: ClipboardList }, { href: '/soul-core', label: 'Soul Matrix Core', icon: Atom }, { href: '/prophecy', label: 'Legacy Prophecy', icon: BookOpenText }, + { href: '/ember-chat', label: 'Ember Chat', icon: MessageCircle }, ]; export default function AppSidebar() {