195 lines
10 KiB
Vue
195 lines
10 KiB
Vue
<template>
|
|
<div class="consumer-layout min-h-screen bg-sf-wall bg-sf-wall-pattern">
|
|
<!-- Header (above decorations) -->
|
|
<header class="sf-header-bg border-b border-sf-blue/20 shadow-lg z-20 relative">
|
|
<div class="container mx-auto px-4 sm:px-6 py-4">
|
|
<!-- Top row: Logo and controls -->
|
|
<div class="flex justify-between items-center">
|
|
<!-- Logo Section with actual logo image -->
|
|
<div class="flex items-center space-x-4">
|
|
<!-- Logo Image -->
|
|
<div class="flex items-center">
|
|
<div class="relative">
|
|
<img src="/sf_logo_ok.png" alt="Service Finder Logo" class="h-12 w-auto object-contain mix-blend-multiply" />
|
|
</div>
|
|
<div class="ml-3">
|
|
<div class="text-2xl font-bold">
|
|
<span class="text-sf-blue">SERVICE</span>
|
|
<span class="text-sf-green"> FINDER</span>
|
|
</div>
|
|
<!-- Slogan -->
|
|
<div class="text-xs font-semibold text-sf-accent mt-1">
|
|
ONLINE JÁRMŰNYILVÁNTARTÓ & SZERVIZKERESŐ
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Navigation Controls -->
|
|
<div class="flex items-center space-x-4">
|
|
<slot name="header-controls">
|
|
<LanguageSwitcher />
|
|
<ModeSwitcher />
|
|
</slot>
|
|
|
|
<!-- User Menu -->
|
|
<div class="flex items-center space-x-3">
|
|
<router-link to="/login" class="hidden sm:flex items-center space-x-2 px-4 py-2 bg-sf-blue text-white rounded-full hover:bg-sf-blue/90 transition-colors">
|
|
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"></path>
|
|
</svg>
|
|
<span>Sign In</span>
|
|
</router-link>
|
|
<router-link to="/login" class="sm:hidden p-2 rounded-full bg-sf-blue text-white">
|
|
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"></path>
|
|
</svg>
|
|
</router-link>
|
|
|
|
<!-- Notification Bell -->
|
|
<button class="relative p-2 rounded-full hover:bg-gray-100 transition-colors">
|
|
<svg class="w-5 h-5 text-gray-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"></path>
|
|
</svg>
|
|
<span class="absolute top-1 right-1 w-2 h-2 bg-red-500 rounded-full"></span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- Decorative Background Elements (behind navbar, low z-index) -->
|
|
<div class="fixed inset-0 pointer-events-none -z-10 overflow-hidden">
|
|
<!-- Calendar moved lower on the "wall" -->
|
|
<img src="/sf_naptar.png" alt="Calendar" class="absolute top-32 left-8 w-32 shadow-md opacity-80">
|
|
<!-- Alarm light on right side, below navbar -->
|
|
<img src="/sf_alarm_light_01.png" alt="Alarm Light" class="absolute top-32 right-8 w-24 pulse">
|
|
</div>
|
|
|
|
<!-- Main Content -->
|
|
<main class="container mx-auto px-4 sm:px-6 py-8 relative z-10">
|
|
<!-- Content Slot -->
|
|
<div class="bg-white/80 backdrop-blur-sm rounded-3xl shadow-lg p-6 md:p-8 mb-8">
|
|
<slot />
|
|
</div>
|
|
|
|
<!-- Quick Actions Grid -->
|
|
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-12">
|
|
<div class="bg-white/90 rounded-2xl p-6 shadow-lg hover:shadow-xl transition-shadow border border-gray-100">
|
|
<div class="w-12 h-12 bg-sf-blue/10 rounded-xl flex items-center justify-center mb-4">
|
|
<svg class="w-6 h-6 text-sf-blue" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
|
|
</svg>
|
|
</div>
|
|
<h3 class="text-xl font-bold mb-2 text-gray-800">Vehicle Registration</h3>
|
|
<p class="text-gray-600">Quickly register your vehicle and get personalized service recommendations.</p>
|
|
</div>
|
|
<div class="bg-white/90 rounded-2xl p-6 shadow-lg hover:shadow-xl transition-shadow border border-gray-100">
|
|
<div class="w-12 h-12 bg-sf-green/10 rounded-xl flex items-center justify-center mb-4">
|
|
<svg class="w-6 h-6 text-sf-green" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"></path>
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
|
|
</svg>
|
|
</div>
|
|
<h3 class="text-xl font-bold mb-2 text-gray-800">Service Booking</h3>
|
|
<p class="text-gray-600">Book appointments with trusted service providers in your area.</p>
|
|
</div>
|
|
<div class="bg-white/90 rounded-2xl p-6 shadow-lg hover:shadow-xl transition-shadow border border-gray-100">
|
|
<div class="w-12 h-12 bg-sf-teal/10 rounded-xl flex items-center justify-center mb-4">
|
|
<svg class="w-6 h-6 text-sf-teal" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"></path>
|
|
</svg>
|
|
</div>
|
|
<h3 class="text-xl font-bold mb-2 text-gray-800">Cost Tracking</h3>
|
|
<p class="text-gray-600">Track your vehicle's maintenance history and total cost of ownership.</p>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<!-- Footer -->
|
|
<footer class="mt-12 bg-white/90 backdrop-blur-sm border-t border-gray-200/50">
|
|
<div class="container mx-auto px-4 sm:px-6 py-8">
|
|
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
|
<div>
|
|
<div class="flex items-center space-x-3 mb-4">
|
|
<div class="w-8 h-8 rounded-lg bg-sf-blue flex items-center justify-center">
|
|
<svg class="w-5 h-5 text-sf-green" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"></path>
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z"></path>
|
|
</svg>
|
|
</div>
|
|
<div class="text-xl font-bold">
|
|
<span class="text-sf-blue">Service</span>
|
|
<span class="text-sf-green">Finder</span>
|
|
</div>
|
|
</div>
|
|
<p class="text-gray-600 text-sm">Making vehicle maintenance simple, transparent, and affordable.</p>
|
|
</div>
|
|
<div>
|
|
<h4 class="font-semibold mb-4 text-gray-800">For Consumers</h4>
|
|
<ul class="space-y-2">
|
|
<li><a href="#" class="text-gray-600 hover:text-sf-blue text-sm">Find Services</a></li>
|
|
<li><a href="#" class="text-gray-600 hover:text-sf-blue text-sm">Vehicle Registration</a></li>
|
|
<li><a href="#" class="text-gray-600 hover:text-sf-blue text-sm">Price Comparison</a></li>
|
|
</ul>
|
|
</div>
|
|
<div>
|
|
<h4 class="font-semibold mb-4 text-gray-800">For Businesses</h4>
|
|
<ul class="space-y-2">
|
|
<li><a href="#" class="text-gray-600 hover:text-sf-green text-sm">Partner Program</a></li>
|
|
<li><a href="#" class="text-gray-600 hover:text-sf-green text-sm">Business Dashboard</a></li>
|
|
<li><a href="#" class="text-gray-600 hover:text-sf-green text-sm">API Access</a></li>
|
|
</ul>
|
|
</div>
|
|
<div>
|
|
<h4 class="font-semibold mb-4 text-gray-800">Connect</h4>
|
|
<ul class="space-y-2">
|
|
<li><a href="#" class="text-gray-600 hover:text-sf-teal text-sm">Help Center</a></li>
|
|
<li><a href="#" class="text-gray-600 hover:text-sf-teal text-sm">Contact Us</a></li>
|
|
<li><a href="#" class="text-gray-600 hover:text-sf-teal text-sm">Privacy Policy</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="mt-8 pt-8 border-t border-gray-200 text-center text-gray-500 text-sm">
|
|
<p>© 2026 Service Finder. All rights reserved.</p>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import LanguageSwitcher from '../components/LanguageSwitcher.vue'
|
|
import ModeSwitcher from '../components/ModeSwitcher.vue'
|
|
</script>
|
|
|
|
<style scoped>
|
|
.consumer-layout {
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
|
|
/* Mobile background image */
|
|
@media (max-width: 768px) {
|
|
.consumer-layout {
|
|
background: url('/sf_mobile_garage_1.png') no-repeat center center fixed;
|
|
background-size: cover;
|
|
}
|
|
}
|
|
|
|
/* Pulse animation for alarm light */
|
|
@keyframes pulse {
|
|
0%, 100% {
|
|
opacity: 0.8;
|
|
filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5));
|
|
}
|
|
50% {
|
|
opacity: 1;
|
|
filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.9));
|
|
}
|
|
}
|
|
|
|
.pulse {
|
|
animation: pulse 2s infinite ease-in-out;
|
|
}
|
|
</style> |