Skip to content

Commit db3b91c

Browse files
authored
Merge pull request #46 from teofum/smol-webp-logo
webp logo with an almost reasonable file size
2 parents 2afd1b0 + 3b55d98 commit db3b91c

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

docusaurus.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const config: Config = {
8888
title: 'Graphics Programming',
8989
logo: {
9090
alt: 'Graphics Programming',
91-
src: 'img/gp-discord-logo.gif',
91+
src: 'img/gp-discord-logo.webp',
9292
},
9393
items: [
9494
{

src/css/custom.css

+5
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@
2626
--ifm-color-primary-lighter: #d1b5eb;
2727
--ifm-color-primary-lightest: #e2c8f3;
2828
--docusaurus-highlighted-code-line-bg: rgba(177, 156, 217, 0.3);
29+
}
30+
31+
.navbar__logo {
32+
border-radius: 4px;
33+
overflow: hidden;
2934
}

static/img/gp-discord-logo.webp

154 KB
Binary file not shown.

0 commit comments

Comments
 (0)