diff --git a/components/terminal-header.tsx b/components/terminal-header.tsx index 9de23a0..65f2e6f 100644 --- a/components/terminal-header.tsx +++ b/components/terminal-header.tsx @@ -62,25 +62,28 @@ export function TerminalHeader({ {/* Tabs */}
{tabs.map((tab) => ( - {tabs.length > 1 && ( +
))} {/* New tab button */} diff --git a/next.config.ts b/next.config.ts index 7615a7b..09a6e79 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,10 +1,17 @@ import type { NextConfig } from 'next' +import path from 'node:path' +import { fileURLToPath } from 'node:url' import { securityHeaders } from './security-headers' +const projectRoot = path.dirname(fileURLToPath(import.meta.url)) + const nextConfig: NextConfig = { reactStrictMode: true, poweredByHeader: false, headers: securityHeaders, + turbopack: { + root: projectRoot, + }, } export default nextConfig diff --git a/postcss.config.mjs b/postcss.config.mjs new file mode 100644 index 0000000..092bd7b --- /dev/null +++ b/postcss.config.mjs @@ -0,0 +1,14 @@ +import path from 'node:path' +import { fileURLToPath } from 'node:url' + +const projectRoot = path.dirname(fileURLToPath(import.meta.url)) + +const config = { + plugins: { + '@tailwindcss/postcss': { + base: projectRoot, + }, + }, +} + +export default config diff --git a/tailwind.config.ts b/tailwind.config.ts new file mode 100644 index 0000000..f1929a4 --- /dev/null +++ b/tailwind.config.ts @@ -0,0 +1,11 @@ +import type { Config } from 'tailwindcss' + +const config: Config = { + content: [ + './app/**/*.{js,ts,jsx,tsx,mdx}', + './components/**/*.{js,ts,jsx,tsx,mdx}', + './lib/**/*.{js,ts,jsx,tsx,mdx}', + ], +} + +export default config