site panel : add dynamic favicon
All checks were successful
Deploy / Deploy to Production (push) Successful in 20s
All checks were successful
Deploy / Deploy to Production (push) Successful in 20s
This commit is contained in:
parent
9be03113e3
commit
88bc02b9cf
6 changed files with 88 additions and 13 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue