Skip to content
Open
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
2 changes: 1 addition & 1 deletion apps/site/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
22 changes: 0 additions & 22 deletions apps/site/next.config.js

This file was deleted.

44 changes: 44 additions & 0 deletions apps/site/next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import nextra from 'nextra'
import { composePlugins, withNx } from '@nx/next';
import type { WithNxOptions } from '@nx/next/plugins/with-nx';
import type { NextraConfig } from 'nextra';

// base Next config (with Nx)
const nextConfig: WithNxOptions = {
nx: {},
compiler: {
styledComponents: false,
},
experimental: {},
// rewrite PostHog URLs - https://posthog.com/docs/advanced/proxy/nextjs
async rewrites() {
return [
{
source: '/ingest/static/:path*',
destination: 'https://us-assets.i.posthog.com/static/:path*',
},
{
source: '/ingest/:path*',
destination: 'https://us.i.posthog.com/:path*',
},
];
},
sassOptions: {},
// This is required to support PostHog trailing slash API requests
skipTrailingSlashRedirect: true,
};

// Nextra config
const nextraConfig: NextraConfig = {

};
const withNextra = nextra(nextraConfig);

// Next plugins
const plugins = [
// Add more Next.js plugins to this list if needed.
withNx,
withNextra
];

export default composePlugins(...plugins)(nextConfig);
61 changes: 61 additions & 0 deletions apps/site/public/img/brand/dark-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions apps/site/public/img/brand/light-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions apps/site/src/app/api/hello/route.ts

This file was deleted.

Loading