From 5bcdfb6d6726e463248f2fcac33bc9fc2e4d3f06 Mon Sep 17 00:00:00 2001
From: Waleed Latif
Date: Sun, 29 Mar 2026 22:09:53 -0700
Subject: [PATCH] fix(academy): hide academy pages until content is ready
Co-Authored-By: Claude Opus 4.6
---
apps/sim/app/(home)/components/footer/footer.tsx | 2 +-
apps/sim/app/(landing)/partners/page.tsx | 10 ++++++----
apps/sim/app/academy/layout.tsx | 8 ++++++++
3 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/apps/sim/app/(home)/components/footer/footer.tsx b/apps/sim/app/(home)/components/footer/footer.tsx
index 33517a74135..0f167ee787f 100644
--- a/apps/sim/app/(home)/components/footer/footer.tsx
+++ b/apps/sim/app/(home)/components/footer/footer.tsx
@@ -26,7 +26,7 @@ const RESOURCES_LINKS: FooterItem[] = [
{ label: 'Blog', href: '/blog' },
// { label: 'Templates', href: '/templates' },
{ label: 'Docs', href: 'https://docs.sim.ai', external: true },
- { label: 'Academy', href: '/academy' },
+ // { label: 'Academy', href: '/academy' },
{ label: 'Partners', href: '/partners' },
{ label: 'Careers', href: 'https://jobs.ashbyhq.com/sim', external: true },
{ label: 'Changelog', href: '/changelog' },
diff --git a/apps/sim/app/(landing)/partners/page.tsx b/apps/sim/app/(landing)/partners/page.tsx
index 253a5283838..e3c564edf01 100644
--- a/apps/sim/app/(landing)/partners/page.tsx
+++ b/apps/sim/app/(landing)/partners/page.tsx
@@ -152,12 +152,13 @@ export default async function PartnersPage() {
recognition in the growing ecosystem of AI workflow builders.
diff --git a/apps/sim/app/academy/layout.tsx b/apps/sim/app/academy/layout.tsx
index d36060d76b6..502b1d4d574 100644
--- a/apps/sim/app/academy/layout.tsx
+++ b/apps/sim/app/academy/layout.tsx
@@ -1,5 +1,9 @@
import type React from 'react'
import type { Metadata } from 'next'
+import { notFound } from 'next/navigation'
+
+// TODO: Remove notFound() call to make academy pages public once content is ready
+const ACADEMY_ENABLED = false
export const metadata: Metadata = {
title: {
@@ -17,6 +21,10 @@ export const metadata: Metadata = {
}
export default function AcademyLayout({ children }: { children: React.ReactNode }) {
+ if (!ACADEMY_ENABLED) {
+ notFound()
+ }
+
return (
{children}