Skip to content

Commit 10c6b9e

Browse files
authored
Update README.md
1 parent c2096fe commit 10c6b9e

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
<div align="left">
3030
<img src="https://img.shields.io/static/v1?message=Discord&logo=discord&label=&color=7289DA&logoColor=white&labelColor=&style=for-the-badge" height="30" alt="discord logo"
31-
onclick="alert('My Discord ID is cheth_unknown. Please send me a friend request!')"/>
31+
onclick="showDiscordID()"/>
3232
<a href="lgrandiduchethina@gmail.com" target="_blank">
3333
<img src="https://img.shields.io/static/v1?message=Gmail&logo=gmail&label=&color=D14836&logoColor=white&labelColor=&style=for-the-badge" height="30" alt="gmail logo" />
3434
</a>
@@ -37,6 +37,23 @@
3737
</a>
3838
</div>
3939

40+
<!-- Modal for Discord ID -->
41+
<div id="discord-modal" style="display:none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 20px; background-color: #ffffff; border: 1px solid #000; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); z-index: 1000;">
42+
<p>My Discord ID is <strong>cheth_unknown</strong>. Please send me a friend request!</p>
43+
<button onclick="closeModal()">Close</button>
44+
</div>
45+
46+
<script>
47+
function showDiscordID() {
48+
document.getElementById('discord-modal').style.display = 'block';
49+
}
50+
51+
function closeModal() {
52+
document.getElementById('discord-modal').style.display = 'none';
53+
}
54+
</script>
55+
56+
4057

4158

4259
###

0 commit comments

Comments
 (0)