/*
 * SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
 *
 * SPDX-License-Identifier: AGPL-3.0-only
 */
import { NoteLoadingBoundary } from '../../components/common/note-loading-boundary/note-loading-boundary'
import { HeadMetaProperties } from '../../components/editor-page/head-meta-properties/head-meta-properties'
import { EditorToRendererCommunicatorContextProvider } from '../../components/editor-page/render-context/editor-to-renderer-communicator-context-provider'
import { SlideShowPageContent } from '../../components/slide-show-page/slide-show-page-content'
import React from 'react'

/**
 * Renders a page that is used by the user to hold a presentation. It contains the renderer for the presentation.
 */
export const SlideShowPage: React.FC = () => {
  return (
    <NoteLoadingBoundary>
      <HeadMetaProperties />
      <EditorToRendererCommunicatorContextProvider>
        <SlideShowPageContent />
      </EditorToRendererCommunicatorContextProvider>
    </NoteLoadingBoundary>
  )
}

export default SlideShowPage
