280 lines
17 KiB
PHP
280 lines
17 KiB
PHP
@extends('web.layouts.web-master')
|
|
|
|
@section('title', 'API & Integrationen - Business Portal 24')
|
|
|
|
@section('content')
|
|
|
|
<main class="min-h-screen flex flex-col bg-white dark:bg-zinc-950 transition-colors duration-200">
|
|
<!-- Burger Menu Component -->
|
|
<livewire:web.burger-menu />
|
|
|
|
<!-- Header Component -->
|
|
<livewire:web.header />
|
|
|
|
<!-- Hero Section -->
|
|
<section class="relative overflow-hidden text-white py-20 animate-fade-in"
|
|
style="background: var(--gradient-hero);">
|
|
<div class="container mx-auto px-4">
|
|
<div class="max-w-3xl mx-auto text-center">
|
|
<h1 class="text-4xl md:text-5xl font-bold mb-6 animate-fade-in-up">
|
|
API & Integrationen
|
|
</h1>
|
|
<p class="text-xl text-white/90 leading-relaxed animate-fade-in-up animation-delay-200">
|
|
Integrieren Sie Business Portal nahtlos in Ihre bestehenden Systeme und Workflows
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<!-- Decorative Pattern -->
|
|
<div class="absolute top-0 right-0 opacity-10">
|
|
<svg width="404" height="384" fill="none" viewBox="0 0 404 384">
|
|
<defs>
|
|
<pattern id="pattern-hero-api" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse">
|
|
<rect x="0" y="0" width="4" height="4" fill="currentColor"/>
|
|
</pattern>
|
|
</defs>
|
|
<rect width="404" height="384" fill="url(#pattern-hero-api)"/>
|
|
</svg>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- API Overview Section -->
|
|
<section class="py-16 bg-white dark:bg-zinc-950 transition-colors duration-200">
|
|
<div class="container mx-auto px-4">
|
|
<div class="max-w-4xl mx-auto">
|
|
<div class="text-center mb-12">
|
|
<h2 class="text-3xl font-bold text-zinc-900 dark:text-zinc-100 mb-4">
|
|
Leistungsstarke REST API
|
|
</h2>
|
|
<p class="text-lg text-zinc-600 dark:text-zinc-400">
|
|
Automatisieren Sie Ihre Presseveröffentlichungen und integrieren Sie unsere Dienste
|
|
</p>
|
|
</div>
|
|
|
|
<div class="bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200 dark:border-zinc-800 p-8 md:p-12 transition-colors duration-200">
|
|
<p class="text-lg text-zinc-900 dark:text-zinc-100 leading-relaxed mb-6">
|
|
Unsere RESTful API ermöglicht es Ihnen, Pressemitteilungen programmatisch zu veröffentlichen, zu verwalten und abzurufen. Perfekt für Unternehmen mit hohem Veröffentlichungsvolumen oder bestehenden Content-Management-Systemen.
|
|
</p>
|
|
<p class="text-lg text-zinc-900 dark:text-zinc-100 leading-relaxed">
|
|
Die API ist vollständig dokumentiert und unterstützt moderne Authentifizierungsmethoden sowie Webhooks für Echtzeit-Benachrichtigungen.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- API Features Section -->
|
|
<section class="py-16 bg-zinc-50/50 dark:bg-zinc-900/50 transition-colors duration-200">
|
|
<div class="container mx-auto px-4">
|
|
<div class="text-center mb-12">
|
|
<h2 class="text-3xl font-bold text-zinc-900 dark:text-zinc-100 mb-4">
|
|
API Features
|
|
</h2>
|
|
<p class="text-zinc-600 dark:text-zinc-400 max-w-2xl mx-auto">
|
|
Alles, was Sie für eine nahtlose Integration benötigen
|
|
</p>
|
|
</div>
|
|
|
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto">
|
|
<!-- Feature 1 -->
|
|
<div class="bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200 dark:border-zinc-800 p-6 hover:shadow-lg transition-all">
|
|
<div class="w-16 h-16 bg-gradient-to-br from-[var(--color-primary)]/10 to-[var(--color-secondary)]/10 rounded-full flex items-center justify-center mb-4">
|
|
<svg class="h-8 w-8 text-[var(--color-primary)]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path>
|
|
</svg>
|
|
</div>
|
|
<h3 class="font-semibold text-zinc-900 dark:text-zinc-100 mb-3">
|
|
RESTful API
|
|
</h3>
|
|
<p class="text-sm text-zinc-600 dark:text-zinc-400">
|
|
Moderne REST-Architektur mit JSON-Responses für einfache Integration in jede Programmiersprache.
|
|
</p>
|
|
</div>
|
|
|
|
<!-- Feature 2 -->
|
|
<div class="bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200 dark:border-zinc-800 p-6 hover:shadow-lg transition-all">
|
|
<div class="w-16 h-16 bg-gradient-to-br from-[var(--color-primary)]/10 to-[var(--color-secondary)]/10 rounded-full flex items-center justify-center mb-4">
|
|
<svg class="h-8 w-8 text-[var(--color-primary)]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path>
|
|
</svg>
|
|
</div>
|
|
<h3 class="font-semibold text-zinc-900 dark:text-zinc-100 mb-3">
|
|
OAuth 2.0
|
|
</h3>
|
|
<p class="text-sm text-zinc-600 dark:text-zinc-400">
|
|
Sichere Authentifizierung mit OAuth 2.0 und API-Tokens für maximale Sicherheit.
|
|
</p>
|
|
</div>
|
|
|
|
<!-- Feature 3 -->
|
|
<div class="bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200 dark:border-zinc-800 p-6 hover:shadow-lg transition-all">
|
|
<div class="w-16 h-16 bg-gradient-to-br from-[var(--color-primary)]/10 to-[var(--color-secondary)]/10 rounded-full flex items-center justify-center mb-4">
|
|
<svg class="h-8 w-8 text-[var(--color-primary)]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<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>
|
|
</div>
|
|
<h3 class="font-semibold text-zinc-900 dark:text-zinc-100 mb-3">
|
|
Webhooks
|
|
</h3>
|
|
<p class="text-sm text-zinc-600 dark:text-zinc-400">
|
|
Erhalten Sie Echtzeit-Benachrichtigungen über Events wie Veröffentlichungen oder Statusänderungen.
|
|
</p>
|
|
</div>
|
|
|
|
<!-- Feature 4 -->
|
|
<div class="bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200 dark:border-zinc-800 p-6 hover:shadow-lg transition-all">
|
|
<div class="w-16 h-16 bg-gradient-to-br from-[var(--color-primary)]/10 to-[var(--color-secondary)]/10 rounded-full flex items-center justify-center mb-4">
|
|
<svg class="h-8 w-8 text-[var(--color-primary)]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"></path>
|
|
</svg>
|
|
</div>
|
|
<h3 class="font-semibold text-zinc-900 dark:text-zinc-100 mb-3">
|
|
Dokumentation
|
|
</h3>
|
|
<p class="text-sm text-zinc-600 dark:text-zinc-400">
|
|
Umfassende API-Dokumentation mit Code-Beispielen in verschiedenen Sprachen.
|
|
</p>
|
|
</div>
|
|
|
|
<!-- Feature 5 -->
|
|
<div class="bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200 dark:border-zinc-800 p-6 hover:shadow-lg transition-all">
|
|
<div class="w-16 h-16 bg-gradient-to-br from-[var(--color-primary)]/10 to-[var(--color-secondary)]/10 rounded-full flex items-center justify-center mb-4">
|
|
<svg class="h-8 w-8 text-[var(--color-primary)]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
|
|
</svg>
|
|
</div>
|
|
<h3 class="font-semibold text-zinc-900 dark:text-zinc-100 mb-3">
|
|
Rate Limiting
|
|
</h3>
|
|
<p class="text-sm text-zinc-600 dark:text-zinc-400">
|
|
Faire Rate Limits mit klaren Headern und automatischer Skalierung bei Bedarf.
|
|
</p>
|
|
</div>
|
|
|
|
<!-- Feature 6 -->
|
|
<div class="bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200 dark:border-zinc-800 p-6 hover:shadow-lg transition-all">
|
|
<div class="w-16 h-16 bg-gradient-to-br from-[var(--color-primary)]/10 to-[var(--color-secondary)]/10 rounded-full flex items-center justify-center mb-4">
|
|
<svg class="h-8 w-8 text-[var(--color-primary)]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"></path>
|
|
</svg>
|
|
</div>
|
|
<h3 class="font-semibold text-zinc-900 dark:text-zinc-100 mb-3">
|
|
SDKs
|
|
</h3>
|
|
<p class="text-sm text-zinc-600 dark:text-zinc-400">
|
|
Offizielle SDKs für PHP, JavaScript, Python und weitere Sprachen verfügbar.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Code Example Section -->
|
|
<section class="py-16 bg-white dark:bg-zinc-950 transition-colors duration-200">
|
|
<div class="container mx-auto px-4">
|
|
<div class="max-w-4xl mx-auto">
|
|
<div class="text-center mb-12">
|
|
<h2 class="text-3xl font-bold text-zinc-900 dark:text-zinc-100 mb-4">
|
|
Schneller Einstieg
|
|
</h2>
|
|
<p class="text-zinc-600 dark:text-zinc-400">
|
|
Veröffentlichen Sie Ihre erste Pressemitteilung in wenigen Zeilen Code
|
|
</p>
|
|
</div>
|
|
|
|
<div class="bg-zinc-900 dark:bg-zinc-950 rounded-xl border border-zinc-800 p-6 overflow-x-auto">
|
|
<div class="text-sm text-zinc-400 mb-4">// Example: Pressemitteilung veröffentlichen</div>
|
|
<pre class="text-green-400 font-mono text-sm"><code>curl -X POST https://api.businessportal.de/v1/releases \
|
|
-H "Authorization: Bearer YOUR_API_TOKEN" \
|
|
-H "Content-Type: application/json" \
|
|
-d '{
|
|
"title": "Neue Produktankündigung",
|
|
"content": "Unser neues Produkt...",
|
|
"category": "wirtschaft",
|
|
"publish_at": "2025-01-15T10:00:00Z"
|
|
}'</code></pre>
|
|
</div>
|
|
|
|
<div class="mt-8 text-center">
|
|
<a href="#" class="inline-flex items-center justify-center px-6 py-3 text-sm font-medium text-white rounded-lg shadow-md hover:shadow-lg transition-all" style="background: var(--gradient-hero);">
|
|
Zur vollständigen Dokumentation
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Integrations Section -->
|
|
<section class="py-16 bg-zinc-50/50 dark:bg-zinc-900/50 transition-colors duration-200">
|
|
<div class="container mx-auto px-4">
|
|
<div class="text-center mb-12">
|
|
<h2 class="text-3xl font-bold text-zinc-900 dark:text-zinc-100 mb-4">
|
|
Native Integrationen
|
|
</h2>
|
|
<p class="text-zinc-600 dark:text-zinc-400 max-w-2xl mx-auto">
|
|
Verbinden Sie Business Portal mit Ihren Lieblings-Tools
|
|
</p>
|
|
</div>
|
|
|
|
<div class="grid grid-cols-2 md:grid-cols-4 gap-8 max-w-4xl mx-auto">
|
|
<!-- Integration logos would go here -->
|
|
<div class="bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200 dark:border-zinc-800 p-6 flex items-center justify-center hover:shadow-lg transition-all">
|
|
<span class="text-zinc-600 dark:text-zinc-400 font-semibold">WordPress</span>
|
|
</div>
|
|
<div class="bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200 dark:border-zinc-800 p-6 flex items-center justify-center hover:shadow-lg transition-all">
|
|
<span class="text-zinc-600 dark:text-zinc-400 font-semibold">Zapier</span>
|
|
</div>
|
|
<div class="bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200 dark:border-zinc-800 p-6 flex items-center justify-center hover:shadow-lg transition-all">
|
|
<span class="text-zinc-600 dark:text-zinc-400 font-semibold">Slack</span>
|
|
</div>
|
|
<div class="bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200 dark:border-zinc-800 p-6 flex items-center justify-center hover:shadow-lg transition-all">
|
|
<span class="text-zinc-600 dark:text-zinc-400 font-semibold">HubSpot</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- CTA Section -->
|
|
<section class="py-16 text-white" style="background: var(--gradient-hero);">
|
|
<div class="container mx-auto px-4 text-center">
|
|
<div class="flex justify-center mb-6">
|
|
<svg class="h-16 w-16" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path>
|
|
</svg>
|
|
</div>
|
|
<h2 class="text-3xl font-bold mb-4">
|
|
Starten Sie mit der API
|
|
</h2>
|
|
<p class="text-xl text-white/90 mb-8 max-w-2xl mx-auto">
|
|
API-Zugang ist ab dem Professional-Tarif verfügbar
|
|
</p>
|
|
<div class="flex gap-4 justify-center">
|
|
<a href="/preise" class="inline-flex items-center justify-center px-8 py-4 text-sm font-medium bg-white text-[var(--color-primary)] hover:bg-zinc-100 rounded-lg shadow-md hover:shadow-lg transition-all">
|
|
Preise ansehen
|
|
</a>
|
|
<a href="#" class="inline-flex items-center justify-center px-8 py-4 text-sm font-medium text-white border-2 border-white hover:bg-white/10 rounded-lg transition-all">
|
|
Dokumentation
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Footer Component -->
|
|
<livewire:web.footer />
|
|
</main>
|
|
|
|
@endsection
|
|
|
|
@push('styles')
|
|
<style>
|
|
/* Domain-spezifische Color-Variablen für Inline-Styles */
|
|
:root {
|
|
--color-primary: {{ $domainConfig['color_scheme']['primary'] ?? '#cf3628' }};
|
|
--color-secondary: {{ $domainConfig['color_scheme']['secondary'] ?? '#f0834a' }};
|
|
}
|
|
|
|
/* Alpine.js Cloak */
|
|
[x-cloak] {
|
|
display: none !important;
|
|
}
|
|
</style>
|
|
@endpush
|