287 lines
37 KiB
PHP
287 lines
37 KiB
PHP
<?php
|
||
|
||
namespace Database\Seeders;
|
||
|
||
use App\Models\BlogAuthor;
|
||
use App\Models\BlogCategory;
|
||
use App\Models\BlogPost;
|
||
use Illuminate\Database\Seeder;
|
||
use Illuminate\Support\Facades\DB;
|
||
|
||
class BlogPostSeeder extends Seeder
|
||
{
|
||
/**
|
||
* Run the database seeds.
|
||
*/
|
||
public function run(): void
|
||
{
|
||
// Delete all existing blog posts
|
||
DB::table('blog_posts')->delete();
|
||
|
||
// BlogCategory "Blog" erstellen
|
||
$blogCategory = BlogCategory::firstOrCreate(
|
||
['slug' => 'blog'],
|
||
[
|
||
'name' => json_encode([
|
||
'de' => 'Blog',
|
||
'en' => 'Blog'
|
||
]),
|
||
'description' => json_encode([
|
||
'de' => 'Artikel und Leitfäden zu Hochzeitsplanung und Fotografie',
|
||
'en' => 'Articles and guides about wedding planning and photography'
|
||
]),
|
||
'is_visible' => true,
|
||
]
|
||
);
|
||
|
||
// BlogAuthor "Sören" erstellen
|
||
$author = BlogAuthor::firstOrCreate(
|
||
['email' => 'soeren@sebfoto.de'],
|
||
[
|
||
'name' => 'Sören',
|
||
'bio' => 'Experte für Hochzeitsfotografie und Event-Planung',
|
||
]
|
||
);
|
||
|
||
// Artikel-Daten
|
||
$articles = [
|
||
[
|
||
'slug' => '10-kreative-fotoaufgaben-fuer-eure-hochzeit',
|
||
'de' => [
|
||
'title' => '10 kreative Fotoaufgaben für eure Hochzeit – Ideen, die Spaß machen und Emotionen wecken',
|
||
'excerpt' => 'Jede Hochzeit erzählt ihre eigene Geschichte – aber oft fehlen genau die Fotos, die das echte Gefühl des Tages zeigen: das spontane Lachen, die liebevollen Blicke, die kleinen Missgeschicke, die später zu euren Lieblingsmomenten werden. Die Lösung: **Fotoaufgaben für Gäste!**',
|
||
'content' => 'Jede Hochzeit erzählt ihre eigene Geschichte – aber oft fehlen genau die Fotos, die das echte Gefühl des Tages zeigen: das spontane Lachen, die liebevollen Blicke, die kleinen Missgeschicke, die später zu euren Lieblingsmomenten werden. Die Lösung: **Fotoaufgaben für Gäste!**
|
||
|
||
Mit etwas Planung und Humor verwandelt ihr euer Fest in ein interaktives Foto-Abenteuer. Eure Gäste werden zu aktiven Mitgestaltern – und ihr bekommt eine Vielfalt an Bildern, die kein Profi allein hätte einfangen können.
|
||
In diesem Artikel findest du 10 kreative Aufgaben, praktische Tipps zur Umsetzung und erfährst, wie **unsere Fotospiel App** das Ganze kinderleicht macht.',
|
||
'meta_title' => '10 kreative Fotoaufgaben für eure Hochzeit – Ideen, die Spaß machen und Emotionen wecken',
|
||
'meta_description' => 'Jede Hochzeit erzählt ihre eigene Geschichte – aber oft fehlen genau die Fotos, die das echte Gefühl des Tages zeigen: das spontane Lachen, die liebevollen Blicke, die kleinen Missgeschicke, die später zu euren Lieblingsmomenten werden. Die Lösung: **Fotoaufgaben für Gäste!**',
|
||
],
|
||
'en' => [
|
||
'title' => '10 Creative Photo Tasks for Your Wedding – Fun Ideas That Evoke Emotions',
|
||
'excerpt' => 'Every wedding tells its own story – but often the very photos that show the real feeling of the day are missing: the spontaneous laughter, the loving glances, the small mishaps that later become your favorite moments. The solution: **Photo tasks for guests!**',
|
||
'content' => 'Every wedding tells its own story – but often the very photos that show the real feeling of the day are missing: the spontaneous laughter, the loving glances, the small mishaps that later become your favorite moments. The solution: **Photo tasks for guests!**
|
||
|
||
With a little planning and humor, you can turn your celebration into an interactive photo adventure. Your guests become active co-creators - and you get a variety of images that no professional could have captured alone.
|
||
In this article, you will find 10 creative tasks, practical tips for implementation, and learn how **our photo game app** makes the whole thing child\'s play.',
|
||
'meta_title' => '10 Creative Photo Tasks for Your Wedding – Fun Ideas That Evoke Emotions',
|
||
'meta_description' => 'Every wedding tells its own story – but often the very photos that show the real feeling of the day are missing: the spontaneous laughter, the loving glances, the small mishaps that later become your favorite moments. The solution: **Photo tasks for guests!**',
|
||
],
|
||
],
|
||
[
|
||
'slug' => 'datenschutz-bei-eventfotos',
|
||
'de' => [
|
||
'title' => 'Datenschutz bei Eventfotos – Was du wissen musst (verständlich erklärt)',
|
||
'excerpt' => 'Ein rauschendes Fest, fröhliche Menschen, unzählige Kameras – und schon schwebt die Frage im Raum: **Darf man das eigentlich alles fotografieren und teilen?**',
|
||
'content' => 'Ein rauschendes Fest, fröhliche Menschen, unzählige Kameras – und schon schwebt die Frage im Raum:
|
||
**Darf man das eigentlich alles fotografieren und teilen?**
|
||
|
||
Seit die DSGVO gilt, sind viele Gastgeber und Veranstalter verunsichert. Doch keine Sorge: Mit gesundem Menschenverstand, klarer Kommunikation und ein paar einfachen Regeln kannst du Erinnerungen festhalten, ohne gegen Datenschutzrecht zu verstoßen.
|
||
In diesem Artikel erfährst du, was erlaubt ist, was nicht – und wie **unsere Fotospiel App** dich dabei unterstützt, Eventfotos sicher und stressfrei zu sammeln.',
|
||
'meta_title' => 'Datenschutz bei Eventfotos – Was du wissen musst (verständlich erklärt)',
|
||
'meta_description' => 'Ein rauschendes Fest, fröhliche Menschen, unzählige Kameras – und schon schwebt die Frage im Raum: **Darf man das eigentlich alles fotografieren und teilen?**',
|
||
],
|
||
'en' => [
|
||
'title' => 'Data Protection for Event Photos – What You Need to Know (Explained Simply)',
|
||
'excerpt' => 'A lively party, happy people, countless cameras – and the question already hangs in the air: **Are you actually allowed to photograph and share all of this?**',
|
||
'content' => 'A lively party, happy people, countless cameras – and the question already hangs in the air:
|
||
**Are you actually allowed to photograph and share all of this?**
|
||
|
||
Since the GDPR came into force, many hosts and organizers have been unsettled. But don\'t worry: with common sense, clear communication, and a few simple rules, you can capture memories without violating data protection law.
|
||
In this article, you will learn what is allowed and what is not – and how **our photo game app** supports you in collecting event photos safely and stress-free.',
|
||
'meta_title' => 'Data Protection for Event Photos – What You Need to Know (Explained Simply)',
|
||
'meta_description' => 'A lively party, happy people, countless cameras – and the question already hangs in the air: **Are you actually allowed to photograph and share all of this?**',
|
||
],
|
||
],
|
||
[
|
||
'slug' => 'firmenevent-unvergesslich-fotos-spiele-teamgeist',
|
||
'de' => [
|
||
'title' => 'So macht ihr euer Firmenevent unvergesslich – Fotos, Spiele & Teamgeist',
|
||
'excerpt' => 'Ein gelungenes Firmenevent ist mehr als ein Buffet und ein paar Reden. Es ist die Gelegenheit, das Wir-Gefühl zu stärken, neue Energie zu tanken – und Erinnerungen zu schaffen, die lange nachwirken. Doch wie entsteht aus einem „netten Abend“ ein echtes Gemeinschaftserlebnis?',
|
||
'content' => 'Ein gelungenes Firmenevent ist mehr als ein Buffet und ein paar Reden. Es ist die Gelegenheit, das Wir-Gefühl zu stärken, neue Energie zu tanken – und Erinnerungen zu schaffen, die lange nachwirken. Doch wie entsteht aus einem „netten Abend“ ein echtes Gemeinschaftserlebnis?
|
||
|
||
Die Antwort liegt in drei Dingen: **Emotion, Interaktion und gemeinsamen Erinnerungen**.
|
||
In diesem Artikel zeige ich dir, wie ihr mit kreativen Ideen, Team-Spielen und unserer **Fotospiel App** euer nächstes Firmen- oder Teamevent unvergesslich macht.',
|
||
'meta_title' => 'So macht ihr euer Firmenevent unvergesslich – Fotos, Spiele & Teamgeist',
|
||
'meta_description' => 'Ein gelungenes Firmenevent ist mehr als ein Buffet und ein paar Reden. Es ist die Gelegenheit, das Wir-Gefühl zu stärken, neue Energie zu tanken – und Erinnerungen zu schaffen, die lange nachwirken. Doch wie entsteht aus einem „netten Abend“ ein echtes Gemeinschaftserlebnis?',
|
||
],
|
||
'en' => [
|
||
'title' => 'How to Make Your Corporate Event Unforgettable – Photos, Games & Team Spirit',
|
||
'excerpt' => 'A successful corporate event is more than just a buffet and a few speeches. It\'s the opportunity to strengthen the sense of "we," recharge your batteries – and create memories that will last. But how do you turn a "nice evening" into a real community experience?',
|
||
'content' => 'A successful corporate event is more than just a buffet and a few speeches. It\'s the opportunity to strengthen the sense of "we," recharge your batteries – and create memories that will last. But how do you turn a "nice evening" into a real community experience?
|
||
|
||
The answer lies in three things: **emotion, interaction, and shared memories**.
|
||
In this article, I will show you how to make your next corporate or team event unforgettable with creative ideas, team games, and our **photo game app**.',
|
||
'meta_title' => 'How to Make Your Corporate Event Unforgettable – Photos, Games & Team Spirit',
|
||
'meta_description' => 'A successful corporate event is more than just a buffet and a few speeches. It\'s the opportunity to strengthen the sense of "we," recharge your batteries – and create memories that will last. But how do you turn a "nice evening" into a real community experience?',
|
||
],
|
||
],
|
||
[
|
||
'slug' => 'hochzeitsbilder-qr-code',
|
||
'de' => [
|
||
'title' => 'Hochzeitsbilder & QR‑Code – Die moderne Art, Erinnerungen zu sammeln und zu teilen',
|
||
'excerpt' => 'Du kennst das Spiel: Nach der Hochzeit hat jede*r tolle Bilder auf dem Handy – doch Wochen später fehlen sie im gemeinsamen Album. Ein **QR‑Code** beendet dieses Chaos und macht das Teilen von Hochzeitsfotos so einfach wie einen kurzen Scan. In diesem Leitfaden zeige ich dir, wie du QR‑Codes **smart, datenschutzfreundlich und mit Praxis‑Tipps** einsetzt – und wie unsere **Fotospiel App** daraus ein echtes Gemeinschaftserlebnis macht.',
|
||
'content' => 'Du kennst das Spiel: Nach der Hochzeit hat jede*r tolle Bilder auf dem Handy – doch Wochen später fehlen sie im gemeinsamen Album. Ein **QR‑Code** beendet dieses Chaos und macht das Teilen von Hochzeitsfotos so einfach wie einen kurzen Scan. In diesem Leitfaden zeige ich dir, wie du QR‑Codes **smart, datenschutzfreundlich und mit Praxis‑Tipps** einsetzt – und wie unsere **Fotospiel App** daraus ein echtes Gemeinschaftserlebnis macht.',
|
||
'meta_title' => 'Hochzeitsbilder & QR‑Code – Die moderne Art, Erinnerungen zu sammeln und zu teilen',
|
||
'meta_description' => 'Du kennst das Spiel: Nach der Hochzeit hat jede*r tolle Bilder auf dem Handy – doch Wochen später fehlen sie im gemeinsamen Album. Ein **QR‑Code** beendet dieses Chaos und macht das Teilen von Hochzeitsfotos so einfach wie einen kurzen Scan. In diesem Leitfaden zeige ich dir, wie du QR‑Codes **smart, datenschutzfreundlich und mit Praxis‑Tipps** einsetzt – und wie unsere **Fotospiel App** daraus ein echtes Gemeinschaftserlebnis macht.',
|
||
],
|
||
'en' => [
|
||
'title' => 'Wedding Photos & QR Code – The Modern Way to Collect and Share Memories',
|
||
'excerpt' => 'You know the game: After the wedding, everyone has great pictures on their phone – but weeks later, they are missing from the shared album. A **QR code** ends this chaos and makes sharing wedding photos as easy as a quick scan. In this guide, I\'ll show you how to use QR codes **smartly, in a data-protection-friendly way, and with practical tips** – and how our **photo game app** turns it into a real community experience.',
|
||
'content' => 'You know the game: After the wedding, everyone has great pictures on their phone – but weeks later, they are missing from the shared album. A **QR code** ends this chaos and makes sharing wedding photos as easy as a quick scan. In this guide, I\'ll show you how to use QR codes **smartly, in a data-protection-friendly way, and with practical tips** – and how our **photo game app** turns it into a real community experience.',
|
||
'meta_title' => 'Wedding Photos & QR Code – The Modern Way to Collect and Share Memories',
|
||
'meta_description' => 'You know the game: After the wedding, everyone has great pictures on their phone – but weeks later, they are missing from the shared album. A **QR code** ends this chaos and makes sharing wedding photos as easy as a quick scan. In this guide, I\'ll show you how to use QR codes **smartly, in a data-protection-friendly way, and with practical tips** – and how our **photo game app** turns it into a real community experience.',
|
||
],
|
||
],
|
||
[
|
||
'slug' => 'hochzeitsfotografie-mit-kleinem-budget',
|
||
'de' => [
|
||
'title' => 'Hochzeitsfotografie mit kleinem Budget – So bekommst du traumhafte Erinnerungen ohne Profi-Fotograf',
|
||
'excerpt' => 'Heiraten ist wunderschön – aber teuer. Wenn du mitten in der Planung steckst, weißt du: Kleid, Location, Musik, Essen … alles summiert sich. Und dann kommt da noch der Fotograf mit seinem stolzen Preis. Doch gute Nachrichten: **Wunderschöne Hochzeitsfotos müssen kein Luxus sein.**',
|
||
'content' => 'Heiraten ist wunderschön – aber teuer. Wenn du mitten in der Planung steckst, weißt du: Kleid, Location, Musik, Essen … alles summiert sich. Und dann kommt da noch der Fotograf mit seinem stolzen Preis. Doch gute Nachrichten: **Wunderschöne Hochzeitsfotos müssen kein Luxus sein.**
|
||
|
||
Mit etwas Kreativität, liebevoller Organisation und unserer **Fotospiel App** kannst du Erinnerungen schaffen, die genauso emotional, ehrlich und einzigartig sind wie eure Liebe – ganz ohne dein Budget zu sprengen.',
|
||
'meta_title' => 'Hochzeitsfotografie mit kleinem Budget – So bekommst du traumhafte Erinnerungen ohne Profi-Fotograf',
|
||
'meta_description' => 'Heiraten ist wunderschön – aber teuer. Wenn du mitten in der Planung steckst, weißt du: Kleid, Location, Musik, Essen … alles summiert sich. Und dann kommt da noch der Fotograf mit seinem stolzen Preis. Doch gute Nachrichten: **Wunderschöne Hochzeitsfotos müssen kein Luxus sein.**',
|
||
],
|
||
'en' => [
|
||
'title' => 'Wedding Photography on a Small Budget – How to Get Dreamy Memories Without a Professional Photographer',
|
||
'excerpt' => 'Getting married is beautiful – but expensive. If you\'re in the middle of planning, you know: dress, location, music, food... it all adds up. And then there\'s the photographer with their hefty price tag. But good news: **Beautiful wedding photos don\'t have to be a luxury.**',
|
||
'content' => 'Getting married is beautiful – but expensive. If you\'re in the middle of planning, you know: dress, location, music, food... it all adds up. And then there\'s the photographer with their hefty price tag. But good news: **Beautiful wedding photos don\'t have to be a luxury.**
|
||
|
||
With a little creativity, loving organization, and our **photo game app**, you can create memories that are just as emotional, honest, and unique as your love – without breaking your budget.',
|
||
'meta_title' => 'Wedding Photography on a Small Budget – How to Get Dreamy Memories Without a Professional Photographer',
|
||
'meta_description' => 'Getting married is beautiful – but expensive. If you\'re in the middle of planning, you know: dress, location, music, food... it all adds up. And then there\'s the photographer with their hefty price tag. But good news: **Beautiful wedding photos don\'t have to be a luxury.**',
|
||
],
|
||
],
|
||
[
|
||
'slug' => 'qr-codes-auf-events-kreativ-nutzen',
|
||
'de' => [
|
||
'title' => 'So nutzt ihr QR-Codes auf Events kreativ – Von Fotos bis Networking',
|
||
'excerpt' => 'QR-Codes sind längst mehr als kleine schwarz-weiße Quadrate. Sie sind die Brücke zwischen der realen und der digitalen Welt – und auf Events die **einfachste Möglichkeit, Interaktion zu schaffen**. Ob Hochzeit, Firmenevent oder Festival: Mit einem Scan können Gäste Fotos hochladen, Feedback geben, Kontakte austauschen oder Informationen abrufen. In diesem Artikel zeige ich dir, wie du QR-Codes kreativ nutzt – mit vielen Praxis-Tipps und konkreten Ideen für den Einsatz mit **unserer Fotospiel App**.',
|
||
'content' => 'QR-Codes sind längst mehr als kleine schwarz-weiße Quadrate. Sie sind die Brücke zwischen der realen und der digitalen Welt – und auf Events die **einfachste Möglichkeit, Interaktion zu schaffen**. Ob Hochzeit, Firmenevent oder Festival: Mit einem Scan können Gäste Fotos hochladen, Feedback geben, Kontakte austauschen oder Informationen abrufen. In diesem Artikel zeige ich dir, wie du QR-Codes kreativ nutzt – mit vielen Praxis-Tipps und konkreten Ideen für den Einsatz mit **unserer Fotospiel App**.',
|
||
'meta_title' => 'So nutzt ihr QR-Codes auf Events kreativ – Von Fotos bis Networking',
|
||
'meta_description' => 'QR-Codes sind längst mehr als kleine schwarz-weiße Quadrate. Sie sind die Brücke zwischen der realen und der digitalen Welt – und auf Events die **einfachste Möglichkeit, Interaktion zu schaffen**. Ob Hochzeit, Firmenevent oder Festival: Mit einem Scan können Gäste Fotos hochladen, Feedback geben, Kontakte austauschen oder Informationen abrufen. In diesem Artikel zeige ich dir, wie du QR-Codes kreativ nutzt – mit vielen Praxis-Tipps und konkreten Ideen für den Einsatz mit **unserer Fotospiel App**.',
|
||
],
|
||
'en' => [
|
||
'title' => 'How to Use QR Codes Creatively at Events – From Photos to Networking',
|
||
'excerpt' => 'QR codes are now much more than small black and white squares. They are the bridge between the real and the digital world – and at events, the **easiest way to create interaction**. Whether it\'s a wedding, corporate event, or festival: with one scan, guests can upload photos, give feedback, exchange contacts, or retrieve information. In this article, I\'ll show you how to use QR codes creatively – with lots of practical tips and concrete ideas for use with **our photo game app**.',
|
||
'content' => 'QR codes are now much more than small black and white squares. They are the bridge between the real and the digital world – and at events, the **easiest way to create interaction**. Whether it\'s a wedding, corporate event, or festival: with one scan, guests can upload photos, give feedback, exchange contacts, or retrieve information. In this article, I\'ll show you how to use QR codes creatively – with lots of practical tips and concrete ideas for use with **our photo game app**.',
|
||
'meta_title' => 'How to Use QR Codes Creatively at Events – From Photos to Networking',
|
||
'meta_description' => 'QR codes are now much more than small black and white squares. They are the bridge between the real and the digital world – and at events, the **easiest way to create interaction**. Whether it\'s a wedding, corporate event, or festival: with one scan, guests can upload photos, give feedback, exchange contacts, or retrieve information. In this article, I\'ll show you how to use QR codes creatively – with lots of practical tips and concrete ideas for use with **our photo game app**.',
|
||
],
|
||
],
|
||
[
|
||
'slug' => 'top-alternativen-zum-hochzeitsfotografen',
|
||
'de' => [
|
||
'title' => 'Top-Alternativen zum Hochzeitsfotografen – So bekommst du echte Erinnerungen ohne Profi-Shooting',
|
||
'excerpt' => 'Ein professioneller Fotograf ist toll – aber nicht jede Hochzeit braucht ein teures Fotoshooting. Vielleicht möchtet ihr lieber spontan, kreativ oder budgetbewusst feiern. Gute Nachrichten: Es gibt viele Wege, großartige Hochzeitsbilder zu bekommen, ohne dass ihr ein Vermögen ausgebt. Hier findest du **praktische Ideen, kreative Alternativen und echte Erfahrungs-Tipps**, wie du mit unserer **Fotospiel App** trotzdem eine einzigartige Hochzeitsgalerie erhältst.',
|
||
'content' => 'Ein professioneller Fotograf ist toll – aber nicht jede Hochzeit braucht ein teures Fotoshooting. Vielleicht möchtet ihr lieber spontan, kreativ oder budgetbewusst feiern. Gute Nachrichten: Es gibt viele Wege, großartige Hochzeitsbilder zu bekommen, ohne dass ihr ein Vermögen ausgebt. Hier findest du **praktische Ideen, kreative Alternativen und echte Erfahrungs-Tipps**, wie du mit unserer **Fotospiel App** trotzdem eine einzigartige Hochzeitsgalerie erhältst.',
|
||
'meta_title' => 'Top-Alternativen zum Hochzeitsfotografen – So bekommst du echte Erinnerungen ohne Profi-Shooting',
|
||
'meta_description' => 'Ein professioneller Fotograf ist toll – aber nicht jede Hochzeit braucht ein teures Fotoshooting. Vielleicht möchtet ihr lieber spontan, kreativ oder budgetbewusst feiern. Gute Nachrichten: Es gibt viele Wege, großartige Hochzeitsbilder zu bekommen, ohne dass ihr ein Vermögen ausgebt. Hier findest du **praktische Ideen, kreative Alternativen und echte Erfahrungs-Tipps**, wie du mit unserer **Fotospiel App** trotzdem eine einzigartige Hochzeitsgalerie erhältst.',
|
||
],
|
||
'en' => [
|
||
'title' => 'Top Alternatives to a Wedding Photographer – How to Get Real Memories Without a Professional Photoshoot',
|
||
'excerpt' => 'A professional photographer is great – but not every wedding needs an expensive photoshoot. Maybe you\'d rather celebrate spontaneously, creatively, or on a budget. Good news: There are many ways to get great wedding pictures without spending a fortune. Here you\'ll find **practical ideas, creative alternatives, and real-life experience tips** on how to still get a unique wedding gallery with our **photo game app**.',
|
||
'content' => 'A professional photographer is great – but not every wedding needs an expensive photoshoot. Maybe you\'d rather celebrate spontaneously, creatively, or on a budget. Good news: There are many ways to get great wedding pictures without spending a fortune. Here you\'ll find **practical ideas, creative alternatives, and real-life experience tips** on how to still get a unique wedding gallery with our **photo game app**.',
|
||
'meta_title' => 'Top Alternatives to a Wedding Photographer – How to Get Real Memories Without a Professional Photoshoot',
|
||
'meta_description' => 'A professional photographer is great – but not every wedding needs an expensive photoshoot. Maybe you\'d rather celebrate spontaneously, creatively, or on a budget. Good news: There are many ways to get great wedding pictures without spending a fortune. Here you\'ll find **practical ideas, creative alternatives, and real-life experience tips** on how to still get a unique wedding gallery with our **photo game app**.',
|
||
],
|
||
],
|
||
[
|
||
'slug' => 'wann-hochzeitseinladungen-verschicken',
|
||
'de' => [
|
||
'title' => 'Wann Hochzeitseinladungen verschickt werden sollten – Der ultimative Leitfaden für perfektes Timing',
|
||
'excerpt' => 'Planung ist alles – besonders bei einer Hochzeit. Zwischen Gästelisten, Location und Budget gerät das Thema **Einladungen** oft ins Hintertreffen. Doch das richtige Timing entscheidet, ob eure Liebsten kommen können oder schon verplant sind. In diesem Leitfaden erfährst du **wann** und **wie** du Einladungen am besten verschickst – plus clevere **Praxis‑Tipps**, wie du QR‑Codes, Fotoboxen und unsere **Fotospiel App** elegant in deine Kommunikation integrierst.',
|
||
'content' => 'Planung ist alles – besonders bei einer Hochzeit. Zwischen Gästelisten, Location und Budget gerät das Thema **Einladungen** oft ins Hintertreffen. Doch das richtige Timing entscheidet, ob eure Liebsten kommen können oder schon verplant sind. In diesem Leitfaden erfährst du **wann** und **wie** du Einladungen am besten verschickst – plus clevere **Praxis‑Tipps**, wie du QR‑Codes, Fotoboxen und unsere **Fotospiel App** elegant in deine Kommunikation integrierst.',
|
||
'meta_title' => 'Wann Hochzeitseinladungen verschickt werden sollten – Der ultimative Leitfaden für perfektes Timing',
|
||
'meta_description' => 'Planung ist alles – besonders bei einer Hochzeit. Zwischen Gästelisten, Location und Budget gerät das Thema **Einladungen** oft ins Hintertreffen. Doch das richtige Timing entscheidet, ob eure Liebsten kommen können oder schon verplant sind. In diesem Leitfaden erfährst du **wann** und **wie** du Einladungen am besten verschickst – plus clevere **Praxis‑Tipps**, wie du QR‑Codes, Fotoboxen und unsere **Fotospiel App** elegant in deine Kommunikation integrierst.',
|
||
],
|
||
'en' => [
|
||
'title' => 'When Wedding Invitations Should Be Sent – The Ultimate Guide for Perfect Timing',
|
||
'excerpt' => 'Planning is everything – especially for a wedding. Between guest lists, location, and budget, the topic of **invitations** often gets pushed to the back. But the right timing decides whether your loved ones can come or are already busy. In this guide, you\'ll learn **when** and **how** to best send invitations – plus clever **practical tips** on how to elegantly integrate QR codes, photo booths, and our **photo game app** into your communication.',
|
||
'content' => 'Planning is everything – especially for a wedding. Between guest lists, location, and budget, the topic of **invitations** often gets pushed to the back. But the right timing decides whether your loved ones can come or are already busy. In this guide, you\'ll learn **when** and **how** to best send invitations – plus clever **practical tips** on how to elegantly integrate QR codes, photo booths, and our **photo game app** into your communication.',
|
||
'meta_title' => 'When Wedding Invitations Should Be Sent – The Ultimate Guide for Perfect Timing',
|
||
'meta_description' => 'Planning is everything – especially for a wedding. Between guest lists, location, and budget, the topic of **invitations** often gets pushed to the back. But the right timing decides whether your loved ones can come or are already busy. In this guide, you\'ll learn **when** and **how** to best send invitations – plus clever **practical tips** on how to elegantly integrate QR codes, photo booths, and our **photo game app** into your communication.',
|
||
],
|
||
],
|
||
[
|
||
'slug' => 'warum-gastfotos-unverzichtbar-sind',
|
||
'de' => [
|
||
'title' => 'Warum Gastfotos wichtig sind – auch wenn du einen Profi-Fotografen hast',
|
||
'excerpt' => 'Dein Hochzeitstag vergeht wie im Flug. Zwischen Vorfreude, Tränen und Tanz merkst du kaum, wie viele kleine Momente an dir vorbeiziehen. Natürlich ist ein Profi-Fotograf unverzichtbar – aber selbst der beste kann nicht überall gleichzeitig sein. **Gastfotos** ergänzen das große Ganze: Sie zeigen deine Feier aus allen Perspektiven, ungefiltert, echt und emotional.',
|
||
'content' => 'Dein Hochzeitstag vergeht wie im Flug. Zwischen Vorfreude, Tränen und Tanz merkst du kaum, wie viele kleine Momente an dir vorbeiziehen. Natürlich ist ein Profi-Fotograf unverzichtbar – aber selbst der beste kann nicht überall gleichzeitig sein. **Gastfotos** ergänzen das große Ganze: Sie zeigen deine Feier aus allen Perspektiven, ungefiltert, echt und emotional.',
|
||
'meta_title' => 'Warum Gastfotos wichtig sind – auch wenn du einen Profi-Fotografen hast',
|
||
'meta_description' => 'Dein Hochzeitstag vergeht wie im Flug. Zwischen Vorfreude, Tränen und Tanz merkst du kaum, wie viele kleine Momente an dir vorbeiziehen. Natürlich ist ein Profi-Fotograf unverzichtbar – aber selbst der beste kann nicht überall gleichzeitig sein. **Gastfotos** ergänzen das große Ganze: Sie zeigen deine Feier aus allen Perspektiven, ungefiltert, echt und emotional.',
|
||
],
|
||
'en' => [
|
||
'title' => 'Why Guest Photos Are Important – Even if You Have a Professional Photographer',
|
||
'excerpt' => 'Your wedding day flies by. Between anticipation, tears, and dancing, you hardly notice how many small moments pass you by. Of course, a professional photographer is indispensable – but even the best can\'t be everywhere at once. **Guest photos** complete the big picture: they show your celebration from all perspectives, unfiltered, real, and emotional.',
|
||
'content' => 'Your wedding day flies by. Between anticipation, tears, and dancing, you hardly notice how many small moments pass you by. Of course, a professional photographer is indispensable – but even the best can\'t be everywhere at once. **Guest photos** complete the big picture: they show your celebration from all perspectives, unfiltered, real, and emotional.',
|
||
'meta_title' => 'Why Guest Photos Are Important – Even if You Have a Professional Photographer',
|
||
'meta_description' => 'Your wedding day flies by. Between anticipation, tears, and dancing, you hardly notice how many small moments pass you by. Of course, a professional photographer is indispensable – but even the best can\'t be everywhere at once. **Guest photos** complete the big picture: they show your celebration from all perspectives, unfiltered, real, and emotional.',
|
||
],
|
||
],
|
||
[
|
||
'slug' => 'wie-gaeste-eventmomente-festhalten',
|
||
'de' => [
|
||
'title' => 'Wie Gäste eure schönsten Eventmomente festhalten – und was du dafür tun musst',
|
||
'excerpt' => 'Jedes Event lebt von seinen Gästen – sie sind die Energie, die Stimmung und am Ende die besten Geschichtenerzähler. Doch während Profis meist die großen Highlights ablichten, sind es die Gäste, die die **echten Momente** einfangen: spontanes Lachen, kleine Gesten, ehrliche Emotionen. Damit diese Schätze nicht verloren gehen, braucht es ein bisschen Organisation – und ein cleveres System, um sie zu sammeln. Hier erfährst du, wie du Gäste motivierst, aktiv zu fotografieren, und wie **unsere Fotospiel App** daraus ein unvergessliches Erlebnis für alle macht.',
|
||
'content' => 'Jedes Event lebt von seinen Gästen – sie sind die Energie, die Stimmung und am Ende die besten Geschichtenerzähler. Doch während Profis meist die großen Highlights ablichten, sind es die Gäste, die die **echten Momente** einfangen: spontanes Lachen, kleine Gesten, ehrliche Emotionen. Damit diese Schätze nicht verloren gehen, braucht es ein bisschen Organisation – und ein cleveres System, um sie zu sammeln. Hier erfährst du, wie du Gäste motivierst, aktiv zu fotografieren, und wie **unsere Fotospiel App** daraus ein unvergessliches Erlebnis für alle macht.',
|
||
'meta_title' => 'Wie Gäste eure schönsten Eventmomente festhalten – und was du dafür tun musst',
|
||
'meta_description' => 'Jedes Event lebt von seinen Gästen – sie sind die Energie, die Stimmung und am Ende die besten Geschichtenerzähler. Doch während Profis meist die großen Highlights ablichten, sind es die Gäste, die die **echten Momente** einfangen: spontanes Lachen, kleine Gesten, ehrliche Emotionen. Damit diese Schätze nicht verloren gehen, braucht es ein bisschen Organisation – und ein cleveres System, um sie zu sammeln. Hier erfährst du, wie du Gäste motivierst, aktiv zu fotografieren, und wie **unsere Fotospiel App** daraus ein unvergessliches Erlebnis für alle macht.',
|
||
],
|
||
'en' => [
|
||
'title' => 'How Guests Capture Your Most Beautiful Event Moments – and What You Need to Do for It',
|
||
'excerpt' => 'Every event lives from its guests – they are the energy, the mood, and in the end, the best storytellers. But while professionals usually capture the big highlights, it\'s the guests who capture the **real moments**: spontaneous laughter, small gestures, honest emotions. To ensure these treasures are not lost, it takes a bit of organization – and a clever system to collect them. Here you\'ll learn how to motivate guests to actively take photos, and how **our photo game app** turns it into an unforgettable experience for everyone.',
|
||
'content' => 'Every event lives from its guests – they are the energy, the mood, and in the end, the best storytellers. But while professionals usually capture the big highlights, it\'s the guests who capture the **real moments**: spontaneous laughter, small gestures, honest emotions. To ensure these treasures are not lost, it takes a bit of organization – and a clever system to collect them. Here you\'ll learn how to motivate guests to actively take photos, and how **our photo game app** turns it into an unforgettable experience for everyone.',
|
||
'meta_title' => 'How Guests Capture Your Most Beautiful Event Moments – and What You Need to Do for It',
|
||
'meta_description' => 'Every event lives from its guests – they are the energy, the mood, and in the end, the best storytellers. But while professionals usually capture the big highlights, it\'s the guests who capture the **real moments**: spontaneous laughter, small gestures, honest emotions. To ensure these treasures are not lost, it takes a bit of organization – and a clever system to collect them. Here you\'ll learn how to motivate guests to actively take photos, and how **our photo game app** turns it into an unforgettable experience for everyone.',
|
||
],
|
||
],
|
||
];
|
||
|
||
// Artikel erstellen
|
||
foreach ($articles as $articleData) {
|
||
$slug = $articleData['slug'];
|
||
|
||
// Prüfen, ob Artikel bereits existiert
|
||
$existingArticle = BlogPost::where('slug', $slug)->first();
|
||
if ($existingArticle) {
|
||
$this->command->info("Artikel '{$slug}' existiert bereits, überspringe...");
|
||
continue;
|
||
}
|
||
|
||
$post = new BlogPost();
|
||
$post->blog_author_id = $author->id;
|
||
$post->blog_category_id = $blogCategory->id;
|
||
$post->slug = $slug;
|
||
|
||
if (isset($articleData['de'])) {
|
||
$germanData = $articleData['de'];
|
||
$post->setTranslation('title', 'de', $germanData['title']);
|
||
$post->setTranslation('content', 'de', $germanData['content']);
|
||
$post->setTranslation('excerpt', 'de', $germanData['excerpt']);
|
||
$post->setTranslation('meta_title', 'de', $germanData['meta_title']);
|
||
$post->setTranslation('meta_description', 'de', $germanData['meta_description']);
|
||
}
|
||
|
||
if (isset($articleData['en'])) {
|
||
$englishData = $articleData['en'];
|
||
$post->setTranslation('title', 'en', $englishData['title']);
|
||
$post->setTranslation('content', 'en', $englishData['content']);
|
||
$post->setTranslation('excerpt', 'en', $englishData['excerpt']);
|
||
$post->setTranslation('meta_title', 'en', $englishData['meta_title']);
|
||
$post->setTranslation('meta_description', 'en', $englishData['meta_description']);
|
||
}
|
||
|
||
$post->published_at = now();
|
||
$post->is_published = true;
|
||
$post->save();
|
||
|
||
$this->command->info("Artikel '{$slug}' erfolgreich erstellt");
|
||
}
|
||
|
||
$this->command->info('Blog Artikel-Seeder erfolgreich ausgeführt!');
|
||
}
|
||
} |