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
2 changes: 1 addition & 1 deletion apps/sim/app/(home)/components/footer/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down
10 changes: 6 additions & 4 deletions apps/sim/app/(landing)/partners/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,13 @@ export default async function PartnersPage() {
recognition in the growing ecosystem of AI workflow builders.
</p>
<div className='flex items-center gap-4'>
<Link
{/* TODO: Uncomment when academy is public */}
{/* <Link
href='/academy'
className='inline-flex h-[44px] items-center rounded-[5px] bg-white px-6 text-[#1C1C1C] text-[15px] transition-colors hover:bg-[#E8E8E8]'
>
Start Sim Academy →
</Link>
</Link> */}
<a
href='#how-it-works'
className='inline-flex h-[44px] items-center rounded-[5px] border border-[#3A3A3A] px-6 text-[#ECECEC] text-[15px] transition-colors hover:border-[#4A4A4A]'
Expand Down Expand Up @@ -275,12 +276,13 @@ export default async function PartnersPage() {
Complete Sim Academy to earn your first certification and unlock partner benefits.
It's free to start — no credit card required.
</p>
<Link
{/* TODO: Uncomment when academy is public */}
{/* <Link
href='/academy'
className='inline-flex h-[48px] items-center rounded-[5px] bg-white px-8 font-[430] text-[#1C1C1C] text-[15px] transition-colors hover:bg-[#E8E8E8]'
>
Start Sim Academy →
</Link>
</Link> */}
</div>
</section>
</main>
Expand Down
8 changes: 8 additions & 0 deletions apps/sim/app/academy/layout.tsx
Original file line number Diff line number Diff line change
@@ -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: {
Expand All @@ -17,6 +21,10 @@ export const metadata: Metadata = {
}

export default function AcademyLayout({ children }: { children: React.ReactNode }) {
if (!ACADEMY_ENABLED) {
notFound()
}

return (
<div className='min-h-screen bg-[#1C1C1C] font-[430] font-season text-[#ECECEC]'>
{children}
Expand Down
Loading