diff --git a/interface/components/README.tsx b/interface/components/README.tsx index 8b7872a4..04bfe785 100644 --- a/interface/components/README.tsx +++ b/interface/components/README.tsx @@ -6,7 +6,7 @@ export default function README(props: { children: JSX.Element }) { return (
-
+

README.md

diff --git a/pages/archive/index/+Page.tsx b/pages/archive/index/+Page.tsx index ab86a0a1..b1fc6525 100644 --- a/pages/archive/index/+Page.tsx +++ b/pages/archive/index/+Page.tsx @@ -6,13 +6,13 @@ import README from "#components/README" export default function Page() { return (
-
-

{m.archive_title()}

-
-

- Root +

+
+

+ Archive

+

{m.archive_title()}

) { return ( <> - +
+
+
+ + Archive + +

/

+ + Projects + +

/

+

+ {props.title} +

+
+
+ ) } diff --git a/pages/archive/projects/@slug/+onBeforeRender.ts b/pages/archive/projects/@slug/+onBeforeRender.ts index 4e9614b8..fd0b877e 100644 --- a/pages/archive/projects/@slug/+onBeforeRender.ts +++ b/pages/archive/projects/@slug/+onBeforeRender.ts @@ -25,6 +25,8 @@ async function onBeforeRender(pageContext: PageContextBuiltInServer) { return { pageContext: { pageProps: { + // @ts-ignore + title: projects.find((project) => project.slug === slug)!.title, content: rendered[slug], }, documentProps: { diff --git a/pages/archive/projects/index/+Page.tsx b/pages/archive/projects/index/+Page.tsx index 05a24bcd..e958393c 100644 --- a/pages/archive/projects/index/+Page.tsx +++ b/pages/archive/projects/index/+Page.tsx @@ -9,17 +9,17 @@ import README from "#components/README" export default function Page({ projects }: { projects: any }) { return (
-
-

{m.archive_title()}

-
- - Root +
+
+ + Archive

/

Projects

+

Projects

{projects.map((project: any) => { const date = new Date( diff --git a/pages/archive/projects/index/+onBeforePrerenderStart.ts b/pages/archive/projects/index/+onBeforePrerenderStart.ts index b2261b23..71eba7a4 100644 --- a/pages/archive/projects/index/+onBeforePrerenderStart.ts +++ b/pages/archive/projects/index/+onBeforePrerenderStart.ts @@ -38,6 +38,8 @@ async function onBeforePrerenderStart() { url, pageContext: { pageProps: { + // @ts-ignore + title: projects.find((x) => x.slug === project.slug)!.title, content: rendered[project.slug], }, documentProps: { diff --git a/pages/archive/short-projects/@slug/+Page.tsx b/pages/archive/short-projects/@slug/+Page.tsx index 313b5247..44b47705 100644 --- a/pages/archive/short-projects/@slug/+Page.tsx +++ b/pages/archive/short-projects/@slug/+Page.tsx @@ -1,10 +1,30 @@ +import { InlineLink } from "#components/Button" import "#design-system/markdown.css" import Markdown from "#markdown/Markdown" export default function Page(props: Record) { return ( <> - +
+
+
+ + Archive + +

/

+ + Short Projects + +

/

+

+ {props.title} +

+
+
+ ) } diff --git a/pages/archive/short-projects/@slug/+onBeforeRender.ts b/pages/archive/short-projects/@slug/+onBeforeRender.ts index 12f3d62d..5bb73d02 100644 --- a/pages/archive/short-projects/@slug/+onBeforeRender.ts +++ b/pages/archive/short-projects/@slug/+onBeforeRender.ts @@ -25,6 +25,8 @@ async function onBeforeRender(pageContext: PageContextBuiltInServer) { return { pageContext: { pageProps: { + // @ts-ignore + title: projects.find((project) => project.slug === slug)!.title, content: rendered[slug], }, documentProps: { diff --git a/pages/archive/short-projects/index/+Page.tsx b/pages/archive/short-projects/index/+Page.tsx index f3c7cd10..52ced421 100644 --- a/pages/archive/short-projects/index/+Page.tsx +++ b/pages/archive/short-projects/index/+Page.tsx @@ -9,17 +9,17 @@ import README from "#components/README" export default function Page({ projects }: { projects: any }) { return (
-
-

{m.archive_title()}

-
- - Root +
+
+ + Archive

/

Short Projects

+

Short Projects

{projects.map((project: any) => { const date = new Date( diff --git a/pages/archive/short-projects/index/+onBeforePrerenderStart.ts b/pages/archive/short-projects/index/+onBeforePrerenderStart.ts index aa4390f7..216ab7ea 100644 --- a/pages/archive/short-projects/index/+onBeforePrerenderStart.ts +++ b/pages/archive/short-projects/index/+onBeforePrerenderStart.ts @@ -38,6 +38,8 @@ async function onBeforePrerenderStart() { url, pageContext: { pageProps: { + // @ts-ignore + title: projects.find((x) => x.slug === project.slug)!.title, content: rendered[project.slug], }, documentProps: { diff --git a/public/sitemap.xml b/public/sitemap.xml index 64105a52..254c3b62 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -3,98 +3,98 @@ https://preview.floriankiem.com/ - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/work - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/work/boost - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/work/bridge - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/work/curations - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/about - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/feed - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/feed/essentials - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/feed/first-post - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/feed/workout-1 - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/archive - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/archive/projects - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/archive/projects/ambient-chat - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/archive/projects/homebility - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/archive/short-projects - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/archive/short-projects/granny-ai - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/archive/short-projects/heartbeat - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/archive/short-projects/nutri - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/archive/short-projects/stackoverflow-redesign - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/archive/short-projects/visualization - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/archive/short-projects/web-audit - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/colophon - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/imprint - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z https://preview.floriankiem.com/privacy-policy - 2023-12-09T00:55:53.582Z + 2023-12-09T12:18:30.005Z \ No newline at end of file