Add tests for featured thumbnail generation; apply Pint formatting and related edits

This commit is contained in:
2026-05-06 18:55:40 +02:00
parent 7a8bc8e22a
commit 82f2b1f660
65 changed files with 11325 additions and 49545 deletions

View File

@@ -21,7 +21,7 @@
]);
$page_robots = $page_robots ?? ($isAuthSeoRoute ? 'noindex,nofollow' : null);
$shouldRenderBladeSeo = ($useUnifiedSeo ?? ! $isInertiaPage) && (($renderBladeSeo ?? true) || ! $isInertiaPage);
$novaCssEntries = [
$novaCssEntries = $novaCssEntries ?? [
'resources/css/app.css',
'resources/css/nova-grid.css',
'resources/scss/nova.scss',
@@ -70,8 +70,27 @@
@if(!$deferWebManifest)
<link rel="manifest" href="/favicon/site.webmanifest" />
@endif
<style>
html {
background-color: rgb(14, 18, 27);
color-scheme: dark;
}
body {
margin: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
background-color: rgb(14, 18, 27);
color: #fff;
}
</style>
@foreach($novaCssEntries as $novaCssEntry)
<link rel="stylesheet" href="{{ Vite::asset($novaCssEntry) }}">
@php
$novaCssHref = Vite::asset($novaCssEntry);
@endphp
<link rel="preload" href="{{ $novaCssHref }}" as="style" onload="this.rel='stylesheet'">
<link rel="stylesheet" href="{{ $novaCssHref }}">
@endforeach
@vite($novaViteEntries)
<script>

View File

@@ -25,7 +25,7 @@
<!-- Logo -->
<a href="/" class="flex items-center gap-2 pr-2 shrink-0">
<img src="https://cdn.skinbase.org/images/sb_logo.webp" alt="" width="289" height="100" class="h-9 w-auto rounded-sm shadow-sm object-contain">
<img src="https://cdn.skinbase.org/images/sb_logo_full.webp" alt="" width="104" height="36" class="h-9 w-auto rounded-sm shadow-sm object-contain">
<span class="sr-only">Skinbase.org</span>
</a>