Skip to content

Commit

Permalink
Add placeholder hero graphic.
Browse files Browse the repository at this point in the history
  • Loading branch information
braniii committed Mar 5, 2024
1 parent 58a6204 commit 5eb1d52
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div align="center">
<img style="width: 400px;" src="https://github.com/moldyn/normi/blob/main/docs/hero_graphic.png?raw=true" />
<!--
<img class="darkmode" style="width: 400px;" src="https://github.com/moldyn/normi/blob/main/docs/logo_large_dark.svg?raw=true#gh-dark-mode-only" />
<img class="lightmode" style="width: 400px;" src="https://github.com/moldyn/normi/blob/main/docs/logo_large_light.svg?raw=true#gh-light-mode-only" />
Expand Down Expand Up @@ -105,3 +106,7 @@ nmi = NormalizedMI()
nmi_matrix = nmi.fit_transform(X)
...
```

## Credits

- Logo generated with Ideogram.ai
2 changes: 1 addition & 1 deletion docs/css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}

.md-header__button.md-logo :is(img, svg) {
height: 1.4rem;
height: 2.4rem;
}

/* change icon depending on light/dark mode */
Expand Down
Binary file added docs/hero_graphic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div align="center">

--8<-- "README.md:1:31"
--8<-- "README.md:1:32"

</div>

--8<-- "README.md:40:"
--8<-- "README.md:41:"
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ nav:
theme:
name: material
favicon: icon.png
# logo_slate_mode: logo_large_dark.svg
# logo_default_mode: logo_large_light.svg
logo_slate_mode: hero_graphic.png
logo_default_mode: hero_graphic.png
custom_dir: docs/overrides
features:
- content.code.annotate
Expand Down

0 comments on commit 5eb1d52

Please sign in to comment.