Update app.html
Browse files
app.html
CHANGED
|
@@ -1,44 +1,54 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
| 9 |
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
color: #0284c7; /* vibrant blue */
|
| 16 |
-
text-shadow: 0 2px 6px rgba(0,0,0,0.3);
|
| 17 |
-
}
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
display: flex;
|
| 27 |
-
align-items: center;
|
| 28 |
-
justify-content: center;
|
| 29 |
-
background: white;
|
| 30 |
-
box-shadow: 0 15px 35px rgba(6,182,212,0.5);
|
| 31 |
-
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 32 |
-
}
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
-
|
| 41 |
-
.
|
| 42 |
-
|
| 43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
| 6 |
+
<title>AI Legal Assistant</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css" />
|
| 8 |
+
</head>
|
| 9 |
+
<body class="app-body">
|
| 10 |
|
| 11 |
+
<!-- HEADER -->
|
| 12 |
+
<header class="app-header">
|
| 13 |
+
<div class="logo">🤖 AI Legal Assistant</div>
|
| 14 |
+
<button class="logout-btn" onclick="logout()">Logout</button>
|
| 15 |
+
</header>
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
+
<!-- HERO SECTION -->
|
| 18 |
+
<section class="hero">
|
| 19 |
+
<h1>Speak. Think. Discover.</h1>
|
| 20 |
+
<p>
|
| 21 |
+
Your AI voice assistant is ready to help you explore ideas,
|
| 22 |
+
get answers, and have meaningful conversations.
|
| 23 |
+
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
+
<div class="feature-grid">
|
| 26 |
+
<div class="feature-card">🎙 Natural Voice</div>
|
| 27 |
+
<div class="feature-card">⚡ Instant AI</div>
|
| 28 |
+
<div class="feature-card">🧠 Smart Conversations</div>
|
| 29 |
+
<div class="feature-card">🌍 Always Available</div>
|
| 30 |
+
</div>
|
| 31 |
+
</section>
|
| 32 |
+
|
| 33 |
+
<!-- FLOATING VOICE AGENT -->
|
| 34 |
+
<div class="voice-agent-container">
|
| 35 |
+
<p class="voice-label">Click and talk to AI</p>
|
| 36 |
+
<button class="voice-button" onclick="openVoiceAgent()">
|
| 37 |
+
<img src="mic.jfif" alt="AI Mic" />
|
| 38 |
+
</button>
|
| 39 |
+
</div>
|
| 40 |
|
| 41 |
+
<!-- SCRIPTS -->
|
| 42 |
+
<script src="script.js"></script>
|
| 43 |
+
<script>
|
| 44 |
+
function openVoiceAgent() {
|
| 45 |
+
window.open(
|
| 46 |
+
"https://app.openhome.xyz/api/personalities/demo?token=AI-vMsEx",
|
| 47 |
+
"AI Voice",
|
| 48 |
+
"width=420,height=620"
|
| 49 |
+
);
|
| 50 |
}
|
| 51 |
+
</script>
|
| 52 |
+
|
| 53 |
+
</body>
|
| 54 |
+
</html>
|