|
20 | 20 | tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]} |
21 | 21 | }); |
22 | 22 | </script> |
| 23 | + <script type="application/ld+json"> |
| 24 | +{ |
| 25 | + "@context": "https://schema.org", |
| 26 | + "@type": "Person", |
| 27 | + "name": "Hariprashad Ravikumar", |
| 28 | + "jobTitle": "PhD Candidate in Theoretical Particle Physics", |
| 29 | + "affiliation": { |
| 30 | + "@type": "CollegeOrUniversity", |
| 31 | + "name": "New Mexico State University" |
| 32 | + }, |
| 33 | + "sameAs": [ |
| 34 | + "https://www.linkedin.com/in/hariprashad-ravikumar/", |
| 35 | + "https://github.com/Hariprashad-Ravikumar" |
| 36 | + ], |
| 37 | + "url": "https://hariprashad-ravikumar.github.io" |
| 38 | +} |
| 39 | +</script> |
| 40 | + |
| 41 | + <script type="text/x-mathjax-config"> |
| 42 | + MathJax.Hub.Config({ |
| 43 | + tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]} |
| 44 | + }); |
| 45 | + </script> |
| 46 | + <script> |
| 47 | + function toggleChatbox() { |
| 48 | + const box = document.getElementById("chatbox"); |
| 49 | + box.style.display = box.style.display === "none" ? "flex" : "none"; |
| 50 | + } |
| 51 | + </script> |
| 52 | + |
23 | 53 | <style> |
24 | 54 | body { |
25 | 55 | font-family: 'Times New Roman', Times, serif; |
|
71 | 101 | line-height: 1.5; /* Adjust line height for better spacing */ |
72 | 102 | } |
73 | 103 |
|
74 | | - |
| 104 | +#chat-launcher { |
| 105 | + position: fixed; |
| 106 | + bottom: 20px; |
| 107 | + right: 20px; |
| 108 | + background: #001f3f; |
| 109 | + color: white; |
| 110 | + padding: 12px 16px; |
| 111 | + border-radius: 30px; |
| 112 | + cursor: pointer; |
| 113 | + z-index: 1000; |
| 114 | + font-family: 'Times New Roman', Times, serif; |
| 115 | + box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4); |
| 116 | + transition: background 0.3s; |
| 117 | + } |
| 118 | + #chat-launcher:hover { |
| 119 | + background: #003366; |
| 120 | + } |
| 121 | + #chatbox { |
| 122 | + position: fixed; |
| 123 | + bottom: 80px; |
| 124 | + right: 20px; |
| 125 | + width: 350px; |
| 126 | + height: auto; |
| 127 | + min-height: 300px; |
| 128 | + display: none; |
| 129 | + flex-direction: column; |
| 130 | + background: white; |
| 131 | + border-radius: 12px; |
| 132 | + box-shadow: 0 8px 20px rgba(0,0,0,0.25); |
| 133 | + overflow: hidden; |
| 134 | + z-index: 1001; |
| 135 | + } |
| 136 | + #chatbox-header { |
| 137 | + background: #001f3f; |
| 138 | + color: white; |
| 139 | + padding: 10px 15px; |
| 140 | + font-weight: bold; |
| 141 | + display: flex; |
| 142 | + justify-content: space-between; |
| 143 | + align-items: center; |
| 144 | + font-family: 'Times New Roman', Times, serif; |
| 145 | + } |
| 146 | + #chatbox iframe { |
| 147 | + min-height: 480px; |
| 148 | + width: 100%; |
| 149 | + border: none; |
| 150 | + } |
75 | 151 |
|
76 | 152 | </style> |
77 | 153 | </head> |
@@ -216,6 +292,14 @@ <h2>Full Talk Archive</h2> |
216 | 292 |
|
217 | 293 | </main> |
218 | 294 |
|
| 295 | +<div id="chat-launcher" onclick="toggleChatbox()">Chat with my AI HariBot</div> |
| 296 | + <div id="chatbox"> |
| 297 | + <div id="chatbox-header"> |
| 298 | + <span>HariBot AI 🤖</span> |
| 299 | + <button onclick="toggleChatbox()">×</button> |
| 300 | + </div> |
| 301 | + <iframe id="chat-iframe" src="https://hari-chatbot.onrender.com" title="HariBot Assistant"></iframe> |
| 302 | + </div> |
219 | 303 |
|
220 | 304 | <footer> |
221 | 305 | <p>© 2025 Hariprashad Ravikumar. All rights reserved.</p> |
|
0 commit comments