Implemented phase 2 for the POC prototype in the Website service.
This commit is contained in:
1 parent
09c7b8a1a7
commit
43dcc03da6
28 files changed
+1468
-65
No files matched your search
@@ -218,12 +218,25 @@ private extension SiteHeader {
|
||||
)
|
||||
) {
|
||||
span(.class("from-desktop")) {
|
||||
viewer.displayName
|
||||
viewer.firstName
|
||||
}
|
||||
span(.class("site-header__avatar")) {
|
||||
viewer.initials
|
||||
}
|
||||
}
|
||||
// Not in the design, whose sign-out lives on the account screen the prototype leaves out.
|
||||
form(
|
||||
.class("site-header__sign-out"),
|
||||
.action(.Route.signOut),
|
||||
.method(.post)
|
||||
) {
|
||||
button(
|
||||
.class("site-header__text-link"),
|
||||
.type(.submit)
|
||||
) {
|
||||
"Sign out"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// An icon link with a count badge, omitted at zero.
|
||||
|
||||
Reference in new issue
Block a user