feat: Add basePath for /tools/promptarch deployment and rommark.dev integration

This commit is contained in:
Gemini AI
2025-12-27 03:35:29 +04:00
Unverified
parent 6b33913471
commit 311c2560fe
3 changed files with 13 additions and 4 deletions

View File

@@ -1,8 +1,11 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Inter } from "next/font/google"; import { Roboto } from "next/font/google";
import "./globals.css"; import "./globals.css";
const inter = Inter({ subsets: ["latin"] }); const roboto = Roboto({
subsets: ["latin"],
weight: ["300", "400", "500", "700"]
});
export const metadata: Metadata = { export const metadata: Metadata = {
title: "PromptArch - AI Prompt Engineering Platform", title: "PromptArch - AI Prompt Engineering Platform",
@@ -17,7 +20,7 @@ export default function RootLayout({
}>) { }>) {
return ( return (
<html lang="en"> <html lang="en">
<body className={inter.className}>{children}</body> <body className={roboto.className}>{children}</body>
</html> </html>
); );
} }

View File

@@ -34,9 +34,13 @@ export default function Sidebar({ currentView, onViewChange }: SidebarProps) {
const SidebarContent = () => ( const SidebarContent = () => (
<> <>
<div className="border-b p-4 lg:p-6"> <div className="border-b p-4 lg:p-6">
<a href="https://www.rommark.dev" className="mb-4 flex items-center gap-2 text-xs font-medium text-muted-foreground hover:text-primary transition-colors">
<Menu className="h-3 w-3" />
Back to rommark.dev
</a>
<a href="https://github.com/roman-ryzenadvanced/PromptArch-the-prompt-enhancer" target="_blank" rel="noopener noreferrer" className="block"> <a href="https://github.com/roman-ryzenadvanced/PromptArch-the-prompt-enhancer" target="_blank" rel="noopener noreferrer" className="block">
<h1 className="flex items-center gap-2 text-lg lg:text-xl font-bold hover:opacity-80 transition-opacity"> <h1 className="flex items-center gap-2 text-lg lg:text-xl font-bold hover:opacity-80 transition-opacity">
<div className="flex h-7 w-7 lg:h-8 lg:w-8 items-center justify-center rounded-lg bg-primary text-primary-foreground text-sm lg:text-base"> <div className="flex h-7 w-7 lg:h-8 lg:w-8 items-center justify-center rounded-lg bg-[#4285F4] text-primary-foreground text-sm lg:text-base">
PA PA
</div> </div>
PromptArch PromptArch

View File

@@ -1,6 +1,8 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
reactStrictMode: true, reactStrictMode: true,
basePath: '/tools/promptarch',
trailingSlash: true,
}; };
module.exports = nextConfig; module.exports = nextConfig;