Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docs/offlegacy.org/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"codehike": "^1.0.7",
"lucide-react": "^0.525.0",
"motion": "^12.23.26",
"next": "15.4.10",
"next": "16.2.6",
"nextra": "^4.6.1",
"nextra-theme-docs": "^4.6.1",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"sonner": "^2.0.7"
},
"devDependencies": {
Expand All @@ -33,8 +33,9 @@
"eslint-config-next": "15.3.5",
"pagefind": "^1.4.0",
"postcss": "^8.5.6",
"@tailwindcss/postcss": "^4.3.0",
"prettier-plugin-tailwindcss": "^0.6.13",
"tailwindcss": "^3.4.19",
"tailwindcss": "^4.3.0",
"typescript": "^5.9.3"
}
}
2 changes: 1 addition & 1 deletion docs/offlegacy.org/postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
tailwindcss: {},
"@tailwindcss/postcss": {},
},
};

Expand Down
9 changes: 1 addition & 8 deletions docs/offlegacy.org/src/app/[lang]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import "nextra-theme-docs/style-prefixed.css";
import "../globals.css";
import { TrackClick, TrackImpression, TrackProvider } from "@/tracker";
import { Logo } from "@/logo";
import type { Lang } from "@/lib/types/lang";
import type { Metadata } from "next";

export const metadata: Metadata = {
Expand Down Expand Up @@ -51,13 +50,7 @@ const footer = (
</TrackImpression>
);

export default async function RootLayout({
params,
children,
}: {
children: React.ReactNode;
params: Promise<{ lang: Lang }>;
}) {
export default async function RootLayout({ params, children }: LayoutProps<"/[lang]">) {
const { lang } = await params;
const pageMap = await getPageMap(lang);
const headersList = await headers();
Expand Down
7 changes: 5 additions & 2 deletions docs/offlegacy.org/src/app/globals.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
@tailwind components;
@tailwind utilities;
@import "tailwindcss";

@variant dark (&:where(.dark, .dark *));

@source "./src/**/*.{js,jsx,ts,tsx,md,mdx}";
8 changes: 0 additions & 8 deletions docs/offlegacy.org/tailwind.config.ts

This file was deleted.

24 changes: 19 additions & 5 deletions docs/offlegacy.org/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand All @@ -11,17 +15,27 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./src/*"]
"@/*": [
"./src/*"
]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}
Loading
Loading