Skip to content

Commit

Permalink
Merge pull request #71 from pkgw/webclient-button
Browse files Browse the repository at this point in the history
layouts/default.vue: hide What's New for now, add a Webclient button
  • Loading branch information
pkgw authored Jan 7, 2024
2 parents d3e9d63 + f1614b4 commit d187dee
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,18 @@

<Breadcrumb />

<WhatsNew />
<a href="/webclient/" target="_blank">
<n-button strong type="info" size="small" id="webclient-button" aria-label="Open the WWT webclient">
<n-icon size="18" aria-labelledby="webclient-button">
<SendTimeExtensionRound />
</n-icon>
<n-text class="icon-button-label">
WWT Webclient
</n-text>
</n-button>
</a>

<!-- <WhatsNew /> -->

<div style="flex: 1;"></div>

Expand Down Expand Up @@ -97,6 +108,7 @@ import {
FullscreenOutlined,
FullscreenExitOutlined,
MenuRound,
SendTimeExtensionRound,
} from "@vicons/material";
import {
Expand Down Expand Up @@ -233,4 +245,12 @@ function onFullscreenEvent() {
width: 100%;
padding: 10px 0px;
}
#webclient-button {
background-color: rgba(102, 175, 211, 0.5);
i {
color: rgba(255, 255, 255, 0.82);
}
}
</style>

0 comments on commit d187dee

Please sign in to comment.