mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-16 16:14:43 -04:00
Replace empty components with hooks (#666)
This commit is contained in:
parent
9e9108ec9a
commit
0d2c2fe0ee
5 changed files with 19 additions and 24 deletions
|
@ -1,14 +1,15 @@
|
|||
import React from 'react'
|
||||
import { Container } from 'react-bootstrap'
|
||||
import { DocumentTitle } from '../common/document-title/document-title'
|
||||
import { useDocumentTitle } from '../../hooks/common/use-document-title'
|
||||
import { Footer } from './footer/footer'
|
||||
import { MotdBanner } from '../common/motd-banner/motd-banner'
|
||||
import { HeaderBar } from './navigation/header-bar/header-bar'
|
||||
|
||||
export const LandingLayout: React.FC = ({ children }) => {
|
||||
useDocumentTitle()
|
||||
|
||||
return (
|
||||
<Container className="text-light d-flex flex-column mvh-100">
|
||||
<DocumentTitle/>
|
||||
<MotdBanner/>
|
||||
<HeaderBar/>
|
||||
<div className={'d-flex flex-column justify-content-between flex-fill text-center'}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue