Skip to content

Commit

Permalink
webpage cleanup and added logo and hanged the color of the page
Browse files Browse the repository at this point in the history
  • Loading branch information
mineme0110 committed Jul 7, 2023
1 parent c3ea869 commit b1b5c8c
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 b1b5c8c

Please sign in to comment.