mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-09 13:51:57 -04:00
feature: add button to open cheatsheet in a new tab
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
438a5466e0
commit
9b9eafc948
7 changed files with 108 additions and 39 deletions
21
frontend/src/pages/cheatsheet.tsx
Normal file
21
frontend/src/pages/cheatsheet.tsx
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2023 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
import { CheatsheetContent } from '../components/editor-page/app-bar/cheatsheet/cheatsheet-content'
|
||||
import { useApplyDarkMode } from '../hooks/common/use-apply-dark-mode'
|
||||
import type { NextPage } from 'next'
|
||||
import { Container } from 'react-bootstrap'
|
||||
|
||||
const CheatsheetPage: NextPage = () => {
|
||||
useApplyDarkMode()
|
||||
|
||||
return (
|
||||
<Container>
|
||||
<CheatsheetContent></CheatsheetContent>
|
||||
</Container>
|
||||
)
|
||||
}
|
||||
|
||||
export default CheatsheetPage
|
Loading…
Add table
Add a link
Reference in a new issue