Files
2026-09-01 07:49:48 -03:00

104 lines
5.0 KiB
PHP
Executable File

<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>@yield('title', config('app.name', 'Annunk'))</title>
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600,700&display=swap" rel="stylesheet" />
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js" defer></script>
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
sans: ['Figtree', 'sans-serif'],
},
}
}
}
</script>
<style>
.hero-gradient {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-4px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
[x-cloak] { display: none !important; }
</style>
</head>
<body class="font-sans antialiased">
<div class="min-h-screen flex flex-col">
<!-- Navigation -->
<nav class="bg-white shadow-sm border-b border-gray-100">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center h-16">
<div class="flex items-center">
<a href="{{ url('/') }}" class="text-2xl font-bold bg-gradient-to-r from-indigo-600 to-purple-600 bg-clip-text text-transparent">
Annunk
</a>
</div>
<div class="flex items-center gap-4">
<x-language-selector />
@if (Route::has('login'))
@auth
<a href="{{ route('dashboard') }}" class="inline-flex items-center px-4 py-2 bg-indigo-600 text-white text-sm font-medium rounded-lg hover:bg-indigo-700 transition">
{{ __('auth.Dashboard') }}
</a>
@else
@if (!request()->routeIs('login'))
<a href="{{ route('login') }}" class="inline-flex items-center px-4 py-2 text-indigo-600 text-sm font-medium hover:text-indigo-700 transition">
{{ __('auth.Log in') }}
</a>
@endif
@if (Route::has('register') && !request()->routeIs('register'))
<a href="{{ route('register') }}" class="inline-flex items-center px-4 py-2 bg-indigo-600 text-white text-sm font-medium rounded-lg hover:bg-indigo-700 transition">
{{ __('auth.Register') }}
</a>
@endif
@endauth
@endif
</div>
</div>
</div>
</nav>
<!-- Main Content -->
<main class="flex-grow {{ $lightBackground ?? false ? 'bg-gray-50' : 'hero-gradient flex items-center justify-center' }} px-4 py-12">
@yield('content')
</main>
<!-- Footer -->
<footer class="bg-gray-900 text-white">
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
<div class="text-center">
<p class="text-sm text-gray-300">
@2026 - {{ __('auth.All rights reserved') }} - {{ __('auth.Powered by') }} <a href="https://syspanel.com.br" target="_blank" rel="noopener noreferrer" class="text-indigo-400 hover:text-indigo-300">Syspanel</a> - <a href="https://syspanel.com.br" target="_blank" rel="noopener noreferrer" class="text-indigo-400 hover:text-indigo-300">www.syspanel.com.br</a>
</p>
<p class="text-sm text-gray-300 mt-2">
<a href="{{ route('legal.terms') }}" class="text-indigo-400 hover:text-indigo-300">{{ __('legal.terms_of_use') }}</a>
<span class="mx-2">|</span>
<a href="{{ route('legal.cookies') }}" class="text-indigo-400 hover:text-indigo-300">{{ __('legal.cookie_policy') }}</a>
<span class="mx-2">|</span>
<a href="{{ route('legal.privacy') }}" class="text-indigo-400 hover:text-indigo-300">{{ __('legal.privacy_policy') }}</a>
</p>
</div>
</div>
</footer>
</div>
@include('components.cookie-banner')
@stack('scripts')
</body>
</html>