mirror of
https://github.com/penpot/penpot.git
synced 2025-06-09 11:51:39 +02:00
✨ Show current page in browser title
This commit is contained in:
parent
0008a2aa48
commit
6383dc0952
16 changed files with 202 additions and 15 deletions
|
@ -20,9 +20,10 @@
|
|||
[app.main.ui.auth.recovery-request :refer [recovery-request-page]]
|
||||
[app.main.ui.auth.register :refer [register-page register-success-page]]
|
||||
[app.main.ui.icons :as i]
|
||||
[app.util.dom :as dom]
|
||||
[app.util.forms :as fm]
|
||||
[app.util.storage :refer [cache]]
|
||||
[app.util.i18n :as i18n :refer [tr t]]
|
||||
[app.util.i18n :as i18n :refer [t]]
|
||||
[app.util.router :as rt]
|
||||
[app.util.timers :as ts]
|
||||
[beicon.core :as rx]
|
||||
|
@ -35,6 +36,9 @@
|
|||
locale (mf/deref i18n/locale)
|
||||
params (:query-params route)]
|
||||
|
||||
(mf/use-effect
|
||||
#(dom/set-html-title (t locale "title.default")))
|
||||
|
||||
[:div.auth
|
||||
[:section.auth-sidebar
|
||||
[:a.logo {:href "https://penpot.app"} i/logo]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue