Skip to content

Commit a46e908

Browse files
Update GitHub_Portfolio.html
1 parent 4667ed7 commit a46e908

File tree

1 file changed

+69
-1
lines changed

1 file changed

+69
-1
lines changed

GitHub_Portfolio.html

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<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" />
1919
<title>Hariprashad Ravikumar</title>
2020
<link rel="stylesheet" href="styles.css">
21-
<script type="application/ld+json">
21+
<script type="application/ld+json">
2222
{
2323
"@context": "https://schema.org",
2424
"@type": "Person",
@@ -36,6 +36,19 @@
3636
}
3737
</script>
3838

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+
3952
<script type="text/x-mathjax-config">
4053
MathJax.Hub.Config({
4154
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
@@ -96,6 +109,53 @@
96109
.badge-wrapper .badge-base {
97110
display: inline-block;
98111
}
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+
}
99159
</style>
100160
</head>
101161
<body>
@@ -152,6 +212,14 @@ <h2>GitHub Activity</h2>
152212

153213
</main>
154214

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()">&times;</button>
220+
</div>
221+
<iframe id="chat-iframe" src="https://hari-chatbot.onrender.com" title="HariBot Assistant"></iframe>
222+
</div>
155223

156224
<footer>
157225
<p>&copy; 2025 Hariprashad Ravikumar. All rights reserved.</p>

0 commit comments

Comments
 (0)