Browse Source

serve: add favicon

master
Astro 12 months ago
parent
commit
0a1ce19179
  1. 4
      ticker-serve/src/index.rs
  2. BIN
      ticker-serve/static/favicon.png

4
ticker-serve/src/index.rs

@ -70,8 +70,10 @@ fn render_index(app_state: &AppState) -> String {
<html>
<head>
<title>"Ticker"</title>
<meta charset="utf-8" />
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width"/>
<link rel="stylesheet" title="Style" type="text/css" href="static/style.css"/>
<link rel="icon" type="image/png" href="static/favicon.png"/>
</head>
<body>
{ days.iter().map(|day| {

BIN
ticker-serve/static/favicon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Loading…
Cancel
Save