mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-30 14:55:27 -04:00
feat(explore): de-mock public and shared explore page
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
0a9b965b72
commit
6bc051165f
2 changed files with 6 additions and 4 deletions
|
@ -5,10 +5,11 @@
|
|||
*/
|
||||
|
||||
import type { NextPage } from 'next'
|
||||
import { LandingLayout } from '../../../../components/landing-layout/landing-layout'
|
||||
import { ExploreNotesSection } from '../../../../components/explore-page/explore-notes-section/explore-notes-section'
|
||||
import { Mode } from '../../../../components/explore-page/mode-selection/mode'
|
||||
|
||||
const ExplorePublicPage: NextPage = () => {
|
||||
return <LandingLayout>Public Notes</LandingLayout>
|
||||
return <ExploreNotesSection mode={Mode.PUBLIC} />
|
||||
}
|
||||
|
||||
export default ExplorePublicPage
|
||||
|
|
|
@ -5,10 +5,11 @@
|
|||
*/
|
||||
|
||||
import type { NextPage } from 'next'
|
||||
import { LandingLayout } from '../../../../components/landing-layout/landing-layout'
|
||||
import { ExploreNotesSection } from '../../../../components/explore-page/explore-notes-section/explore-notes-section'
|
||||
import { Mode } from '../../../../components/explore-page/mode-selection/mode'
|
||||
|
||||
const ExploreSharedPage: NextPage = () => {
|
||||
return <LandingLayout>Shared Notes</LandingLayout>
|
||||
return <ExploreNotesSection mode={Mode.SHARED_WITH_ME} />
|
||||
}
|
||||
|
||||
export default ExploreSharedPage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue