Updated includes/header.php and added icon.svg (automated)

mane
Mia Raindrops 3 weeks ago
parent ec92f00814
commit c1c8c5e12a
Signed by: Mia Raindrops
GPG Key ID: EFBDC68435A574B7

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 26.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<style type="text/css">
.st0{fill:#00434A;}
.st1{fill:#008897;stroke:#008897;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
</style>
<circle class="st0" cx="8" cy="8" r="8"/>
<path class="st1" d="M10.8,2.6L9.4,3.7L8,2.8l0.7,1.7L7.3,5.2h1.5l-4.5,8l0.3,0.2l4.5-8l0.5,1.5L10,5.2l1.8-0.1l-1.5-0.9L10.8,2.6"
/>
</svg>

After

Width:  |  Height:  |  Size: 680 B

@ -15,6 +15,20 @@ function parseFilters($filters, $ignore = []) {
}
$filters[$name] = substr($text, 0, -3);
if ($name === "nsfw") {
$text = "";
foreach ($filter as $item) {
if ($item === "close-up") continue;
if (!in_array($item, $ignore)) {
$text .= "-" . $item . ", ";
}
}
$filters["nsfw_closeup"] = substr($text, 0, -3);
}
}
return $filters;
@ -30,6 +44,7 @@ function parseFilters($filters, $ignore = []) {
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<script src="/js/bootstrap.bundle.min.js"></script>
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<title><?= isset($title) ? $title . " - Booru" : "Booru" ?></title>
<script>
@ -207,7 +222,7 @@ function parseFilters($filters, $ignore = []) {
<body>
<nav class="navbar navbar-expand-sm bg-light navbar-light">
<div class="container-fluid">
<a class="navbar-brand" href="/">Booru</a>
<a class="navbar-brand" href="/"><img src="/icon.svg" alt="Booru" style="width: 32px; height: 32px;"></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#collapsibleNavbar">
<span class="navbar-toggler-icon"></span>
</button>

Loading…
Cancel
Save