Add license; make corrections; cleanup

This commit is contained in:
2022-05-15 09:56:45 -04:00
parent 7d17d88b60
commit 24c2bcfff0
40 changed files with 355 additions and 493 deletions

View File

@@ -9,11 +9,11 @@ type propsObj = {
function createPathElements(ancestors: Array<{ name: string, path: string }>) {
let currentPath = '';
return ancestors.map((ancestor) => {
return ancestors.map((ancestor, id) => {
currentPath += `/${ancestor.path}`
return (
<>
<Link href={currentPath}>
<Link key={id + 1} href={currentPath}>
<a>{ancestor.name}</a>
</Link>
<> / </>