The actual "who sells honey with a .es domain" feature: search sites by keyword — matched against page title/description/keywords/body text via a new MySQL fulltext index on site_pages — combined with an optional TLD filter on the domain. Results are sites ranked by number of matching pages. Shows nothing until a filter is entered, so it doesn't just duplicate the plain Sites browse page. Verified against real .es data pulled in for the test (dominio -> 4 matching sites, correctly ranked and TLD-filtered).
30 lines
1.3 KiB
PHP
30 lines
1.3 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>{{ isset($title) ? $title.' — ' : '' }}{{ config('app.name', 'Huginn') }}</title>
|
|
|
|
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
|
@livewireStyles
|
|
</head>
|
|
<body class="min-h-screen bg-white text-neutral-900 antialiased dark:bg-neutral-950 dark:text-neutral-100">
|
|
<header class="border-b border-neutral-200 dark:border-neutral-800">
|
|
<div class="mx-auto flex max-w-5xl items-center gap-6 px-4 py-4">
|
|
<a href="{{ route('sites.index') }}" class="text-lg font-semibold">Huginn</a>
|
|
<nav class="flex gap-4 text-sm">
|
|
<a href="{{ route('sites.index') }}" class="text-neutral-600 hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-neutral-100">Sites</a>
|
|
<a href="{{ route('discover') }}" class="text-neutral-600 hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-neutral-100">Discover</a>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<main>
|
|
{{ $slot }}
|
|
</main>
|
|
|
|
@livewireScripts
|
|
</body>
|
|
</html>
|