Skip to content

Commit

Permalink
Merge pull request #23 from georchestra/themable-header
Browse files Browse the repository at this point in the history
Themable Webcomponent header
  • Loading branch information
f-necas authored Dec 19, 2023
2 parents 262382e + ada3fbd commit 1d35bd9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ public class GeorchestraConfiguration {
@Value("${headerScript:https://cdn.jsdelivr.net/gh/georchestra/header@dist/header.js}")
String headerScript;

@Value("${headerLogo:https://www.georchestra.org/public/georchestra-logo.svg}")
String headerLogo;
@Value("${logoUrl:https://www.georchestra.org/public/georchestra-logo.svg}")
String logoUrl;

@Value("${georchestraStylesheet:}")
String georchestraStylesheet;

}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
<geor-header th:style="'width:100%;height:'+ ${@georchestraConfiguration.getHeaderHeight()}+'px;border:none;overflow:hidden;'"
th:legacy-url="${@georchestraConfiguration.getHeaderUrl()}"
th:legacy-header="${@georchestraConfiguration.isUseLegacyHeader()}"
th:logo-url="${@georchestraConfiguration.getHeaderLogo()}"
th:logo-url="${@georchestraConfiguration.getLogoUrl()}"
th:stylesheet="${@georchestraConfiguration.getGeorchestraStylesheet()}"
></geor-header>
<script th:src="${@georchestraConfiguration.getHeaderScript()}"></script>
</div>
Expand Down

0 comments on commit 1d35bd9

Please sign in to comment.