Fix app name phrasing and refresh blog seed dates
This commit is contained in:
@@ -5,6 +5,7 @@ namespace Database\Seeders;
|
||||
use App\Models\BlogAuthor;
|
||||
use App\Models\BlogCategory;
|
||||
use App\Models\BlogPost;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class BlogPostErgaenzungSeeder extends Seeder
|
||||
@@ -40,7 +41,7 @@ class BlogPostErgaenzungSeeder extends Seeder
|
||||
$articles = [
|
||||
[
|
||||
'slug' => 'nachhaltige-events-und-hochzeiten',
|
||||
'published_at' => '2026-02-16 10:00:00',
|
||||
'published_at' => '2026-04-16 10:00:00',
|
||||
'de' => [
|
||||
'title' => 'Nachhaltige Events & Hochzeiten – So feiert ihr bewusst, ohne auf Emotionen zu verzichten',
|
||||
'excerpt' => 'Green Wedding, Zero Waste Event, klimabewusste Firmenfeier – nachhaltige Events sind mehr als ein Trend. In diesem Leitfaden erfährst du, wie du Deko, Drucksachen, Catering und natürlich die Fotografie so planst, dass sie zur Umwelt und zu euch passen – inklusive Ideen, wie die Fotospiel App digitale Prozesse vereinfacht.',
|
||||
@@ -299,7 +300,7 @@ Sustainability and emotional events are not opposites – they reinforce each ot
|
||||
// 2. Ideale Timeline für Hochzeitsfotos
|
||||
[
|
||||
'slug' => 'ideale-hochzeitsfoto-timeline',
|
||||
'published_at' => '2026-02-24 10:00:00',
|
||||
'published_at' => '2026-04-24 10:00:00',
|
||||
'de' => [
|
||||
'title' => 'Die ideale Timeline für Hochzeitsfotos – So verpasst ihr keinen Moment',
|
||||
'excerpt' => 'First Look, Trauung, Gruppenbilder, Paarshooting, Party: Eine gute Foto-Timeline sorgt dafür, dass ihr alle wichtigen Momente entspannt erlebt – und trotzdem ein komplettes Album bekommt. In diesem Artikel zeige ich dir, wie du euren Hochzeitstag fotografisch planst, ohne dass er sich nach Drehplan anfühlt.',
|
||||
@@ -496,7 +497,7 @@ A clear photo timeline doesn\'t make your day rigid – it makes it easier. You
|
||||
// 3. Fotospiele für Kinder
|
||||
[
|
||||
'slug' => 'fotospiele-fuer-kinder-auf-hochzeiten-und-events',
|
||||
'published_at' => '2026-03-05 10:00:00',
|
||||
'published_at' => '2026-05-05 10:00:00',
|
||||
'de' => [
|
||||
'title' => 'Fotospiele für Kinder auf Hochzeiten & Events – So werden die Kleinsten zu großen Geschichtenerzählern',
|
||||
'excerpt' => 'Kinder auf Events sind Wunderwaffen: Sie nehmen Druck aus der Situation, sorgen für ehrliches Lachen – und sehen die Welt aus einer ganz anderen Perspektive. Mit kindgerechten Fotospielen beschäftigst du sie sinnvoll und bekommst gleichzeitig einzigartige Bilder.',
|
||||
@@ -638,7 +639,7 @@ Photo games turn children into **active storytellers**. Their pictures may be cr
|
||||
// 4. Storytelling mit Bildern / Album
|
||||
[
|
||||
'slug' => 'storytelling-mit-eventfotos',
|
||||
'published_at' => '2026-03-14 10:00:00',
|
||||
'published_at' => '2026-05-14 10:00:00',
|
||||
'de' => [
|
||||
'title' => 'Storytelling mit Eventfotos – So wird aus Bildern eine Geschichte',
|
||||
'excerpt' => 'Hunderte Fotos sind schnell gemacht – aber erst eine gute Auswahl und Reihenfolge macht daraus eine Geschichte, die man gerne anschaut. In diesem Artikel zeige ich dir, wie du aus Profi- und Gastfotos ein stimmiges Album, eine Slideshow oder ein Recap-Video baust.',
|
||||
@@ -827,7 +828,7 @@ Photos are not just proof that something happened. When curated thoughtfully, th
|
||||
// 5. Hybride Events
|
||||
[
|
||||
'slug' => 'hybride-events-und-remote-gaeste',
|
||||
'published_at' => '2026-03-24 10:00:00',
|
||||
'published_at' => '2026-05-24 10:00:00',
|
||||
'de' => [
|
||||
'title' => 'Hybride Events & entfernte Gäste – So werden alle Teil der Foto-Geschichte',
|
||||
'excerpt' => 'Nicht alle können bei einer Hochzeit oder einem Firmenevent live dabei sein – trotzdem sollen sie Teil der Erinnerungen werden. In diesem Artikel erfährst du, wie du vor Ort und remote Gäste in einer gemeinsamen Fotostory verbindest.',
|
||||
@@ -952,7 +953,7 @@ This way, people feel: **We were part of the same story**, even if we weren\'t i
|
||||
// 6. Checkliste Fotowand
|
||||
[
|
||||
'slug' => 'checkliste-fotowand-und-selfie-station',
|
||||
'published_at' => '2026-04-02 10:00:00',
|
||||
'published_at' => '2026-06-02 10:00:00',
|
||||
'de' => [
|
||||
'title' => 'Checkliste Fotowand & Selfie-Station – So entstehen eure meistgenutzten Eventmotive',
|
||||
'excerpt' => 'Eine gute Fotowand ist nicht nur „nice to have“, sondern Magnet für witzige Gruppenbilder und Selfies. Mit dieser Checkliste richtest du eine Fotowand ein, die auf Fotos großartig aussieht – und perfekt zur Fotospiel App passt.',
|
||||
@@ -1067,7 +1068,7 @@ With thoughtful placement, simple lighting, and integration into the Photo Game
|
||||
// 7. Kamerascheue Gäste
|
||||
[
|
||||
'slug' => 'kamerascheue-gaeste-respektvoll-fotografieren',
|
||||
'published_at' => '2026-04-11 10:00:00',
|
||||
'published_at' => '2026-06-11 10:00:00',
|
||||
'de' => [
|
||||
'title' => 'Kamerascheue Gäste respektvoll fotografieren – So bleibt ihr nah dran, ohne Grenzen zu überschreiten',
|
||||
'excerpt' => 'Nicht alle Menschen lieben Kameras – und trotzdem sollen sie sich auf eurem Event wohl fühlen. Hier erfährst du, wie du kamerascheue Gäste respektierst und trotzdem eine vollständige Bildgeschichte erzielst.',
|
||||
@@ -1186,7 +1187,7 @@ When guests feel seen and respected, they are much more likely to **willingly pa
|
||||
// 8. After-Event Marketing für Firmen
|
||||
[
|
||||
'slug' => 'eventfotos-im-marketing-nutzen',
|
||||
'published_at' => '2026-04-21 10:00:00',
|
||||
'published_at' => '2026-06-21 10:00:00',
|
||||
'de' => [
|
||||
'title' => 'Eventfotos im Marketing nutzen – Ohne peinliche Bilder und rechtliche Stolperfallen',
|
||||
'excerpt' => 'Firmenevents liefern wertvollen Content für Employer Branding, Social Media und Recruiting. Hier erfährst du, wie du Eventfotos sinnvoll und DSGVO-bewusst im Marketing einsetzt.',
|
||||
@@ -1325,7 +1326,7 @@ Event photos can be a strong marketing tool when you balance visibility with res
|
||||
// 9. Mikro-Momente statt gestellter Posen
|
||||
[
|
||||
'slug' => 'mikro-momente-statt-gestellter-posen',
|
||||
'published_at' => '2026-05-01 10:00:00',
|
||||
'published_at' => '2026-07-01 10:00:00',
|
||||
'de' => [
|
||||
'title' => 'Mikro-Momente statt gestellter Posen – Wie ihr echte Emotionen einfängt',
|
||||
'excerpt' => 'Die stärksten Eventfotos sind selten die perfekt inszenierten Motive – sondern die kleinen, echten Momente dazwischen. In diesem Artikel geht es darum, den Blick für Mikro-Momente zu schärfen und Gäste aktiv daran zu beteiligen.',
|
||||
@@ -1446,7 +1447,7 @@ Once you start valuing micro-moments, your photography changes. The programme is
|
||||
// 10. Technisches Setup
|
||||
[
|
||||
'slug' => 'technisches-setup-fuer-stressfreie-eventfotografie',
|
||||
'published_at' => '2026-05-10 10:00:00',
|
||||
'published_at' => '2026-07-10 10:00:00',
|
||||
'de' => [
|
||||
'title' => 'Technisches Setup für stressfreie Eventfotografie – WLAN, Strom & Uploads im Griff',
|
||||
'excerpt' => 'Die beste Fotoidee bringt wenig, wenn WLAN ausfällt, Akkus leer sind oder Uploads hängen. In diesem Artikel geht es um das technische Mindest-Setup, damit Fotospiel App, Uploads und Fotos insgesamt zuverlässig funktionieren.',
|
||||
@@ -1574,7 +1575,7 @@ When the technical basics are right, no one notices them – and that\'s the goa
|
||||
continue;
|
||||
}
|
||||
|
||||
$post = new BlogPost();
|
||||
$post = new BlogPost;
|
||||
$post->blog_author_id = $author->id;
|
||||
$post->blog_category_id = $blogCategory->id;
|
||||
$post->slug = $slug;
|
||||
@@ -1597,7 +1598,12 @@ When the technical basics are right, no one notices them – and that\'s the goa
|
||||
$post->setTranslation('meta_description', 'en', $en['meta_description']);
|
||||
}
|
||||
|
||||
$post->published_at = $articleData['published_at'] ?? now();
|
||||
$publishedAt = isset($articleData['published_at'])
|
||||
? Carbon::parse($articleData['published_at'])
|
||||
: now();
|
||||
$post->published_at = $publishedAt;
|
||||
$post->created_at = $publishedAt;
|
||||
$post->updated_at = $publishedAt;
|
||||
$post->is_published = true;
|
||||
$post->save();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user