mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-08 10:22:47 -04:00
feat: merge login, register and intro page
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
76ef2511e7
commit
56643ffd85
39 changed files with 533 additions and 374 deletions
|
@ -21,7 +21,7 @@ export const HelpDropdown: React.FC = () => {
|
|||
useTranslation()
|
||||
|
||||
return (
|
||||
<Dropdown>
|
||||
<Dropdown drop={'start'}>
|
||||
<Dropdown.Toggle size={'sm'} className={'h-100'}>
|
||||
<UiIcon icon={IconQuestion} />
|
||||
</Dropdown.Toggle>
|
||||
|
|
|
@ -15,13 +15,17 @@ import type { PropsWithChildren } from 'react'
|
|||
import React from 'react'
|
||||
import { Nav, Navbar } from 'react-bootstrap'
|
||||
import { HistoryButton } from './app-bar-elements/help-dropdown/history-button'
|
||||
import { cypressId } from '../../../utils/cypress-attribute'
|
||||
|
||||
/**
|
||||
* Renders the base app bar with branding, help, settings user elements.
|
||||
*/
|
||||
export const BaseAppBar: React.FC<PropsWithChildren> = ({ children }) => {
|
||||
return (
|
||||
<Navbar expand={true} className={`px-2 py-1 align-items-center border-bottom ${styles.navbar}`}>
|
||||
<Navbar
|
||||
expand={true}
|
||||
className={`px-2 py-1 align-items-center border-bottom ${styles.navbar}`}
|
||||
{...cypressId('base-app-bar')}>
|
||||
<Nav className={`align-items-center justify-content-start gap-2 flex-grow-1 ${styles.side}`}>
|
||||
<BrandingElement />
|
||||
</Nav>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue