rithwikreal commited on
Commit
2846f3c
·
verified ·
1 Parent(s): c49f35a

Update app.html

Browse files
Files changed (1) hide show
  1. app.html +49 -39
app.html CHANGED
@@ -1,44 +1,54 @@
1
- /* Voice Agent Container */
2
- .voice-agent-container {
3
- position: fixed;
4
- bottom: 30px;
5
- left: 30px;
6
- text-align: center;
7
- z-index: 300;
8
- }
 
9
 
10
- /* Label above mic */
11
- .voice-label {
12
- font-size: 0.9rem;
13
- font-weight: 600;
14
- margin-bottom: 8px;
15
- color: #0284c7; /* vibrant blue */
16
- text-shadow: 0 2px 6px rgba(0,0,0,0.3);
17
- }
18
 
19
- /* Mic button */
20
- .voice-button {
21
- width: 80px;
22
- height: 80px;
23
- border-radius: 50%;
24
- border: none;
25
- cursor: pointer;
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
- .voice-button img {
35
- width: 45px;
36
- height: 45px;
37
- object-fit: contain;
38
- }
 
 
 
 
 
 
 
 
 
 
39
 
40
- /* Hover animation to attract attention */
41
- .voice-button:hover {
42
- transform: scale(1.2) rotate(-5deg);
43
- box-shadow: 0 20px 50px rgba(6,182,212,0.7);
 
 
 
 
 
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>