Skip to content

Commit

Permalink
fix: mediator oob webpage added logo (#42)
Browse files Browse the repository at this point in the history
webpage cleanup and added logo and hanged the color of the page

Co-authored-by: Shailesh Patil <shailesh.patil@iohk.io>
Signed-off-by: Shailesh Patil <shaileshp@gmail.com>

Signed-off-by: Shailesh Patil <shailesh.patil@iohk.io>
  • Loading branch information
shaileshp0110 authored and mineme0110 committed May 1, 2024
1 parent ded74e9 commit faf43d9
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions webapp/src/main/scala/io/iohk/atala/mediator/AppUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ object AppUtils {
onClick --> menuClickObserver,
"menu"
)

typings.materialRipple.mod.MDCRipple.attachTo(menuButton.ref)

// def makeLi(didName: String, icon: String) =
Expand Down Expand Up @@ -81,32 +82,30 @@ object AppUtils {
typings.materialMenu.mod.MDCMenu.attachTo(options.ref)

headerTag(
className("mdc-top-app-bar"),
div(
className("mdc-top-app-bar__row"),
sectionTag(
className("mdc-top-app-bar__section mdc-top-app-bar__section--align-start"),
menuButton,
span(className("mdc-top-app-bar__title"), child.text <-- title)
),
sectionTag(
className("mdc-top-app-bar__section mdc-top-app-bar__section--align-start"),
div(
a(
href := "https://atalaprism.io",
target := "_blank",
img(
src := "https://atalaprism.io/images/atala-prism-logo-suite.svg",
className := "logo vanilla",
alt := "Prism Mediator"
),
)
)
),
sectionTag(
className("mdc-top-app-bar__section mdc-top-app-bar__section--align-end"),
role("toolbar"),
a(
className("material-icons mdc-top-app-bar__action-item mdc-icon-button"),
href("https://github.com/FabioPinheiro/fmgp-generative-design"),
i(aria.label("Github")),
),
// button(
// className("material-icons mdc-top-app-bar__action-item mdc-icon-button"),
// aria.label("Search"),
// "search"
// ),
// select(
// value <-- Global.agentVar.signal.map(Global.getAgentName(_)),
// onChange.mapToValue.map(e => fmgp.did.AgentProvider.allAgents.get(e)) --> Global.agentVar,
// Global.dids.map { step => option(value := step, step) }
// ),
div(
className("mdc-menu-surface--anchor"),
optionsButton,
Expand All @@ -123,7 +122,7 @@ object AppUtils {
className("mdc-drawer mdc-drawer--modal"),
div(
className("mdc-drawer__header"),
h3(className("mdc-drawer__title"), "IOHP - Atala PRISM Mediator"),
h3(className("mdc-drawer__title"), "IOHK - Atala PRISM Mediator"),
h6(className("mdc-drawer__subtitle"), "atlaprism@iohk.io"),
),
div(
Expand Down

0 comments on commit faf43d9

Please sign in to comment.