Created
December 18, 2025 14:12
-
-
Save sitefinitySDK/7cdc2e67923ebb130d9e20745333cc22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { ScriptInjectorBodyTop, ScriptInjectorBodyBottom } from '../widgets/script/script-injector'; | |
| export function SitefinityTemplate({ widgets, requestContext }: { | |
| widgets: { [key: string]: ReactNode[] }; | |
| requestContext: RequestContext; | |
| }): JSX.Element { | |
| return ( | |
| <> | |
| <ScriptInjectorBodyTop requestContext={requestContext} /> | |
| <header data-sfcontainer="Header"> | |
| {widgets['Header']} | |
| </header> | |
| <main data-sfcontainer="Content"> | |
| {widgets['Content']} | |
| </main> | |
| <footer data-sfcontainer="Footer"> | |
| {widgets['Footer']} | |
| </footer> | |
| <ScriptInjectorBodyBottom requestContext={requestContext} /> | |
| </> | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment