Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions themes/memmachine/assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -496,27 +496,7 @@ header nav ul li a:hover {
initial-value: 0deg;
inherits: false;
}
.hero-chat::after,
.hero-chat::before {
content: '';
position: absolute;

background-image: conic-gradient(
from var(--angle),
transparent 88%,
#a570ff,
#ff6eb2,
#ffad66 100%
);
inset: -2px;
z-index: -1;
border-radius: 10px;
animation: 12s spin linear infinite;
}

.hero-chat::before {
opacity: 0.7;
}

@keyframes spin {
from {
Expand Down
8 changes: 2 additions & 6 deletions themes/memmachine/assets/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,7 @@ if (chatList) {

// New function to load the entire conversation history
function loadConversationHistory() {
let delay = 0;
for (let i = 0; i < scriptedMessages.length; i++) {
setTimeout(() => {
for (let i = 0; i < scriptedMessages.length; i++) {
const currentTime = new Date().toLocaleTimeString([], {
hour: "2-digit",
minute: "2-digit",
Expand All @@ -157,9 +155,7 @@ if (chatList) {
time: currentTime,
text: scriptedMessages[i].text,
});
}, delay);
delay += 500; // Reduced delay for a faster feel
}
}
// Set the state to 1 after the initial conversation loads,
// so the next message from the user is a response to the question.
chatState = 1;
Expand Down