Skip to content

Commit

Permalink
ui: update logo
Browse files Browse the repository at this point in the history
Update the logo image and favicon. Adjust the logo dimensions to account
for the changed aspect ratio. Simplify the heading structure a little.
  • Loading branch information
kenjenkins committed Feb 23, 2024
1 parent 335d209 commit e62f836
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 15 deletions.
Binary file added ui/dist/img/favicon.ico
Binary file not shown.
24 changes: 23 additions & 1 deletion ui/dist/img/logo-long.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion ui/dist/img/logo-only.svg

This file was deleted.

10 changes: 7 additions & 3 deletions ui/dist/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ a:hover {
width: 100%;
}

.hostname {
flex: 1;
}

.statuses {
float: left;
}
Expand All @@ -241,10 +245,10 @@ a:hover {
display: inline-block;
position: relative;
background: url(/img/logo-long.svg) no-repeat;
width: 230px;
height: 26px;
width: 162px;
height: 32px;
cursor: pointer;
margin-right: 8px;
margin-right: 12px;
}

.logo:hover {
Expand Down
2 changes: 1 addition & 1 deletion ui/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
/>
<link rel="stylesheet" type="text/css" href="/index.css" />
<link rel="icon" type="image/png" href="/img/logo-only.svg" />
<link rel="icon" href="/img/favicon.ico" />

{{ with .GoogleTagManagerID }}
<!-- Google Tag Manager -->
Expand Down
14 changes: 5 additions & 9 deletions ui/src/components/Verify.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,11 @@ const Verify: FC = () => {
<div className="inner">
<div className="header clearfix">
<div className="heading">
<div>
<a href="/" className="logo"></a>
<span>{info?.request?.host}</span>
</div>
<div>
<a href="/.pomerium/sign_out" title={'Logout'}>
<LogoutIcon />
</a>
</div>
<a href="/" className="logo"></a>
<span className="hostname">{info?.request?.host}</span>
<a href="/.pomerium/sign_out" title={'Logout'}>
<LogoutIcon />
</a>
</div>
</div>

Expand Down

0 comments on commit e62f836

Please sign in to comment.