Refactor, update UI, and add notes

This commit is contained in:
2022-10-04 23:41:59 -04:00
parent fde6c7fa69
commit 160f23cb01
31 changed files with 813 additions and 265 deletions
+4 -4
View File
@@ -2,7 +2,7 @@ import Head from 'next/head';
function Meta({name, ancestors}
: {name: string, ancestors?: Array<{ name: string, path: string }> }) {
const path = () => {
function path(): string {
if (!ancestors)
return name;
@@ -11,12 +11,12 @@ function Meta({name, ancestors}
path = `${path}${obj.name} /`;
});
return `${path} ${name}`;
};
return `PaulW.XYZ / ${path} ${name}`;
}
return (
<Head>
<title>PaulW.XYZ / {path()}</title>
<title>{path()}</title>
</Head>
);
}