File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed
Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const RESOURCES_LINKS: FooterItem[] = [
2626 { label : 'Blog' , href : '/blog' } ,
2727 // { label: 'Templates', href: '/templates' },
2828 { label : 'Docs' , href : 'https://docs.sim.ai' , external : true } ,
29- { label : 'Academy' , href : '/academy' } ,
29+ // { label: 'Academy', href: '/academy' },
3030 { label : 'Partners' , href : '/partners' } ,
3131 { label : 'Careers' , href : 'https://jobs.ashbyhq.com/sim' , external : true } ,
3232 { label : 'Changelog' , href : '/changelog' } ,
Original file line number Diff line number Diff line change @@ -152,12 +152,13 @@ export default async function PartnersPage() {
152152 recognition in the growing ecosystem of AI workflow builders.
153153 </ p >
154154 < div className = 'flex items-center gap-4' >
155- < Link
155+ { /* TODO: Uncomment when academy is public */ }
156+ { /* <Link
156157 href='/academy'
157158 className='inline-flex h-[44px] items-center rounded-[5px] bg-white px-6 text-[#1C1C1C] text-[15px] transition-colors hover:bg-[#E8E8E8]'
158159 >
159160 Start Sim Academy →
160- </ Link >
161+ </Link> */ }
161162 < a
162163 href = '#how-it-works'
163164 className = 'inline-flex h-[44px] items-center rounded-[5px] border border-[#3A3A3A] px-6 text-[#ECECEC] text-[15px] transition-colors hover:border-[#4A4A4A]'
@@ -275,12 +276,13 @@ export default async function PartnersPage() {
275276 Complete Sim Academy to earn your first certification and unlock partner benefits.
276277 It's free to start — no credit card required.
277278 </ p >
278- < Link
279+ { /* TODO: Uncomment when academy is public */ }
280+ { /* <Link
279281 href='/academy'
280282 className='inline-flex h-[48px] items-center rounded-[5px] bg-white px-8 font-[430] text-[#1C1C1C] text-[15px] transition-colors hover:bg-[#E8E8E8]'
281283 >
282284 Start Sim Academy →
283- </ Link >
285+ </Link> */ }
284286 </ div >
285287 </ section >
286288 </ main >
Original file line number Diff line number Diff line change 11import type React from 'react'
22import type { Metadata } from 'next'
3+ import { notFound } from 'next/navigation'
4+
5+ // TODO: Remove notFound() call to make academy pages public once content is ready
6+ const ACADEMY_ENABLED = false
37
48export const metadata : Metadata = {
59 title : {
@@ -17,6 +21,10 @@ export const metadata: Metadata = {
1721}
1822
1923export default function AcademyLayout ( { children } : { children : React . ReactNode } ) {
24+ if ( ! ACADEMY_ENABLED ) {
25+ notFound ( )
26+ }
27+
2028 return (
2129 < div className = 'min-h-screen bg-[#1C1C1C] font-[430] font-season text-[#ECECEC]' >
2230 { children }
You can’t perform that action at this time.
0 commit comments