Skip to content

Commit 10570df

Browse files
authored
Merge pull request #1005 from XAMPPRocky/update-favicon
Update Favicon
2 parents 291b5e8 + 9cd52f2 commit 10570df

21 files changed

+16
-26
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.DS_Store
12
/target/
23
**/*.rs.bk
34
/node_modules

src/main.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,6 @@ fn index() -> Template {
173173
render_index(ENGLISH.into())
174174
}
175175

176-
#[get("/favicon.ico", rank = 0)]
177-
fn favicon() -> Option<Cached<NamedFile>> {
178-
NamedFile::open("static/images/favicon.ico")
179-
.ok()
180-
.map(|file| file.cached(vec![CacheDirective::MaxAge(3600)]))
181-
}
182-
183176
#[get("/<locale>", rank = 3)]
184177
fn index_locale(locale: SupportedLocale) -> Template {
185178
render_index(locale.0)
@@ -493,7 +486,6 @@ fn main() {
493486
sponsors,
494487
subject,
495488
files,
496-
favicon,
497489
logos,
498490
components,
499491
index_locale,
17 Bytes
Loading
-604 Bytes
Loading

static/images/apple-touch-icon.png

-13 Bytes
Loading

static/images/browserconfig.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<browserconfig>
33
<msapplication>
44
<tile>
5-
<square150x150logo src="/mstile-150x150.png"/>
6-
<TileColor>#00aba9</TileColor>
5+
<square150x150logo src="/static/images/mstile-150x150.png?v=ngJW8jGAmR"/>
6+
<TileColor>#ffffff</TileColor>
77
</tile>
88
</msapplication>
99
</browserconfig>

static/images/favicon-16x16.png

102 Bytes
Loading

static/images/favicon-32x32.png

-192 Bytes
Loading

static/images/favicon.ico

-7.95 KB
Binary file not shown.

static/images/goldberg.jpg

-145 KB
Binary file not shown.

0 commit comments

Comments
 (0)