Skip to content

Commit

Permalink
New logo
Browse files Browse the repository at this point in the history
  • Loading branch information
System-Glitch committed May 30, 2024
1 parent d3f977d commit e2397d6
Show file tree
Hide file tree
Showing 19 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<img src="https://raw.githubusercontent.com/go-goyave/goyave/master/resources/img/logo/goyave_text.png#gh-light-mode-only" alt="Goyave Logo" width="550"/>
<img src="https://raw.githubusercontent.com/go-goyave/goyave/master/resources/img/logo/goyave_text_dark.png#gh-dark-mode-only" alt="Goyave Logo" width="550"/>
<img src="./resources/img/logo/goyave_banner.png#gh-light-mode-only" alt="Goyave Logo" width="550"/>
<img src="./resources/img/logo/goyave_banner_dark.png#gh-dark-mode-only" alt="Goyave Logo" width="550"/>
</p>

<p align="center">
Expand Down
2 changes: 1 addition & 1 deletion middleware/parse/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func TestParseMiddleware(t *testing.T) {
}
assert.Equal(t, "image/png", picture[0].MIMEType)
assert.Equal(t, "goyave_16.png", picture[0].Header.Filename)
assert.Equal(t, int64(716), picture[0].Header.Size)
assert.Equal(t, int64(630), picture[0].Header.Size)

resp.Status(http.StatusOK)
})
Expand Down
Binary file removed resources/img/logo/goyave.png
Binary file not shown.
Binary file removed resources/img/logo/goyave.psd
Binary file not shown.
Binary file removed resources/img/logo/goyave_128.png
Binary file not shown.
Binary file modified resources/img/logo/goyave_16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resources/img/logo/goyave_256.png
Binary file not shown.
Binary file removed resources/img/logo/goyave_32.png
Binary file not shown.
Binary file removed resources/img/logo/goyave_512.png
Binary file not shown.
Binary file removed resources/img/logo/goyave_64.png
Binary file not shown.
Binary file added resources/img/logo/goyave_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/img/logo/goyave_banner_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resources/img/logo/goyave_text.png
Binary file not shown.
Binary file removed resources/img/logo/goyave_text.psd
Binary file not shown.
Binary file removed resources/img/logo/goyave_text_dark.png
Binary file not shown.
Binary file removed resources/img/logo/goyave_text_opaque.png
Binary file not shown.
Binary file removed resources/img/logo/goyave_text_vertical.png
Binary file not shown.
2 changes: 1 addition & 1 deletion util/fsutil/fsutil_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func TestGetFileExtension(t *testing.T) {
func TestGetMIMEType(t *testing.T) {
mime, size, err := GetMIMEType(&osfs.FS{}, toAbsolutePath("resources/img/logo/goyave_16.png"))
assert.Equal(t, "image/png", mime)
assert.Equal(t, int64(716), size)
assert.Equal(t, int64(630), size)
require.NoError(t, err)

mime, _, err = GetMIMEType(&osfs.FS{}, toAbsolutePath("resources/test_script.sh"))
Expand Down
4 changes: 2 additions & 2 deletions util/testutil/testutil_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func TestWriteMultipartFile(t *testing.T) {
file := files["profile_picture"]
require.Len(t, file, 1)
assert.Equal(t, "goyave_16.png", file[0].Filename)
assert.Equal(t, int64(716), file[0].Size)
assert.Equal(t, int64(630), file[0].Size)
assert.Equal(t, textproto.MIMEHeader{"Content-Type": []string{"application/octet-stream"}, "Content-Disposition": []string{"form-data; name=\"profile_picture\"; filename=\"goyave_16.png\""}}, file[0].Header)
}

Expand All @@ -214,7 +214,7 @@ func TestCreateTestFiles(t *testing.T) {
require.Len(t, files, 2)

assert.Equal(t, "goyave_16.png", files[0].Header.Filename)
assert.Equal(t, int64(716), files[0].Header.Size)
assert.Equal(t, int64(630), files[0].Header.Size)
assert.Equal(t, textproto.MIMEHeader{"Content-Type": []string{"application/octet-stream"}, "Content-Disposition": []string{"form-data; name=\"file\"; filename=\"goyave_16.png\""}}, files[0].Header.Header)

assert.Equal(t, "test_file.txt", files[1].Header.Filename)
Expand Down

0 comments on commit e2397d6

Please sign in to comment.