2026-07-22 21:16:17 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
|
2026-07-25 15:50:46 +03:00
|
|
|
@php
|
|
|
|
|
$metaDescription = $description ?? 'Huginn helps you find and analyze your real online competitors — by product, market, and the technology they run on.';
|
|
|
|
|
@endphp
|
|
|
|
|
|
2026-07-22 21:16:17 +03:00
|
|
|
<title>{{ isset($title) ? $title.' — ' : '' }}{{ config('app.name', 'Huginn') }}</title>
|
2026-07-25 15:50:46 +03:00
|
|
|
<meta name="description" content="{{ $metaDescription }}">
|
|
|
|
|
|
|
|
|
|
<meta property="og:type" content="website">
|
|
|
|
|
<meta property="og:site_name" content="{{ config('app.name', 'Huginn') }}">
|
|
|
|
|
<meta property="og:title" content="{{ isset($title) ? $title.' — ' : '' }}{{ config('app.name', 'Huginn') }}">
|
|
|
|
|
<meta property="og:description" content="{{ $metaDescription }}">
|
|
|
|
|
<meta property="og:url" content="{{ url()->current() }}">
|
|
|
|
|
|
|
|
|
|
<meta name="twitter:card" content="summary">
|
|
|
|
|
<meta name="twitter:title" content="{{ isset($title) ? $title.' — ' : '' }}{{ config('app.name', 'Huginn') }}">
|
|
|
|
|
<meta name="twitter:description" content="{{ $metaDescription }}">
|
|
|
|
|
|
|
|
|
|
<link rel="canonical" href="{{ url()->current() }}">
|
2026-07-22 21:16:17 +03:00
|
|
|
|
2026-07-25 15:36:43 +03:00
|
|
|
<link rel="preconnect" href="https://fonts.bunny.net">
|
|
|
|
|
<link href="https://fonts.bunny.net/css?family=instrument-sans:400,500,600&display=swap" rel="stylesheet">
|
|
|
|
|
|
2026-07-22 21:16:17 +03:00
|
|
|
@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">
|
2026-07-22 21:22:14 +03:00
|
|
|
<div class="mx-auto flex max-w-5xl items-center gap-6 px-4 py-4">
|
2026-07-25 15:22:42 +03:00
|
|
|
<a href="{{ route('home') }}" class="text-lg font-semibold">Huginn</a>
|
|
|
|
|
<nav class="flex flex-1 gap-4 text-sm">
|
2026-07-22 21:22:14 +03:00
|
|
|
<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>
|
2026-07-25 15:22:42 +03:00
|
|
|
<nav class="flex items-center gap-4 text-sm">
|
|
|
|
|
@auth
|
2026-07-25 15:36:43 +03:00
|
|
|
<a href="{{ route('profile') }}" class="text-neutral-600 hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-neutral-100">{{ auth()->user()->name }}</a>
|
2026-07-25 15:22:42 +03:00
|
|
|
<form method="POST" action="{{ route('logout') }}">
|
|
|
|
|
@csrf
|
|
|
|
|
<button type="submit" class="text-neutral-600 hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-neutral-100">Log out</button>
|
|
|
|
|
</form>
|
|
|
|
|
@else
|
|
|
|
|
<a href="{{ route('login') }}" class="text-neutral-600 hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-neutral-100">Log in</a>
|
|
|
|
|
<a href="{{ route('register') }}" class="rounded-md bg-neutral-900 px-3 py-1.5 font-medium text-white hover:bg-neutral-700 dark:bg-white dark:text-neutral-900 dark:hover:bg-neutral-200">Sign up</a>
|
|
|
|
|
@endauth
|
|
|
|
|
</nav>
|
2026-07-22 21:16:17 +03:00
|
|
|
</div>
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
<main>
|
|
|
|
|
{{ $slot }}
|
|
|
|
|
</main>
|
|
|
|
|
|
|
|
|
|
@livewireScripts
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|