|
18 | 18 | <meta name="keywords" content="Hariprashad Ravikumar, Lattice QCD, Transverse Momentum Dependent Parton Distribution Functions, TMDs, Sivers Shift, EDM, nEDM, conformal field theory, particle physics, theoretical physics" /> |
19 | 19 | <title>Hariprashad Ravikumar</title> |
20 | 20 | <link rel="stylesheet" href="styles.css"> |
21 | | - <script type="application/ld+json"> |
| 21 | + <script type="application/ld+json"> |
22 | 22 | { |
23 | 23 | "@context": "https://schema.org", |
24 | 24 | "@type": "Person", |
|
36 | 36 | } |
37 | 37 | </script> |
38 | 38 |
|
| 39 | + <script type="text/x-mathjax-config"> |
| 40 | + MathJax.Hub.Config({ |
| 41 | + tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]} |
| 42 | + }); |
| 43 | + </script> |
| 44 | + <script> |
| 45 | + function toggleChatbox() { |
| 46 | + const box = document.getElementById("chatbox"); |
| 47 | + box.style.display = box.style.display === "none" ? "flex" : "none"; |
| 48 | + } |
| 49 | + </script> |
| 50 | + |
| 51 | + |
39 | 52 | <script type="text/x-mathjax-config"> |
40 | 53 | MathJax.Hub.Config({ |
41 | 54 | tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]} |
|
96 | 109 | .badge-wrapper .badge-base { |
97 | 110 | display: inline-block; |
98 | 111 | } |
| 112 | + #chat-launcher { |
| 113 | + position: fixed; |
| 114 | + bottom: 20px; |
| 115 | + right: 20px; |
| 116 | + background: #001f3f; |
| 117 | + color: white; |
| 118 | + padding: 12px 16px; |
| 119 | + border-radius: 30px; |
| 120 | + cursor: pointer; |
| 121 | + z-index: 1000; |
| 122 | + font-family: 'Times New Roman', Times, serif; |
| 123 | + box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4); |
| 124 | + transition: background 0.3s; |
| 125 | + } |
| 126 | + #chat-launcher:hover { |
| 127 | + background: #003366; |
| 128 | + } |
| 129 | + #chatbox { |
| 130 | + position: fixed; |
| 131 | + bottom: 80px; |
| 132 | + right: 20px; |
| 133 | + width: 350px; |
| 134 | + height: auto; |
| 135 | + min-height: 300px; |
| 136 | + display: none; |
| 137 | + flex-direction: column; |
| 138 | + background: white; |
| 139 | + border-radius: 12px; |
| 140 | + box-shadow: 0 8px 20px rgba(0,0,0,0.25); |
| 141 | + overflow: hidden; |
| 142 | + z-index: 1001; |
| 143 | + } |
| 144 | + #chatbox-header { |
| 145 | + background: #001f3f; |
| 146 | + color: white; |
| 147 | + padding: 10px 15px; |
| 148 | + font-weight: bold; |
| 149 | + display: flex; |
| 150 | + justify-content: space-between; |
| 151 | + align-items: center; |
| 152 | + font-family: 'Times New Roman', Times, serif; |
| 153 | + } |
| 154 | + #chatbox iframe { |
| 155 | + min-height: 480px; |
| 156 | + width: 100%; |
| 157 | + border: none; |
| 158 | + } |
99 | 159 | </style> |
100 | 160 | </head> |
101 | 161 | <body> |
@@ -152,6 +212,14 @@ <h2>GitHub Activity</h2> |
152 | 212 |
|
153 | 213 | </main> |
154 | 214 |
|
| 215 | +<div id="chat-launcher" onclick="toggleChatbox()">Chat with my AI HariBot</div> |
| 216 | + <div id="chatbox"> |
| 217 | + <div id="chatbox-header"> |
| 218 | + <span>HariBot AI 🤖</span> |
| 219 | + <button onclick="toggleChatbox()">×</button> |
| 220 | + </div> |
| 221 | + <iframe id="chat-iframe" src="https://hari-chatbot.onrender.com" title="HariBot Assistant"></iframe> |
| 222 | + </div> |
155 | 223 |
|
156 | 224 | <footer> |
157 | 225 | <p>© 2025 Hariprashad Ravikumar. All rights reserved.</p> |
|
0 commit comments