From 78e7c566509cb68b441d812262a2e6017548d4da Mon Sep 17 00:00:00 2001 From: PascalSchattenburg Date: Sat, 24 Jan 2026 19:40:20 +0100 Subject: [PATCH] chore: update blog layout and ignore local files --- apps/public-web/.gitignore | 6 ++- .../app/(site)/blog/[slug]/page.tsx | 16 +++--- apps/public-web/app/(site)/blog/layout.tsx | 9 ++++ apps/public-web/app/(site)/blog/page.tsx | 49 ++++++++++++++++--- apps/public-web/app/(site)/layout.tsx | 11 ++--- apps/public-web/app/(site)/page.tsx | 2 +- apps/public-web/app/global.css | 21 +++++++- apps/public-web/app/layout.tsx | 12 +++++ .../posts/23-01-26-thridtest-blog-post.mdx | 8 ++- 9 files changed, 103 insertions(+), 31 deletions(-) create mode 100644 apps/public-web/app/(site)/blog/layout.tsx create mode 100644 apps/public-web/app/layout.tsx diff --git a/apps/public-web/.gitignore b/apps/public-web/.gitignore index 3ab9b45..8d828d4 100644 --- a/apps/public-web/.gitignore +++ b/apps/public-web/.gitignore @@ -26,6 +26,10 @@ yarn-error.log* # IntelliJ / IDE .idea/ +*iml +checkstyle-idea.xml # Local data -data/ \ No newline at end of file +data/ +*.mv.db +*.trace.db \ No newline at end of file diff --git a/apps/public-web/app/(site)/blog/[slug]/page.tsx b/apps/public-web/app/(site)/blog/[slug]/page.tsx index e1a1b42..1da7dc0 100644 --- a/apps/public-web/app/(site)/blog/[slug]/page.tsx +++ b/apps/public-web/app/(site)/blog/[slug]/page.tsx @@ -22,18 +22,18 @@ export default async function BlogPostPage({ params }: PageProps) { right={} /> -
-
- {post.meta.date} -
- -

+
+

{post.meta.title}

-
+

+ {post.meta.date} +

+ +
{post.content} -
+
); diff --git a/apps/public-web/app/(site)/blog/layout.tsx b/apps/public-web/app/(site)/blog/layout.tsx new file mode 100644 index 0000000..79ce8fd --- /dev/null +++ b/apps/public-web/app/(site)/blog/layout.tsx @@ -0,0 +1,9 @@ +import type { ReactNode } from "react"; + +export default function BlogLayout({ children }: { children: ReactNode }) { + return ( +
+ {children} +
+ ); +} \ No newline at end of file diff --git a/apps/public-web/app/(site)/blog/page.tsx b/apps/public-web/app/(site)/blog/page.tsx index 7a0758a..566c133 100644 --- a/apps/public-web/app/(site)/blog/page.tsx +++ b/apps/public-web/app/(site)/blog/page.tsx @@ -6,6 +6,7 @@ export default function BlogIndexPage() { const posts = getAllPosts(); return ( +
} /> -
-
+
+
+
+

+ BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG +

+

+ BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG · BLOG +

+
+ +
+

+ Thoughts, experiments and notes from the Voyage universe. · +

+

+ Thoughts, experiments and notes from the Voyage universe. · +

+
+
+
+ +
+
{posts.map((p) => (
-
+
{p.meta.date}
-

+

{p.meta.title}

- {p.meta.excerpt ? ( -

+ {p.meta.excerpt && ( +

{p.meta.excerpt}

- ) : null} + )}
))}
diff --git a/apps/public-web/app/(site)/layout.tsx b/apps/public-web/app/(site)/layout.tsx index 431651b..415042e 100644 --- a/apps/public-web/app/(site)/layout.tsx +++ b/apps/public-web/app/(site)/layout.tsx @@ -1,12 +1,9 @@ -import "../global.css"; import type { ReactNode } from "react"; -export default function SiteLaytout({ children }: {children: ReactNode}) { +export default function SiteLayout({ children }: { children: ReactNode }) { return ( - - - {children} - - +
+ {children} +
); } \ No newline at end of file diff --git a/apps/public-web/app/(site)/page.tsx b/apps/public-web/app/(site)/page.tsx index 208c3be..79eeee2 100644 --- a/apps/public-web/app/(site)/page.tsx +++ b/apps/public-web/app/(site)/page.tsx @@ -9,7 +9,7 @@ export default function HomePage(){ {/* BRAND / LOGO */}
-

+

VOYAGE

diff --git a/apps/public-web/app/global.css b/apps/public-web/app/global.css index 3ad6835..89e4ce0 100644 --- a/apps/public-web/app/global.css +++ b/apps/public-web/app/global.css @@ -1,7 +1,26 @@ @import "tailwindcss/preflight"; @import "tailwindcss/utilities"; +@keyframes move-horizontal { + 0% { + transform: translateX(-100%); + } + 100% { + transform: translateX(100%); + } +} + +@keyframes marquee { + 0% { + transform: translateX(0); + } + 100% { + transform: translateX(-50%); + } +} + + /* Minimal default to keep things clean */ html, body { height: 100%; -} \ No newline at end of file +} diff --git a/apps/public-web/app/layout.tsx b/apps/public-web/app/layout.tsx new file mode 100644 index 0000000..0b075f0 --- /dev/null +++ b/apps/public-web/app/layout.tsx @@ -0,0 +1,12 @@ +import "./global.css"; +import type { ReactNode } from "react"; + +export default function RootLayout({ children }: { children: ReactNode }) { + return ( + + + {children} + + + ); +} \ No newline at end of file diff --git a/apps/public-web/content/posts/23-01-26-thridtest-blog-post.mdx b/apps/public-web/content/posts/23-01-26-thridtest-blog-post.mdx index 5009b38..c1aca4a 100644 --- a/apps/public-web/content/posts/23-01-26-thridtest-blog-post.mdx +++ b/apps/public-web/content/posts/23-01-26-thridtest-blog-post.mdx @@ -1,9 +1,7 @@ --- -title: "helleo" -date: "2026-01-23" +title: "NO THIS IS A JOKE🖕🏼🖕🏼" +date: "2026-01-25" excerpt: "this is the first meaningfull sentence you will here from us." --- - -okay was geht wir wollen dasldkfja -lkdfjnalskdjfnalksdjvbalkjsdhbfvlaksjdbclkajsbdc \ No newline at end of file +hier ist der erste blog von VOYAGE. Pupi ist ein rihcitg krummer pimmel \ No newline at end of file