687 lines
45 KiB
PHP
687 lines
45 KiB
PHP
<div class="min-h-screen">
|
|
@if(theme('homepage_layout', 'landing') === 'landing')
|
|
<!-- Landing Page Layout -->
|
|
|
|
<!-- Custom HTML Section -->
|
|
@if(theme('custom_homepage_html'))
|
|
<div class="custom-homepage-content">
|
|
{!! theme('custom_homepage_html') !!}
|
|
</div>
|
|
@endif
|
|
|
|
<!-- Hero Section with Background -->
|
|
<section class="relative isolate overflow-hidden bg-gradient-to-b from-background-primary via-background to-background-secondary/50 pt-18 pb-32 px-8">
|
|
@if(theme('background_image_url'))
|
|
<div class="background-image-layer"
|
|
style="position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
min-height: 100%;
|
|
background-image: url('{{ theme('background_image_url') }}');
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-attachment: scroll;
|
|
opacity: {{ theme('background_image_opacity', 30) / 100 }};
|
|
filter: blur({{ theme('background_image_blur', 5) }}px);
|
|
z-index: -2;
|
|
pointer-events: none;
|
|
-webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 75%);
|
|
mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 75%);
|
|
-webkit-mask-repeat: no-repeat;
|
|
mask-repeat: no-repeat;
|
|
-webkit-mask-position: center;
|
|
mask-position: center;">
|
|
</div>
|
|
@endif
|
|
|
|
<svg class="absolute inset-0 -z-10 h-full w-full stroke-primary/15 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)]" aria-hidden="true">
|
|
<defs>
|
|
<pattern id="grid-pattern" width="80" height="80" x="50%" y="-1" patternUnits="userSpaceOnUse">
|
|
<path d="M.5 80V.5H80" fill="none" />
|
|
</pattern>
|
|
</defs>
|
|
<rect width="100%" height="100%" strokeWidth="0" fill="url(#grid-pattern)" />
|
|
</svg>
|
|
|
|
<div class="mt-20 container mx-auto px-4 lg:px-8">
|
|
<div class="max-w-7xl lg:grid lg:grid-cols-12 lg:gap-x-8 lg:px-0">
|
|
<div class="lg:col-span-7 lg:px-0 lg:pt-4">
|
|
<div class="animate-fade-in-down mb-8">
|
|
<div class="inline-flex items-center gap-3 rounded-full bg-primary/10 border border-primary/20 px-5 py-2.5 backdrop-blur-sm">
|
|
<span class="relative flex h-2 w-2">
|
|
<span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-primary opacity-75"></span>
|
|
<span class="relative inline-flex rounded-full h-2 w-2 bg-primary"></span>
|
|
</span>
|
|
<span class="text-sm font-semibold text-primary">{{ theme('homepage_hero_badge', 'Now 50% faster deployment!') }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Hero Title -->
|
|
<div class="mb-8">
|
|
<h1 class="text-5xl font-bold tracking-tight sm:text-6xl lg:text-7xl animate-fade-in-up">
|
|
{{ theme('homepage_hero_title1', 'The Best') }}
|
|
</h1>
|
|
<h1 class="text-5xl font-bold tracking-tight sm:text-6xl lg:text-7xl animate-fade-in-up animation-delay-100">
|
|
<span class="bg-gradient-to-r from-primary to-primary bg-clip-text text-transparent animate-gradient-x">
|
|
{{ theme('homepage_hero_title2', 'Hosting') }}
|
|
</span>
|
|
</h1>
|
|
</div>
|
|
|
|
<!-- Hero Description -->
|
|
<div class="text-lg text-base/70 max-w-xl animate-fade-in-up animation-delay-200 leading-relaxed mb-10 prose dark:prose-invert">
|
|
{!! \Illuminate\Support\Str::markdown(theme('homepage_hero_desc', 'Experience next-gen game hosting with blazing-fast SSD performance, enterprise-grade security, and 24/7 expert support.')) !!}
|
|
</div>
|
|
|
|
<!-- CTA Buttons -->
|
|
<div class="flex flex-wrap gap-4 animate-fade-in-up animation-delay-300 mb-10">
|
|
<a href="#services" class="group inline-flex items-center gap-2 rounded-xl bg-primary px-8 py-4 font-semibold text-white shadow-lg hover:bg-primary/90 transition-all duration-300 hover:scale-105">
|
|
<x-ri-rocket-line class="h-5 w-5" />
|
|
<span>{{ theme('hero_cta_primary_text', 'Get Started') }}</span>
|
|
<x-ri-arrow-right-line class="h-5 w-5 group-hover:translate-x-1 transition-transform" />
|
|
</a>
|
|
<a href="#features" class="group inline-flex items-center gap-2 rounded-xl bg-secondary px-8 py-4 font-semibold text-white shadow-lg hover:bg-secondary/90 transition-all duration-300 hover:scale-105">
|
|
<x-ri-flashlight-line class="h-5 w-5" />
|
|
<span>{{ theme('hero_cta_secondary_text', 'Learn More') }}</span>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="flex flex-wrap items-center gap-4 text-sm text-gray-400 animate-fade-in-up animation-delay-400 mb-10">
|
|
@php
|
|
$badgeDefaults = ['30-Day Guarantee', 'Instant Setup', 'Secure Payments'];
|
|
@endphp
|
|
|
|
@for ($i = 1; $i <= 3; $i++)
|
|
<div class="flex items-center gap-2 bg-success/10 px-3 py-1.5 rounded-full border border-success/30 text-success">
|
|
<x-ri-check-line class="h-5 w-5 text-success" />
|
|
<span>{{ theme("hero_trust_badge_{$i}", $badgeDefaults[$i - 1]) }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Hero Image/Illustration -->
|
|
<div class="mt-16 sm:mt-24 lg:col-span-5 lg:mt-0">
|
|
<div class="relative mb-8">
|
|
@php
|
|
$heroImg = theme('homepage_hero_illustration_url') ?: 'https://pngimg.com/d/minecraft_PNG40.png';
|
|
$heroAlt = theme('homepage_hero_illustration_alt', 'Hero Illustration');
|
|
@endphp
|
|
|
|
<div class="absolute -inset-4 rounded-full bg-gradient-to-r from-primary/20 to-secondary/20 blur-2xl opacity-25 pointer-events-none"></div>
|
|
<img src="{{ $heroImg }}" alt="{{ $heroAlt }}" class="relative w-full h-auto object-contain animate-float" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="container mx-auto px-4 mt-16">
|
|
<div class="grid grid-cols-2 gap-6 lg:grid-cols-4">
|
|
<div class="group text-center p-6 rounded-2xl bg-gradient-to-br from-background-secondary to-background border border-neutral hover:border-success/50 transition-all duration-300 hover:scale-105">
|
|
<div class="inline-flex items-center justify-center w-14 h-14 rounded-2xl bg-success/10 text-success mb-4">
|
|
<x-ri-time-line class="h-7 w-7" />
|
|
</div>
|
|
<div class="text-3xl font-bold text-success mb-2">99.9%</div>
|
|
<div class="text-sm font-semibold text-color-base">{{ theme('stats_uptime_title', 'Uptime') }}</div>
|
|
<div class="text-xs text-color-muted mt-1">{{ theme('stats_uptime_subtitle', 'Guaranteed') }}</div>
|
|
</div>
|
|
|
|
<div class="group text-center p-6 rounded-2xl bg-gradient-to-br from-background-secondary to-background border border-neutral hover:border-primary/50 transition-all duration-300 hover:scale-105">
|
|
<div class="inline-flex items-center justify-center w-14 h-14 rounded-2xl bg-primary/10 text-primary mb-4">
|
|
<x-ri-customer-service-line class="h-7 w-7" />
|
|
</div>
|
|
<div class="text-3xl font-bold text-primary mb-2">24/7</div>
|
|
<div class="text-sm font-semibold text-color-base">{{ theme('stats_support_title', 'Support') }}</div>
|
|
<div class="text-xs text-color-muted mt-1">{{ theme('stats_support_subtitle', 'Always available') }}</div>
|
|
</div>
|
|
|
|
<div class="group text-center p-6 rounded-2xl bg-gradient-to-br from-background-secondary to-background border border-neutral hover:border-purple-500/50 transition-all duration-300 hover:scale-105">
|
|
<div class="inline-flex items-center justify-center w-14 h-14 rounded-2xl bg-purple-500/10 text-purple-500 mb-4">
|
|
<x-ri-user-heart-line class="h-7 w-7" />
|
|
</div>
|
|
<div class="text-3xl font-bold text-purple-500 mb-2">{{ number_format(\App\Models\User::count()) }}+</div>
|
|
<div class="text-sm font-semibold text-color-base">{{ theme('stats_users_title', 'Customers') }}</div>
|
|
<div class="text-xs text-color-muted mt-1">{{ theme('stats_users_subtitle', 'Worldwide') }}</div>
|
|
</div>
|
|
|
|
<div class="group text-center p-6 rounded-2xl bg-gradient-to-br from-background-secondary to-background border border-neutral hover:border-orange-500/50 transition-all duration-300 hover:scale-105">
|
|
<div class="inline-flex items-center justify-center w-14 h-14 rounded-2xl bg-orange-500/10 text-orange-500 mb-4">
|
|
<x-ri-server-line class="h-7 w-7" />
|
|
</div>
|
|
<div class="text-3xl font-bold text-orange-500 mb-2">{{ number_format(\App\Models\Service::where('status', 'active')->count()) }}+</div>
|
|
<div class="text-sm font-semibold text-color-base">{{ theme('stats_servers_title', 'Servers') }}</div>
|
|
<div class="text-xs text-color-muted mt-1">{{ theme('stats_servers_subtitle', 'Active now') }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Features Section -->
|
|
<section id="features" class="relative py-20 bg-gradient-to-b from-background-secondary/50 via-background to-background-secondary/30 px-8">
|
|
<div class="container mx-auto px-4">
|
|
<div class="text-center mb-16">
|
|
<h2 class="text-4xl font-bold text-color-base mb-4">
|
|
{{ theme('features_title', 'Powerful Features') }}
|
|
</h2>
|
|
<p class="text-lg text-color-muted max-w-2xl mx-auto">
|
|
{{ theme('features_subtitle', 'Everything you need to succeed') }}
|
|
</p>
|
|
</div>
|
|
|
|
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
|
|
<div class="group p-8 rounded-2xl bg-gradient-to-br from-primary/5 to-transparent border border-primary/20 hover:border-primary/40 transition-all duration-300 hover:translate-y-[-4px]">
|
|
<div class="inline-flex items-center justify-center w-12 h-12 rounded-xl bg-primary/10 text-primary mb-6">
|
|
<x-ri-shield-check-line class="h-6 w-6" />
|
|
</div>
|
|
<h3 class="text-xl font-bold text-color-base mb-3">{{ theme('feature_1_title', 'Military-Grade Security') }}</h3>
|
|
<p class="text-color-muted leading-relaxed">{{ theme('feature_1_desc', 'Advanced DDoS protection and encrypted connections keep your servers safe 24/7.') }}</p>
|
|
</div>
|
|
|
|
<div class="group p-8 rounded-2xl bg-gradient-to-br from-secondary/5 to-transparent border border-secondary/20 hover:border-secondary/40 transition-all duration-300 hover:translate-y-[-4px]">
|
|
<div class="inline-flex items-center justify-center w-12 h-12 rounded-xl bg-secondary/10 text-secondary mb-6">
|
|
<x-ri-dashboard-line class="h-6 w-6" />
|
|
</div>
|
|
<h3 class="text-xl font-bold text-color-base mb-3">{{ theme('feature_2_title', 'Smart Analytics') }}</h3>
|
|
<p class="text-color-muted leading-relaxed">{{ theme('feature_2_desc', 'Real-time monitoring and detailed insights help optimize your performance.') }}</p>
|
|
</div>
|
|
|
|
<div class="group p-8 rounded-2xl bg-gradient-to-br from-success/5 to-transparent border border-success/20 hover:border-success/40 transition-all duration-300 hover:translate-y-[-4px]">
|
|
<div class="inline-flex items-center justify-center w-12 h-12 rounded-xl bg-success/10 text-success mb-6">
|
|
<x-ri-flashlight-line class="h-6 w-6" />
|
|
</div>
|
|
<h3 class="text-xl font-bold text-color-base mb-3">{{ theme('feature_3_title', 'Lightning Setup') }}</h3>
|
|
<p class="text-color-muted leading-relaxed">{{ theme('feature_3_desc', 'Deploy servers in under 60 seconds with automated setup system.') }}</p>
|
|
</div>
|
|
|
|
<div class="group p-8 rounded-2xl bg-gradient-to-br from-warning/5 to-transparent border border-warning/20 hover:border-warning/40 transition-all duration-300 hover:translate-y-[-4px]">
|
|
<div class="inline-flex items-center justify-center w-12 h-12 rounded-xl bg-warning/10 text-warning mb-6">
|
|
<x-ri-cpu-line class="h-6 w-6" />
|
|
</div>
|
|
<h3 class="text-xl font-bold text-color-base mb-3">{{ theme('feature_4_title', 'Extreme Performance') }}</h3>
|
|
<p class="text-color-muted leading-relaxed">{{ theme('feature_4_desc', 'Premium NVMe SSD storage and high-frequency CPUs deliver zero-lag experience.') }}</p>
|
|
</div>
|
|
|
|
<div class="group p-8 rounded-2xl bg-gradient-to-br from-info/5 to-transparent border border-info/20 hover:border-info/40 transition-all duration-300 hover:translate-y-[-4px]">
|
|
<div class="inline-flex items-center justify-center w-12 h-12 rounded-xl bg-info/10 text-info mb-6">
|
|
<x-ri-global-line class="h-6 w-6" />
|
|
</div>
|
|
<h3 class="text-xl font-bold text-color-base mb-3">{{ theme('feature_5_title', 'Global Reach') }}</h3>
|
|
<p class="text-color-muted leading-relaxed">{{ theme('feature_5_desc', '15+ datacenter locations ensure ultra-low latency worldwide.') }}</p>
|
|
</div>
|
|
|
|
<div class="group p-8 rounded-2xl bg-gradient-to-br from-error/5 to-transparent border border-error/20 hover:border-error/40 transition-all duration-300 hover:translate-y-[-4px]">
|
|
<div class="inline-flex items-center justify-center w-12 h-12 rounded-xl bg-error/10 text-error mb-6">
|
|
<x-ri-line-chart-line class="h-6 w-6" />
|
|
</div>
|
|
<h3 class="text-xl font-bold text-color-base mb-3">{{ theme('feature_6_title', 'AI-Powered') }}</h3>
|
|
<p class="text-color-muted leading-relaxed">{{ theme('feature_6_desc', 'Machine learning algorithms continuously optimize server performance.') }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Services Section -->
|
|
<section id="services" class="relative py-20 bg-gradient-to-b from-background-secondary/30 via-background to-background/50 px-8">
|
|
<div class="container mx-auto px-4">
|
|
<div class="text-center mb-16">
|
|
<h2 class="text-4xl font-bold text-color-base mb-4">
|
|
{{ theme('services_title', 'Our Services') }}
|
|
</h2>
|
|
<p class="text-lg text-color-muted max-w-2xl mx-auto">
|
|
{{ theme('services_subtitle', 'Choose from our range of hosting solutions') }}
|
|
</p>
|
|
</div>
|
|
|
|
<div class="grid md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6">
|
|
@foreach ($categories as $category)
|
|
<div class="group relative rounded-2xl bg-background-secondary border border-neutral hover:border-primary/50 overflow-hidden transition-all duration-300 hover:scale-[1.02]">
|
|
@if ($category->image)
|
|
<div class="relative h-48 overflow-hidden">
|
|
<img src="{{ Storage::url($category->image) }}" alt="{{ $category->name }}" class="w-full h-full object-cover transition-transform duration-300 group-hover:scale-110">
|
|
<div class="absolute inset-0 bg-gradient-to-t from-background-secondary to-transparent opacity-60"></div>
|
|
</div>
|
|
@endif
|
|
|
|
<div class="p-6">
|
|
<h3 class="text-xl font-bold text-color-base mb-2 group-hover:text-primary transition-colors">
|
|
{{ $category->name }}
|
|
</h3>
|
|
|
|
@if(theme('show_category_description', true))
|
|
<div class="prose dark:prose-invert prose-sm text-color-muted mb-4 line-clamp-2">
|
|
{!! $category->description !!}
|
|
</div>
|
|
@endif
|
|
|
|
<a href="{{ route('category.show', ['category' => $category->slug]) }}" wire:navigate class="inline-flex items-center gap-2 text-primary font-semibold hover:gap-3 transition-all">
|
|
<span>{{ __('common.button.view_all') }}</span>
|
|
<x-ri-arrow-right-line class="h-4 w-4" />
|
|
</a>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Features Section -->
|
|
<div id="features" class="py-12 md:py-20">
|
|
<div class="container mx-auto px-4">
|
|
<div class="text-center mb-14 md:mb-20">
|
|
<h2 class="text-4xl md:text-5xl font-bold text-color-base mb-4 md:mb-6 animate-fade-in-up">
|
|
{{ theme('features_title', 'Why Choose Us?') }}
|
|
</h2>
|
|
<p class="text-xl text-color-muted max-w-3xl mx-auto animate-fade-in-up leading-relaxed">
|
|
{{ theme('features_subtitle', 'We\'ve built the most advanced game hosting platform with features
|
|
that give you the competitive edge') }}
|
|
</p>
|
|
</div>
|
|
|
|
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6 mb-8">
|
|
<!-- Security Feature -->
|
|
<div
|
|
class="bg-gradient-to-br from-background-secondary/60 to-background-secondary/30 border border-primary/30 hover:border-primary/50 p-5 rounded-xl transition-all duration-300 transform hover:scale-[1.02] hover:shadow-xl hover:shadow-primary/20 animate-fade-in-up">
|
|
<div class="flex items-center mb-6">
|
|
<div
|
|
class="bg-gradient-to-br from-primary/20 to-primary/10 text-primary p-3 rounded-xl mr-4 transition-colors hover:from-primary/30 hover:to-primary/20">
|
|
<x-ri-shield-check-line class="size-6" />
|
|
</div>
|
|
<h3 class="text-xl font-bold text-color-base">{{ theme('feature_1_title', 'Military-Grade
|
|
Security') }}</h3>
|
|
</div>
|
|
<p class="text-color-muted text-base leading-relaxed line-clamp-3">{{ theme('feature_1_desc', 'Advanced DDoS
|
|
protection, encrypted connections, and real-time threat monitoring keep your servers safe from
|
|
attacks 24/7.') }}</p>
|
|
</div>
|
|
|
|
<!-- Analytics Feature -->
|
|
<div
|
|
class="bg-gradient-to-br from-background-secondary/60 to-background-secondary/30 border border-secondary/30 hover:border-secondary/50 p-5 rounded-xl transition-all duration-300 transform hover:scale-[1.02] hover:shadow-xl hover:shadow-secondary/20 animate-fade-in-up animation-delay-100">
|
|
<div class="flex items-center mb-6">
|
|
<div
|
|
class="bg-gradient-to-br from-secondary/20 to-secondary/10 text-secondary p-3 rounded-xl mr-4 transition-colors hover:from-secondary/30 hover:to-secondary/20">
|
|
<x-ri-dashboard-line class="size-6" />
|
|
</div>
|
|
<h3 class="text-xl font-bold text-color-base">{{ theme('feature_2_title', 'Smart Analytics') }}
|
|
</h3>
|
|
</div>
|
|
<p class="text-color-muted text-base leading-relaxed line-clamp-3">{{ theme('feature_2_desc', 'Real-time
|
|
performance monitoring, player analytics, and detailed insights help you optimize your server
|
|
performance and player experience.') }}</p>
|
|
</div>
|
|
|
|
<!-- Setup Feature -->
|
|
<div
|
|
class="bg-gradient-to-br from-background-secondary/60 to-background-secondary/30 border border-success/30 hover:border-success/50 p-5 rounded-xl transition-all duration-300 transform hover:scale-[1.02] hover:shadow-xl hover:shadow-success/20 animate-fade-in-up animation-delay-200">
|
|
<div class="flex items-center mb-6">
|
|
<div
|
|
class="bg-gradient-to-br from-success/20 to-success/10 text-success p-3 rounded-xl mr-4 transition-colors hover:from-success/30 hover:to-success/20">
|
|
<x-ri-flashlight-line class="size-6" />
|
|
</div>
|
|
<h3 class="text-xl font-bold text-color-base">{{ theme('feature_3_title', 'Lightning Setup') }}
|
|
</h3>
|
|
</div>
|
|
<p class="text-color-muted text-base leading-relaxed line-clamp-3">{{ theme('feature_3_desc', 'Deploy your game
|
|
servers in under 60 seconds with our automated setup and instant configuration system. No
|
|
technical knowledge required.') }}</p>
|
|
</div>
|
|
|
|
<!-- Performance Feature -->
|
|
<div
|
|
class="bg-gradient-to-br from-background-secondary/60 to-background-secondary/30 border border-warning/30 hover:border-warning/50 p-5 rounded-xl transition-all duration-300 transform hover:scale-[1.02] hover:shadow-xl hover:shadow-warning/20 animate-fade-in-up animation-delay-300">
|
|
<div class="flex items-center mb-6">
|
|
<div
|
|
class="bg-gradient-to-br from-warning/20 to-warning/10 text-warning p-3 rounded-xl mr-4 transition-colors hover:from-warning/30 hover:to-warning/20">
|
|
<x-ri-cpu-line class="size-6" />
|
|
</div>
|
|
<h3 class="text-xl font-bold text-color-base">{{ theme('feature_4_title', 'Extreme
|
|
Performance') }}</h3>
|
|
</div>
|
|
<p class="text-color-muted text-base leading-relaxed line-clamp-3">{{ theme('feature_4_desc', 'Premium NVMe SSD
|
|
storage, high-frequency CPUs, and optimized network routing deliver zero-lag gaming experience
|
|
for your players.') }}</p>
|
|
</div>
|
|
|
|
<!-- Global Feature -->
|
|
<div
|
|
class="bg-gradient-to-br from-background-secondary/60 to-background-secondary/30 border border-info/30 hover:border-info/50 p-5 rounded-xl transition-all duration-300 transform hover:scale-[1.02] hover:shadow-xl hover:shadow-info/20 animate-fade-in-up animation-delay-400">
|
|
<div class="flex items-center mb-6">
|
|
<div
|
|
class="bg-gradient-to-br from-info/20 to-info/10 text-info p-3 rounded-xl mr-4 transition-colors hover:from-info/30 hover:to-info/20">
|
|
<x-ri-global-line class="size-6" />
|
|
</div>
|
|
<h3 class="text-xl font-bold text-color-base">{{ theme('feature_5_title', 'Global Reach') }}
|
|
</h3>
|
|
</div>
|
|
<p class="text-color-muted text-base leading-relaxed line-clamp-3">{{ theme('feature_5_desc', '15+ datacenter
|
|
locations across 6 continents ensure your players get ultra-low latency wherever they are in the
|
|
world.') }}</p>
|
|
</div>
|
|
|
|
<!-- AI Feature -->
|
|
<div
|
|
class="bg-gradient-to-br from-background-secondary/60 to-background-secondary/30 border border-error/30 hover:border-error/50 p-5 rounded-xl transition-all duration-300 transform hover:scale-[1.02] hover:shadow-xl hover:shadow-error/20 animate-fade-in-up animation-delay-500">
|
|
<div class="flex items-center mb-6">
|
|
<div
|
|
class="bg-gradient-to-br from-error/20 to-error/10 text-error p-3 rounded-xl mr-4 transition-colors hover:from-error/30 hover:to-error/20">
|
|
<x-ri-line-chart-line class="size-6" />
|
|
</div>
|
|
<h3 class="text-xl font-bold text-color-base">{{ theme('feature_6_title', 'AI-Powered
|
|
Optimization') }}</h3>
|
|
</div>
|
|
<p class="text-color-muted text-base leading-relaxed line-clamp-3">{{ theme('feature_6_desc', 'Machine learning
|
|
algorithms continuously optimize server performance and predict issues before they impact your
|
|
players.') }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--
|
|
|
|
<div class="py-20">
|
|
<div class="container mx-auto px-4">
|
|
<div class="text-center mb-16">
|
|
<h2 class="text-4xl md:text-5xl font-bold text-color-base mb-6">
|
|
{{ theme('testimonials_title', 'What Gamers Say') }}
|
|
</h2>
|
|
<p class="text-xl text-color-muted max-w-2xl mx-auto">
|
|
{{ theme('testimonials_subtitle', 'Join thousands of satisfied customers who\'ve made the switch to premium hosting') }}
|
|
</p>
|
|
</div>
|
|
|
|
<div class="grid md:grid-cols-3 gap-8">
|
|
|
|
<div class="bg-gradient-to-br from-background-secondary/80 to-background-secondary/40 backdrop-blur-sm border border-primary/20 p-8 rounded-2xl transform transition-all duration-300 hover:scale-105 hover:border-primary/40">
|
|
<div class="flex items-center mb-6">
|
|
<div class="w-12 h-12 bg-gradient-to-br from-primary to-primary/80 rounded-full flex items-center justify-center mr-4">
|
|
<span class="text-white font-bold">{{ substr(theme('testimonial_1_name', 'John Doe'), 0, 1) }}{{ substr(explode(' ', theme('testimonial_1_name', 'John Doe'))[1] ?? '', 0, 1) }}</span>
|
|
</div>
|
|
<div>
|
|
<h4 class="font-bold text-color-base">{{ theme('testimonial_1_name', 'John Doe') }}</h4>
|
|
<p class="text-color-muted text-sm">{{ theme('testimonial_1_role', 'Minecraft Server Admin') }}</p>
|
|
</div>
|
|
</div>
|
|
<p class="text-color-muted italic mb-4 text-lg">"{{ theme('testimonial_1_quote', 'Best hosting service I\'ve ever used. Zero downtime and lightning-fast support response!') }}"</p>
|
|
<div class="flex text-warning text-lg">
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="bg-gradient-to-br from-background-secondary/80 to-background-secondary/40 backdrop-blur-sm border border-secondary/20 p-8 rounded-2xl transform transition-all duration-300 hover:scale-105 hover:border-secondary/40">
|
|
<div class="flex items-center mb-6">
|
|
<div class="w-12 h-12 bg-gradient-to-br from-secondary to-secondary/80 rounded-full flex items-center justify-center mr-4">
|
|
<span class="text-white font-bold">{{ substr(theme('testimonial_2_name', 'Sarah Anderson'), 0, 1) }}{{ substr(explode(' ', theme('testimonial_2_name', 'Sarah Anderson'))[1] ?? '', 0, 1) }}</span>
|
|
</div>
|
|
<div>
|
|
<h4 class="font-bold text-color-base">{{ theme('testimonial_2_name', 'Sarah Anderson') }}</h4>
|
|
<p class="text-color-muted text-sm">{{ theme('testimonial_2_role', 'Gaming Community Leader') }}</p>
|
|
</div>
|
|
</div>
|
|
<p class="text-color-muted italic mb-4 text-lg">"{{ theme('testimonial_2_quote', 'The performance boost was incredible. My players love the zero-lag experience!') }}"</p>
|
|
<div class="flex text-warning text-lg">
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="bg-gradient-to-br from-background-secondary/80 to-background-secondary/40 backdrop-blur-sm border border-success/20 p-8 rounded-2xl transform transition-all duration-300 hover:scale-105 hover:border-success/40">
|
|
<div class="flex items-center mb-6">
|
|
<div class="w-12 h-12 bg-gradient-to-br from-success to-success/80 rounded-full flex items-center justify-center mr-4">
|
|
<span class="text-white font-bold">{{ substr(theme('testimonial_3_name', 'Mike Rodriguez'), 0, 1) }}{{ substr(explode(' ', theme('testimonial_3_name', 'Mike Rodriguez'))[1] ?? '', 0, 1) }}</span>
|
|
</div>
|
|
<div>
|
|
<h4 class="font-bold text-color-base">{{ theme('testimonial_3_name', 'Sarah Anderson') }}</h4>
|
|
<p class="text-color-muted text-sm">{{ theme('testimonial_3_role', 'Gaming Community Leader') }}</p>
|
|
</div>
|
|
</div>
|
|
<p class="text-color-muted italic mb-4 text-lg">"{{ theme('testimonial_3_quote', 'Professional grade hosting at an affordable price. Couldn\'t ask for more!') }}"</p>
|
|
<div class="flex text-warning text-lg">
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
<x-ri-star-fill class="size-5 text-warning" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-->
|
|
|
|
|
|
|
|
|
|
<!-- CTA Section -->
|
|
<div class="py-12 md:py-16 bg-gradient-to-br from-background-secondary/50 to-background-secondary/30 rounded-2xl">
|
|
<div class="container mx-auto px-4 text-center">
|
|
<div class="max-w-3xl mx-auto">
|
|
<h2 class="text-3xl md:text-4xl font-bold text-color-base mb-4 md:mb-6 animate-fade-in-up">
|
|
{{ theme('cta_title', 'Ready to Get Started?') }}
|
|
</h2>
|
|
<p class="text-lg md:text-xl text-color-muted mb-8 animate-fade-in-up">
|
|
{{ theme('cta_subtitle', 'Join thousands of satisfied customers who trust our platform for their
|
|
game hosting needs') }}
|
|
</p>
|
|
|
|
<div class="flex flex-col sm:flex-row gap-4 justify-center items-center animate-fade-in-up">
|
|
<a href="#services"
|
|
class="group bg-gradient-to-r from-primary to-primary/80 hover:from-primary/90 hover:to-primary text-white px-6 py-3 rounded-lg font-semibold transition-all duration-300 transform hover:scale-[1.02] shadow-lg hover:shadow-xl">
|
|
<div class="flex items-center gap-3">
|
|
<x-ri-price-tag-3-line class="size-5 group-hover:scale-110 transition-transform" />
|
|
<span>{{ theme('cta_primary_text', 'View Pricing') }}</span>
|
|
<x-ri-arrow-right-line class="size-5 group-hover:translate-x-1 transition-transform" />
|
|
</div>
|
|
</a>
|
|
<a href="{{ theme('help_link', 'https://help.yourserver.com') }}"
|
|
class="group bg-gradient-to-r from-background-secondary to-background-secondary/70 border border-neutral hover:border-primary/30 text-color-base px-6 py-3 rounded-lg font-semibold transition-all duration-300 transform hover:scale-[1.02] shadow-lg hover:shadow-xl">
|
|
<div class="flex items-center gap-3">
|
|
<x-ri-mail-line class="size-5 group-hover:scale-110 transition-transform" />
|
|
<span>{{ theme('cta_secondary_text', 'Chat Support') }}</span>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@else
|
|
<!-- Portal Page Layout -->
|
|
|
|
<!-- Custom HTML Section -->
|
|
@if(theme('custom_homepage_html'))
|
|
<div class="custom-homepage-content">
|
|
{!! theme('custom_homepage_html') !!}
|
|
</div>
|
|
@endif
|
|
|
|
<!-- Compact Hero Section -->
|
|
<section class="mt-20 relative py-16 border-b border-neutral">
|
|
<div class="container mx-auto px-4">
|
|
<div class="max-w-4xl mx-auto text-center">
|
|
<div class="inline-flex items-center gap-2 bg-primary/10 border border-primary/20 rounded-full px-4 py-2 mb-6">
|
|
<span class="relative flex h-2 w-2">
|
|
<span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-primary opacity-75"></span>
|
|
<span class="relative inline-flex rounded-full h-2 w-2 bg-primary"></span>
|
|
</span>
|
|
<span class="text-sm font-semibold text-primary">{{ theme('homepage_hero_badge', '🚀 Welcome!') }}</span>
|
|
</div>
|
|
|
|
<h1 class="text-4xl md:text-5xl font-bold text-color-base mb-4">
|
|
{{ theme('homepage_hero_title1', 'The Best') }}
|
|
<span class="bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">
|
|
{{ theme('homepage_hero_title2', 'Hosting') }}
|
|
</span>
|
|
</h1>
|
|
|
|
<p class="text-lg text-color-muted mb-8">
|
|
{!! \Illuminate\Support\Str::markdown(theme('homepage_hero_desc', 'Experience next-gen game hosting with blazing-fast SSD performance, enterprise-grade security, and 24/7 expert support.')) !!}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Quick Actions Portal -->
|
|
<section class="py-12 bg-background">
|
|
<div class="container mx-auto px-4">
|
|
<div class="grid grid-cols-2 md:grid-cols-4 gap-4">
|
|
<!-- Buy Server -->
|
|
<a href="{{ theme('buy_server_link', '#services') }}" class="group p-6 rounded-xl bg-gradient-to-br from-primary to-primary/80 text-white hover:shadow-xl hover:scale-105 transition-all duration-300">
|
|
<div class="w-12 h-12 rounded-lg bg-white/20 flex items-center justify-center mb-4">
|
|
<x-ri-server-fill class="h-6 w-6" />
|
|
</div>
|
|
<h3 class="font-bold text-lg mb-1">{{ theme('buy_server_title', 'Buy Server') }}</h3>
|
|
<p class="text-sm text-white/80">{{ theme('buy_server_subtitle', 'Get started') }}</p>
|
|
</a>
|
|
|
|
<!-- Help/Support -->
|
|
<a href="{{ theme('help_link', '#') }}" target="_blank" class="group p-6 rounded-xl bg-gradient-to-br from-purple-500 to-purple-600 text-white hover:shadow-xl hover:scale-105 transition-all duration-300">
|
|
<div class="w-12 h-12 rounded-lg bg-white/20 flex items-center justify-center mb-4">
|
|
<x-ri-customer-service-line class="h-6 w-6" />
|
|
</div>
|
|
<h3 class="font-bold text-lg mb-1">{{ theme('help_title', 'Support') }}</h3>
|
|
<p class="text-sm text-white/80">{{ theme('help_subtitle', '24/7 Help') }}</p>
|
|
</a>
|
|
|
|
<!-- Login/Dashboard -->
|
|
@guest
|
|
<a href="{{ route('login') }}" class="group p-6 rounded-xl bg-gradient-to-br from-blue-500 to-blue-600 text-white hover:shadow-xl hover:scale-105 transition-all duration-300">
|
|
<div class="w-12 h-12 rounded-lg bg-white/20 flex items-center justify-center mb-4">
|
|
<x-ri-login-box-line class="h-6 w-6" />
|
|
</div>
|
|
<h3 class="font-bold text-lg mb-1">{{ theme('login_title', 'Login') }}</h3>
|
|
<p class="text-sm text-white/80">{{ theme('login_subtitle', 'Access Panel') }}</p>
|
|
</a>
|
|
@else
|
|
<a href="{{ route('dashboard') }}" class="group p-6 rounded-xl bg-gradient-to-br from-blue-500 to-blue-600 text-white hover:shadow-xl hover:scale-105 transition-all duration-300">
|
|
<div class="w-12 h-12 rounded-lg bg-white/20 flex items-center justify-center mb-4">
|
|
<x-ri-dashboard-fill class="h-6 w-6" />
|
|
</div>
|
|
<h3 class="font-bold text-lg mb-1">{{ theme('dashboard_title', 'Dashboard') }}</h3>
|
|
<p class="text-sm text-white/80">{{ theme('dashboard_subtitle', 'Manage') }}</p>
|
|
</a>
|
|
@endguest
|
|
|
|
<!-- Documentation -->
|
|
<a href="{{ theme('docs_link', '#') }}" target="_blank" class="group p-6 rounded-xl bg-gradient-to-br from-emerald-500 to-emerald-600 text-white hover:shadow-xl hover:scale-105 transition-all duration-300">
|
|
<div class="w-12 h-12 rounded-lg bg-white/20 flex items-center justify-center mb-4">
|
|
<x-ri-book-open-line class="h-6 w-6" />
|
|
</div>
|
|
<h3 class="font-bold text-lg mb-1">{{ theme('docs_title', 'Docs') }}</h3>
|
|
<p class="text-sm text-white/80">{{ theme('docs_subtitle', 'Learn more') }}</p>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Stats Compact -->
|
|
<section class="py-12 bg-background-secondary/50">
|
|
<div class="container mx-auto px-4">
|
|
<div class="grid grid-cols-2 md:grid-cols-4 gap-6">
|
|
<div class="text-center">
|
|
<div class="text-3xl font-bold text-success mb-1">99.9%</div>
|
|
<div class="text-sm text-color-muted">{{ theme('stats_uptime_title', 'Uptime') }}</div>
|
|
</div>
|
|
<div class="text-center">
|
|
<div class="text-3xl font-bold text-primary mb-1">24/7</div>
|
|
<div class="text-sm text-color-muted">{{ theme('stats_support_title', 'Support') }}</div>
|
|
</div>
|
|
<div class="text-center">
|
|
<div class="text-3xl font-bold text-purple-500 mb-1">{{ number_format(\App\Models\User::count()) }}+</div>
|
|
<div class="text-sm text-color-muted">{{ theme('stats_users_title', 'Users') }}</div>
|
|
</div>
|
|
<div class="text-center">
|
|
<div class="text-3xl font-bold text-orange-500 mb-1">{{ number_format(\App\Models\Service::where('status', 'active')->count()) }}+</div>
|
|
<div class="text-sm text-color-muted">{{ theme('stats_servers_title', 'Servers') }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Services Grid (Portal Style) -->
|
|
<section id="services" class="py-16 bg-background">
|
|
<div class="container mx-auto px-4">
|
|
<div class="mb-12">
|
|
<h2 class="text-3xl font-bold text-color-base mb-2">
|
|
{{ theme('services_title', 'Our Services') }}
|
|
</h2>
|
|
<p class="text-color-muted">
|
|
{{ theme('services_subtitle', 'Select a service to get started') }}
|
|
</p>
|
|
</div>
|
|
|
|
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
|
|
@foreach ($categories as $category)
|
|
<a href="{{ route('category.show', ['category' => $category->slug]) }}" wire:navigate class="group block p-6 rounded-xl bg-background-secondary border border-neutral hover:border-primary/50 hover:shadow-lg transition-all duration-300">
|
|
@if ($category->image)
|
|
<div class="w-16 h-16 rounded-lg overflow-hidden mb-4">
|
|
<img src="{{ Storage::url($category->image) }}" alt="{{ $category->name }}" class="w-full h-full object-cover">
|
|
</div>
|
|
@else
|
|
<div class="w-16 h-16 rounded-lg bg-primary/10 flex items-center justify-center mb-4">
|
|
<x-ri-server-line class="h-8 w-8 text-primary" />
|
|
</div>
|
|
@endif
|
|
|
|
<h3 class="text-lg font-bold text-color-base mb-2 group-hover:text-primary transition-colors">
|
|
{{ $category->name }}
|
|
</h3>
|
|
|
|
@if(theme('show_category_description', true))
|
|
<div class="prose dark:prose-invert prose-sm text-color-muted mb-3 line-clamp-2">
|
|
{!! $category->description !!}
|
|
</div>
|
|
@endif
|
|
|
|
<div class="flex items-center text-primary text-sm font-semibold">
|
|
<span>{{ __('common.button.view_all') }}</span>
|
|
<x-ri-arrow-right-line class="h-4 w-4 ml-1 group-hover:translate-x-1 transition-transform" />
|
|
</div>
|
|
</a>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- CTA Compact -->
|
|
<section class="py-16 bg-gradient-to-r from-primary/10 to-secondary/10">
|
|
<div class="container mx-auto px-4">
|
|
<div class="max-w-xl mx-auto text-center">
|
|
<h2 class="text-3xl font-bold mb-4">
|
|
<span class="bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">
|
|
{{ theme('cta_title', 'Ready to Start?') }}
|
|
</span>
|
|
</h2>
|
|
<p class="text-color-muted mb-8">
|
|
{{ theme('cta_subtitle', 'Join thousands of satisfied customers today') }}
|
|
</p>
|
|
<div class="flex gap-4 justify-center">
|
|
<a href="#services" class="inline-flex items-center gap-2 rounded-xl bg-primary px-6 py-3 text-sm font-semibold text-white hover:bg-primary/90 transition-all">
|
|
<span>{{ theme('cta_primary_text', 'Get Started') }}</span>
|
|
<x-ri-arrow-right-line class="h-4 w-4" />
|
|
</a>
|
|
<a href="{{ theme('help_link', '#') }}" class="inline-flex items-center gap-2 rounded-xl bg-background-secondary border border-neutral px-6 py-3 text-sm font-semibold text-color-base hover:border-primary/50 transition-all">
|
|
<span>{{ theme('cta_secondary_text', 'Learn More') }}</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
@endif
|
|
|
|
<!-- Hook Section -->
|
|
<div class="container mx-auto my-12 px-10">
|
|
{!! hook('pages.home') !!}
|
|
</div>
|
|
</div>
|