Skip to content

Commit ba78591

Browse files
committed
Host link
1 parent 32b00ae commit ba78591

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/components/Menu.vue

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ import {
3333
HEADER_LINKS_BACKGROUND_COLOR as headerLinksBackgroundColorSetting
3434
} from '../obp/style-setting'
3535
import { inject, ref, computed, onMounted } from 'vue'
36+
37+
const obpApiHost = ref(import.meta.env.VITE_OBP_API_HOST)
3638
import { getOBPBanks } from '../obp'
3739
import SvelteDropdown from './SvelteDropdown.vue'
3840
@@ -95,6 +97,7 @@ const handleLocale = (command: string) => {
9597
<span id="selected-endpoint-tags" class="endpoint-tags"></span>
9698
</el-col>
9799
<el-col :span="14" class="menu-right">
100+
<a :href="obpApiHost" class="api-host-label" target="_blank">{{ obpApiHost }}</a>
98101
<SvelteDropdown
99102
class="menu-right bank-selector"
100103
id="menu-nav-banks"
@@ -176,6 +179,14 @@ a:hover {
176179
text-decoration: underline;
177180
}
178181
182+
.api-host-label {
183+
font-size: 14px;
184+
font-family: 'Roboto';
185+
color: #7787a6;
186+
margin-right: 10px;
187+
vertical-align: middle;
188+
}
189+
179190
.bank-selector {
180191
display: inline-block;
181192
vertical-align: middle;

0 commit comments

Comments
 (0)