mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-03 16:38:50 -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
|
@ -7,12 +7,12 @@ import { updateDisplayName } from '../../../api/me'
|
|||
import { useApplicationState } from '../../../hooks/common/use-application-state'
|
||||
import { useOnInputChange } from '../../../hooks/common/use-on-input-change'
|
||||
import { DisplayNameField } from '../../common/fields/display-name-field'
|
||||
import { fetchAndSetUser } from '../../login-page/auth/utils'
|
||||
import { useUiNotifications } from '../../notifications/ui-notification-boundary'
|
||||
import type { FormEvent } from 'react'
|
||||
import React, { useCallback, useMemo, useState } from 'react'
|
||||
import { Button, Card, Form } from 'react-bootstrap'
|
||||
import { Trans, useTranslation } from 'react-i18next'
|
||||
import { fetchAndSetUser } from '../../login-page/utils/fetch-and-set-user'
|
||||
|
||||
/**
|
||||
* Profile page section for changing the current display name.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue