diff --git a/FRONTEND-INTEGRATION.md b/FRONTEND-INTEGRATION.md new file mode 100644 index 0000000..4b168cf --- /dev/null +++ b/FRONTEND-INTEGRATION.md @@ -0,0 +1,146 @@ +# Frontend Integration for aethex.tech + +## Quick Start + +Download and extract `aethex-tech-frontend-components.tar.gz` to get the React components. + +## What's Included + +``` +components/ +├── DomainVerification.jsx ← Main verification UI +├── DomainVerification.css +├── VerifiedDomainBadge.jsx ← Display verified domain badge +└── VerifiedDomainBadge.css +``` + +## Installation Steps + +### 1. Copy Components + +```bash +# Extract the archive +tar -xzf aethex-tech-frontend-components.tar.gz + +# Copy to your aethex.tech src folder +cp -r components/* /path/to/aethex.tech/src/components/ +``` + +### 2. Add to Your Profile/Settings Page + +```javascript +import DomainVerification from '@/components/DomainVerification'; +import VerifiedDomainBadge from '@/components/VerifiedDomainBadge'; + +// In your profile settings section: +function ProfileSettings() { + return ( +
Loading conversations...
+⚠️ {error}
+ ++ {activeConversation.otherParticipants?.length || 0} participants +
+Select a conversation to start messaging
+or create a new conversation
+No conversations yet
+Start a new conversation to get started
++ {conv.lastMessage?.content || 'No messages yet'} +
+ {conv.unreadCount > 0 && ( + {conv.unreadCount} + )} +No messages yet
+Send a message to start the conversation
+