Skip to content

Commit 946482b

Browse files
committed
Try out a new logo
1 parent dfe5fb4 commit 946482b

8 files changed

Lines changed: 3 additions & 179 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<a href="https://magicentry.rs">
3-
<img alt="magicentry" height=200 src="./static/logo.svg">
3+
<img alt="magicentry" height=200 src="./static/logo.png">
44
</a>
55
</p>
66

src/app_build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ pub async fn axum_build(
8282
.route("/webauthn/auth/finish", post(handle_auth_finish))
8383
.route("/webauthn/register/start", post(handle_reg_start))
8484
.route("/webauthn/register/finish", post(handle_reg_finish))
85-
.route_service("/favicon.ico", ServeFile::new("static/favicon.ico"))
85+
.route_service("/favicon.png", ServeFile::new("static/logo.png"))
8686
.nest_service("/static", ServeDir::new("static"));
8787

8888
// TODO: Add a fallback route (404)

src/tests/render_pages.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fn render_with_mock_config<P: Page>(page: &P, filename: &str) -> Result<(), AppE
2828
path_prefix: page.get_path_prefix(&mock_config).to_string(),
2929
};
3030

31-
let html = crate::pages::partials::render_page(&layout, &content);
31+
let html = crate::pages::partials::render_page(&layout, &content, P::FULL_PAGE);
3232
save_html(filename, &html.into_string()).context("Failed to save HTML file")?;
3333

3434
Ok(())

static/favicon.ico

-24.3 KB
Binary file not shown.

static/logo.js

Lines changed: 0 additions & 114 deletions
This file was deleted.

static/logo.png

451 KB
Loading

static/logo.svg

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)