HTMLify
about.html
Views: 27 | Author: karbonsites
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>About P2P Web Chat</title> <link rel="stylesheet" href="style.css"> <script src="https://cdn.tailwindcss.com"></script> </head> <body class="p-4 md:p-8 flex flex-col items-center min-h-screen"> <header class="w-full max-w-xl mb-4"> <nav class="flex justify-between items-center p-4 bg-white rounded-lg shadow"> <h1 class="text-xl font-bold text-indigo-600">P2P Messenger</h1> <div class="space-x-4"> <a href="index.html" class="text-gray-600 hover:text-gray-800">Chat</a> <a href="about.html" class="text-indigo-600 hover:text-indigo-800">About</a> </div> </nav> </header> <div class="w-full max-w-xl bg-white rounded-xl shadow-2xl p-6 space-y-4 flex-grow"> <h1 class="text-2xl font-extrabold text-gray-800 text-center">About P2P Messenger</h1> <p class="text-gray-600">P2P Messenger is a real-time chat application built with PeerJS and WebRTC that allows you to connect directly with another peer without the need for a central server.</p> <div class="bg-indigo-50 p-4 rounded-lg"> <h2 class="text-lg font-semibold text-indigo-700 mb-2">How It Works</h2> <ol class="list-decimal pl-5 space-y-2 text-gray-600"> <li>Generate your unique Peer ID</li> <li>Share your ID with the person you want to chat with</li> <li>Enter their Peer ID to establish a direct connection</li> <li>Start chatting in real-time</li> </ol> </div> <div class="bg-gray-50 p-4 rounded-lg"> <h2 class="text-lg font-semibold text-gray-700 mb-2">Technology</h2> <p class="text-gray-600">This application uses:</p> <ul class="list-disc pl-5 space-y-2 text-gray-600"> <li><strong>PeerJS</strong>: A wrapper for WebRTC that simplifies peer-to-peer connections</li> <li><strong>WebRTC</strong>: A free, open project that provides web browsers and mobile applications with real-time communications</li> <li><strong>Tailwind CSS</strong>: A utility-first CSS framework for rapidly building custom user interfaces</li> </ul> </div> </div> </body> </html> |