Refresh Harbor Gateway branding assets and accent styling
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<link id="harbor-favicon" rel="icon" href="/harbor-connect.svg" type="image/svg+xml" />
|
<link id="harbor-favicon" rel="icon" href="/harbor-connect.svg?v=2" type="image/svg+xml" sizes="any" />
|
||||||
<title>Harbor</title>
|
<title>Harbor</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ function App() {
|
|||||||
const isGateway = state.mode === 'gateway';
|
const isGateway = state.mode === 'gateway';
|
||||||
document.title = isGateway ? 'Harbor Gateway' : 'Harbor Connect';
|
document.title = isGateway ? 'Harbor Gateway' : 'Harbor Connect';
|
||||||
document.getElementById('harbor-favicon').href = isGateway
|
document.getElementById('harbor-favicon').href = isGateway
|
||||||
? '/harbor-gateway.svg'
|
? '/harbor-gateway.svg?v=2'
|
||||||
: '/harbor-connect.svg';
|
: '/harbor-connect.svg?v=2';
|
||||||
}, [state?.mode]);
|
}, [state?.mode]);
|
||||||
|
|
||||||
async function run(action) {
|
async function run(action) {
|
||||||
@@ -87,7 +87,7 @@ function App() {
|
|||||||
if (!state) return <div className="app-loading">Harbor</div>;
|
if (!state) return <div className="app-loading">Harbor</div>;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="app client-app">
|
<div className={`app client-app${state.mode === 'gateway' ? ' is-gateway-app' : ''}`}>
|
||||||
<div className="app-body client-mode">
|
<div className="app-body client-mode">
|
||||||
<main className="app-main">
|
<main className="app-main">
|
||||||
<ClientOverviewPage
|
<ClientOverviewPage
|
||||||
|
|||||||
@@ -68,6 +68,10 @@ p {
|
|||||||
background: var(--client-bg);
|
background: var(--client-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.app.client-app.is-gateway-app {
|
||||||
|
--client-accent: var(--harbor-gateway);
|
||||||
|
}
|
||||||
|
|
||||||
.app-body.client-mode {
|
.app-body.client-mode {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background: var(--client-bg);
|
background: var(--client-bg);
|
||||||
@@ -180,6 +184,10 @@ p {
|
|||||||
stroke: var(--harbor-gateway);
|
stroke: var(--harbor-gateway);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.harbor-brand.is-gateway .harbor-anchor-left {
|
||||||
|
stroke: var(--harbor-gateway);
|
||||||
|
}
|
||||||
|
|
||||||
.harbor-brand strong {
|
.harbor-brand strong {
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user