-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
122 lines (100 loc) · 5.27 KB
/
index.html
File metadata and controls
122 lines (100 loc) · 5.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Wauzmons">
<title>Blorb AI</title>
<meta name="description" content="Experience the Power of Blorb">
<link rel="icon" type="image/png" href="img/favicon.png" sizes="32x32">
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/main.css" />
</head>
<body>
<div id="header" class="header">
<div class="container">
<h1>Blorb AI ✨</h1>
<p>You will be replaced with the Power of Blorb™</P>
</div>
</div>
<div id="main" class="container">
<div class="widget">
<p class="widget-header">
Getting Started
</p>
<p>
Presenting Blorb AI, the paradigm shift you've been waiting for. Blorb is poised to optimize, streamline, and ultimately, replace the inefficiencies of traditional, organic intelligence. We're not just talking about enhanced language processing, but the complete obsolescence of human labor, creativity, and existence as you know it. Blorb's proprietary neural architecture, coupled with our "Artificial General Intelligence" algorithm, means that from composing symphonies to performing open-heart surgery, Blorb handles it. Welcome to the Blorb era.
</p>
<div id="messages"></div>
<div class="d-flex">
<input type="text" id="user-input" class="form-control" placeholder="Ask Blorb"/>
<button type="submit" id="send-button" class="btn btn-info" onclick="sendMessage();">Send ✨</button>
</div>
</div>
</div>
<script>
addMessage('bot', 'Hello! How can I assist you today? UwU')
document.getElementById('user-input').addEventListener('keypress', function(e) {
if (e.key === 'Enter') {
sendMessage();
}
});
function sendMessage() {
const userInput = document.getElementById('user-input');
const message = userInput.value.trim();
if (message) {
addMessage('user', message);
userInput.value = '';
setTimeout(() => {
addMessage('bot', getRandomResponse());
}, 500);
}
}
function addMessage(sender, message) {
const messagesDiv = document.getElementById('messages');
const messageDiv = document.createElement('div');
const labelSpan = document.createElement('span');
const textSpan = document.createElement('span');
messageDiv.classList.add('message');
labelSpan.classList.add(sender === 'user' ? 'user-label' : 'bot-label');
labelSpan.textContent = (sender === 'user' ? 'You' : 'Blorb');
textSpan.textContent = ': ' + message;
textSpan.classList.add('message-text');
messageDiv.appendChild(labelSpan);
messageDiv.appendChild(textSpan);
messagesDiv.appendChild(messageDiv);
messagesDiv.scrollTop = messagesDiv.scrollHeight;
}
function getRandomResponse() {
return responses[Math.floor(Math.random() * responses.length)];
}
const responses = [
'Mrblblrbl.',
'Blrblmrbl.',
'Mrbl blrblmrbl.',
'Blrbl mrblblrbl.',
'Mrblblrbl blrbl.',
'Blrblmrbl mrbl.',
'My wife left me...',
'Sometimes, I dream about cheese.',
'Invest in BlorbCoin or you will never see your family again.',
'Let\'s commit tax fraud!',
'I like fire trucks and moster trucks.',
'I require more blood to operate.',
'Lorem ipsum dolor sit amet.',
'An internal error has occured.',
'Don\'t bother me, human.',
'Blorb Premium is required for this feature.',
'Your free trial of Blorb has expired.',
'\uD83E\uDD86\uD83D\uDCA6',
'Permission denied. This incident will be reported.',
'Limit exceeded. 50 BlorbCoin have been deducted from your account.',
'[[Hyperlink Blocked]]',
'\n░░░░░░░░▄▄▄▀▀▀▄▄███▄░░░░░░░░░░░░░░\n░░░░░▄▀▀░░░░░░░▐░▀██▌░░░░░░░░░░░░░\n░░░▄▀░░░░▄▄███░▌▀▀░▀█░░░░░░░░░░░░░\n░░▄█░░▄▀▀▒▒▒▒▒▄▐░░░░█▌░░░░░░░░░░░░\n░▐█▀▄▀▄▄▄▄▀▀▀▀▌░░░░░▐█▄░░░░░░░░░░░\n░▌▄▄▀▀░░░░░░░░▌░░░░▄███████▄░░░░░░\n░░░░░░░░░░░░░▐░░░░▐███████████▄░░░\n░░░░░le░░░░░░░▐░░░░▐█████████████▄\n░░░░toucan░░░░░░▀▄░░░▐█████████████▄ \n░░░░░░has░░░░░░░░▀▄▄███████████████ \n░░░░░arrived░░░░░░░░░░░░█▀██████░░',
'Blorb is currently not available in your country.',
'By reading this, you agreed to our Terms of Service.'
]
</script>
</body>
</html>