Hi all. I am
Adeola Fadare
> Software Engineer
// you can also see it on my Github page
const githubLink = "https://github.com/LazyCoder4542"
function resolveFilePath(
path: string
): TFile | null {
const parts = path
.split('/').filter(Boolean);
let current = this.root;
for (const part of parts) {
const match = current
.find(n => n.name === part);
if (!match) return null;
}
}const button = document
.querySelector('#sendBtn');
const message = {
name: "Jonathan Davis",
email: "",
message: "",
date: "Thu 21 Apr"
}
button.addEventListener('click', () => {
form.send(message);
})export type DNode =
| DFileNode
| DFolderNode;
export class DirGraph {
readonly root: readonly DNode[];
static build(obj: TNode[]) {
const nodes = obj.map(
n => DirGraph.buildDNode(n)
);
return new DirGraph(nodes);
}
}export default async function
AboutSnippets() {
const [html1, html2] =
await Promise.all([
highlight(snippet1),
highlight(snippet2),
]);
return (
<ScrollArea className="h-full">
{/* snippets */}
</ScrollArea>
);
}function resolveFilePath(
path: string
): TFile | null {
const parts = path
.split('/').filter(Boolean);
let current = this.root;
for (const part of parts) {
const match = current
.find(n => n.name === part);
if (!match) return null;
}
}const button = document
.querySelector('#sendBtn');
const message = {
name: "Jonathan Davis",
email: "",
message: "",
date: "Thu 21 Apr"
}
button.addEventListener('click', () => {
form.send(message);
})export type DNode =
| DFileNode
| DFolderNode;
export class DirGraph {
readonly root: readonly DNode[];
static build(obj: TNode[]) {
const nodes = obj.map(
n => DirGraph.buildDNode(n)
);
return new DirGraph(nodes);
}
}export default async function
AboutSnippets() {
const [html1, html2] =
await Promise.all([
highlight(snippet1),
highlight(snippet2),
]);
return (
<ScrollArea className="h-full">
{/* snippets */}
</ScrollArea>
);
}