Skip to content

Commit 6f31c3f

Browse files
authored
add new logo (#714)
1 parent e36922f commit 6f31c3f

File tree

9 files changed

+92
-4
lines changed

9 files changed

+92
-4
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
[![Go Report Card](https://goreportcard.com/badge/github.com/jkroepke/openvpn-auth-oauth2)](https://goreportcard.com/report/github.com/jkroepke/openvpn-auth-oauth2)
77
[![codecov](https://codecov.io/gh/jkroepke/openvpn-auth-oauth2/graph/badge.svg?token=66VT000UYO)](https://codecov.io/gh/jkroepke/openvpn-auth-oauth2)
88

9+
<center>
10+
<img src="https://github.com/jkroepke/openvpn-auth-oauth2/blob/main/docs/img/logo.svg?raw=true" alt="openvpn-auth-oauth2 logo" width="400"/>
11+
</center>
12+
913
# openvpn-auth-oauth2
1014

1115
⭐ Don't forget to star this repository! ⭐
@@ -69,6 +73,7 @@ Thanks to JetBrains IDEs and Sparklabs for their support.
6973
<tr>
7074
<th><a href="https://www.jetbrains.com/?from=jkroepke">JetBrains IDEs</a></th>
7175
<th><a href="https://www.sparklabs.com/viscosity">Sparklabs</a></th>
76+
<th><a href="https://rafaelalex.de/">Rafael Alex (Logo Design)</a></th>
7277
</tr>
7378
</thead>
7479
<tbody>
@@ -90,6 +95,13 @@ Thanks to JetBrains IDEs and Sparklabs for their support.
9095
</a>
9196
</p>
9297
</td>
98+
<td>
99+
<p align="center">
100+
<a href="https://rafaelalex.de/">
101+
<img src="https://rafaelalex.de/logo-rafaelalex.svg" alt="Sparklabs Viscosity logo" style="height: 100px">
102+
</a>
103+
</p>
104+
</td>
93105
</tr>
94106
</tbody>
95107
</table>

docs/Layout Customization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The default assets are here:
2323

2424
- `style.css`: CSS file to enrich the default layout. By default, it is empty.
2525
- `mvp.css`: [MVP](https://github.com/andybrewer/mvp) CSS framework
26-
- `favicon.png`: Favicon of the login page
26+
- `favicon.svg`: Favicon of the login page
2727
- `i18n.js`: Localization script
2828
- `i18n/<lang>.json`: Language specific localization file. <lang> is the language code, e.g., `en` for English.
2929
See [de.json](https://github.com/jkroepke/openvpn-auth-oauth2/blob/main/internal/ui/static/i18n/de.json) for an example.

docs/img/logo.png

-1010 KB
Binary file not shown.

docs/img/logo.svg

Lines changed: 38 additions & 0 deletions
Loading

internal/httphandler/handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func TestAssets(t *testing.T) {
3434

3535
handler := httphandler.New(conf, oAuth2Client)
3636

37-
require.HTTPSuccess(t, handler.ServeHTTP, http.MethodGet, "/assets/favicon.png", nil)
37+
require.HTTPSuccess(t, handler.ServeHTTP, http.MethodGet, "/assets/favicon.svg", nil)
3838
require.HTTPSuccess(t, handler.ServeHTTP, http.MethodGet, "/assets/i18n/de.json", nil)
3939
}
4040

internal/ui/assets/assets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ package assets
22

33
import "embed"
44

5-
//go:embed favicon.png i18n.js style.css i18n
5+
//go:embed favicon.svg i18n.js style.css i18n
66
var FS embed.FS

internal/ui/assets/favicon.png

-51.4 KB
Binary file not shown.

internal/ui/assets/favicon.svg

Lines changed: 38 additions & 0 deletions
Loading

internal/ui/index.gohtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta http-equiv="X-UA-Compatible" content="ie=edge">
1010
<title>OpenVPN SSO Login</title>
1111
<link rel="stylesheet" href="../assets/style.css">
12-
<link rel="icon" href="../assets/favicon.png" sizes="192x192"/>
12+
<link rel="icon" href="../assets/favicon.svg" sizes="192x192"/>
1313
</head>
1414
<body>
1515
<main>

0 commit comments

Comments
 (0)