From 311c2560fe1d54234fc278e21709b7b0f6efc5ea Mon Sep 17 00:00:00 2001 From: Gemini AI Date: Sat, 27 Dec 2025 03:35:29 +0400 Subject: [PATCH] feat: Add basePath for /tools/promptarch deployment and rommark.dev integration --- app/layout.tsx | 9 ++++++--- components/Sidebar.tsx | 6 +++++- next.config.js | 2 ++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index d61796c..23c919a 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,8 +1,11 @@ import type { Metadata } from "next"; -import { Inter } from "next/font/google"; +import { Roboto } from "next/font/google"; import "./globals.css"; -const inter = Inter({ subsets: ["latin"] }); +const roboto = Roboto({ + subsets: ["latin"], + weight: ["300", "400", "500", "700"] +}); export const metadata: Metadata = { title: "PromptArch - AI Prompt Engineering Platform", @@ -17,7 +20,7 @@ export default function RootLayout({ }>) { return ( - {children} + {children} ); } diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index e3510c6..78dd639 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -34,9 +34,13 @@ export default function Sidebar({ currentView, onViewChange }: SidebarProps) { const SidebarContent = () => ( <>
+ + + Back to rommark.dev +

-
+
PA
PromptArch diff --git a/next.config.js b/next.config.js index 91ef62f..4bda044 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,8 @@ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, + basePath: '/tools/promptarch', + trailingSlash: true, }; module.exports = nextConfig;