site panel : add dynamic favicon
All checks were successful
Deploy / Deploy to Production (push) Successful in 20s

This commit is contained in:
isUnknown 2026-03-26 11:38:19 +01:00
parent 9be03113e3
commit 88bc02b9cf
6 changed files with 88 additions and 13 deletions

View file

@ -18,6 +18,16 @@
<script type="module" src="http://localhost:5173/@vite/client" defer></script>
<script type="module" src="http://localhost:5173/src/main.js" defer></script>
<?php endif ?>
<?php if ($site->faviconPNG()->isNotEmpty()): ?>
<link rel="icon" type="image/png" href="<?= $site->faviconPNG()->toFile()->url() ?>" sizes="96x96" />
<?php endif ?>
<?php if ($site->faviconSVG()->isNotEmpty()): ?>
<link rel="icon" type="image/svg+xml" href="<?= $site->faviconSVG()->toFile()->url() ?>" />
<?php endif ?>
<?php if ($site->faviconICO()->isNotEmpty()): ?>
<link rel="shortcut icon" href="<?= $site->faviconICO()->toFile()->url() ?>" />
<?php endif ?>
</head>
<body>
<div id="app"></div>