mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
34 lines
877 B
TypeScript
34 lines
877 B
TypeScript
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: {
|
|
absolute: 'Sim Academy',
|
|
template: '%s | Sim Academy',
|
|
},
|
|
description:
|
|
'Become a certified Sim partner — learn to build, integrate, and deploy AI workflows.',
|
|
metadataBase: new URL('https://sim.ai'),
|
|
openGraph: {
|
|
title: 'Sim Academy',
|
|
description: 'Become a certified Sim partner.',
|
|
type: 'website',
|
|
},
|
|
}
|
|
|
|
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}
|
|
</div>
|
|
)
|
|
}
|