feat: register privacy/terms routes and unify legal page layouts
This commit is contained in:
@@ -13,6 +13,8 @@ import './pages/page-messages.js'
|
||||
import './pages/page-settings.js'
|
||||
import './pages/page-notifications.js'
|
||||
import './pages/page-not-found.js'
|
||||
import './pages/page-privacy.js'
|
||||
import './pages/page-terms.js'
|
||||
|
||||
class AppShell extends HTMLElement {
|
||||
constructor() {
|
||||
@@ -55,6 +57,8 @@ class AppShell extends HTMLElement {
|
||||
.register('/messages', 'page-messages')
|
||||
.register('/settings', 'page-settings')
|
||||
.register('/notifications', 'page-notifications')
|
||||
.register('/privacy', 'page-privacy')
|
||||
.register('/terms', 'page-terms')
|
||||
|
||||
router.handleRouteChange()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user