mirror of
https://github.com/SoPat712/my-portfolio.git
synced 2025-08-22 02:38:44 -04:00
remove contacts from cat, contact command already exists
This commit is contained in:
@@ -208,10 +208,6 @@
|
|||||||
let typedRole: string = "";
|
let typedRole: string = "";
|
||||||
let bioVisible: boolean = false;
|
let bioVisible: boolean = false;
|
||||||
|
|
||||||
/**
|
|
||||||
* A typewriter function that types `text` at the given `delay` and calls
|
|
||||||
* `setter` with the current substring. Returns a Promise that resolves when finished.
|
|
||||||
*/
|
|
||||||
function typeWriter(
|
function typeWriter(
|
||||||
text: string,
|
text: string,
|
||||||
setter: (val: string) => void,
|
setter: (val: string) => void,
|
||||||
@@ -234,7 +230,7 @@
|
|||||||
if (terminalInput) {
|
if (terminalInput) {
|
||||||
terminalInput.focus();
|
terminalInput.focus();
|
||||||
}
|
}
|
||||||
// Type the name (slower speed for dramatic effect)
|
// Type the name
|
||||||
await typeWriter(
|
await typeWriter(
|
||||||
profile.name,
|
profile.name,
|
||||||
(val: string) => {
|
(val: string) => {
|
||||||
@@ -293,9 +289,6 @@
|
|||||||
} else if (section === "skills") {
|
} else if (section === "skills") {
|
||||||
navigateTo("skills");
|
navigateTo("skills");
|
||||||
output = "Navigating to skills section...";
|
output = "Navigating to skills section...";
|
||||||
} else if (section === "contact") {
|
|
||||||
navigateTo("contact");
|
|
||||||
output = "Navigating to contact section...";
|
|
||||||
} else {
|
} else {
|
||||||
output = `cat: ${section}: No such file or directory`;
|
output = `cat: ${section}: No such file or directory`;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user