Skip to content

Commit 9424b71

Browse files
[HttpKernel][ErrorHandler] Add favicon to welcome and error pages
1 parent aec0685 commit 9424b71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Resources/welcome.html.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="UTF-8" />
55
<meta name="robots" content="noindex,nofollow,noarchive,nosnippet,noodp,notranslate,noimageindex" />
66
<title>Welcome to Symfony!</title>
7+
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>👋</text></svg>">
78
<style>
89
<?php $hue = random_int(0, 360); ?>
910
<?php $darkColor = static function (float $alpha = 1) use ($hue) { return "hsla($hue, 20%, 45%, $alpha)"; }; ?>

0 commit comments

Comments
 (0)