diff --git a/README.md b/README.md index 33e76da2..6f85d915 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
- - + +
diff --git a/middleware/parse/parse_test.go b/middleware/parse/parse_test.go index 67d0fd83..63636119 100644 --- a/middleware/parse/parse_test.go +++ b/middleware/parse/parse_test.go @@ -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) }) diff --git a/resources/img/logo/goyave.png b/resources/img/logo/goyave.png deleted file mode 100755 index b64f02ad..00000000 Binary files a/resources/img/logo/goyave.png and /dev/null differ diff --git a/resources/img/logo/goyave.psd b/resources/img/logo/goyave.psd deleted file mode 100755 index 2e86070b..00000000 Binary files a/resources/img/logo/goyave.psd and /dev/null differ diff --git a/resources/img/logo/goyave_128.png b/resources/img/logo/goyave_128.png deleted file mode 100644 index 1c2b82d3..00000000 Binary files a/resources/img/logo/goyave_128.png and /dev/null differ diff --git a/resources/img/logo/goyave_16.png b/resources/img/logo/goyave_16.png index ec4ea69f..9255b443 100644 Binary files a/resources/img/logo/goyave_16.png and b/resources/img/logo/goyave_16.png differ diff --git a/resources/img/logo/goyave_256.png b/resources/img/logo/goyave_256.png deleted file mode 100644 index 180e4c15..00000000 Binary files a/resources/img/logo/goyave_256.png and /dev/null differ diff --git a/resources/img/logo/goyave_32.png b/resources/img/logo/goyave_32.png deleted file mode 100644 index fd529006..00000000 Binary files a/resources/img/logo/goyave_32.png and /dev/null differ diff --git a/resources/img/logo/goyave_512.png b/resources/img/logo/goyave_512.png deleted file mode 100644 index 8ae3ebad..00000000 Binary files a/resources/img/logo/goyave_512.png and /dev/null differ diff --git a/resources/img/logo/goyave_64.png b/resources/img/logo/goyave_64.png deleted file mode 100644 index a65c819b..00000000 Binary files a/resources/img/logo/goyave_64.png and /dev/null differ diff --git a/resources/img/logo/goyave_banner.png b/resources/img/logo/goyave_banner.png new file mode 100644 index 00000000..00f9c3bf Binary files /dev/null and b/resources/img/logo/goyave_banner.png differ diff --git a/resources/img/logo/goyave_banner_dark.png b/resources/img/logo/goyave_banner_dark.png new file mode 100644 index 00000000..5f3736cc Binary files /dev/null and b/resources/img/logo/goyave_banner_dark.png differ diff --git a/resources/img/logo/goyave_text.png b/resources/img/logo/goyave_text.png deleted file mode 100755 index c27c432d..00000000 Binary files a/resources/img/logo/goyave_text.png and /dev/null differ diff --git a/resources/img/logo/goyave_text.psd b/resources/img/logo/goyave_text.psd deleted file mode 100644 index de5d8629..00000000 Binary files a/resources/img/logo/goyave_text.psd and /dev/null differ diff --git a/resources/img/logo/goyave_text_dark.png b/resources/img/logo/goyave_text_dark.png deleted file mode 100644 index 3907a79b..00000000 Binary files a/resources/img/logo/goyave_text_dark.png and /dev/null differ diff --git a/resources/img/logo/goyave_text_opaque.png b/resources/img/logo/goyave_text_opaque.png deleted file mode 100644 index 43555614..00000000 Binary files a/resources/img/logo/goyave_text_opaque.png and /dev/null differ diff --git a/resources/img/logo/goyave_text_vertical.png b/resources/img/logo/goyave_text_vertical.png deleted file mode 100755 index 49f20db0..00000000 Binary files a/resources/img/logo/goyave_text_vertical.png and /dev/null differ diff --git a/util/fsutil/fsutil_test.go b/util/fsutil/fsutil_test.go index c502bf74..4d63d6f5 100644 --- a/util/fsutil/fsutil_test.go +++ b/util/fsutil/fsutil_test.go @@ -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")) diff --git a/util/testutil/testutil_test.go b/util/testutil/testutil_test.go index fdaab436..94a1927b 100644 --- a/util/testutil/testutil_test.go +++ b/util/testutil/testutil_test.go @@ -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) } @@ -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)