update demo seed data
This commit is contained in:
parent
d1efea2bd5
commit
bb80d624c3
1 changed files with 58 additions and 28 deletions
|
|
@ -19,36 +19,66 @@ class ElementSeeder extends Seeder
|
|||
title: $baderechSet->getName(),
|
||||
description: $baderechSet->getDescription(),
|
||||
iconImageUrl: '/assets/baderech-haavodah-icon.png',
|
||||
richText: '<p>Begin with a clear map for avodah growth.</p>'
|
||||
. '<p><strong>Move steadily</strong> from awareness '
|
||||
. 'to practice.</p>',
|
||||
richText: '',
|
||||
pdfPath: '/assets/pdfs/baderech.pdf',
|
||||
youtubeUrl: 'https://www.youtube.com/watch?v='
|
||||
. 'yHx-r4p6hHU&t=1s',
|
||||
youtubeUrl: null,
|
||||
parentElement: null,
|
||||
));
|
||||
$elementRepository->create(new CreateElementDto(
|
||||
set: $baderechSet,
|
||||
title: 'Avodah Foundations',
|
||||
description: 'Core foundations for building a steady '
|
||||
. 'avodah practice.',
|
||||
iconImageUrl: null,
|
||||
richText: '<p>Avodah foundations begin with honest awareness '
|
||||
. 'and small repeatable steps.</p>',
|
||||
pdfPath: null,
|
||||
youtubeUrl: null,
|
||||
parentElement: $rootElement,
|
||||
));
|
||||
$elementRepository->create(new CreateElementDto(
|
||||
set: $baderechSet,
|
||||
title: 'Daily Practice',
|
||||
description: 'Practical steps for consistent daily growth.',
|
||||
iconImageUrl: null,
|
||||
richText: '<p>Daily practice turns inspiration into a '
|
||||
. 'dependable rhythm.</p>',
|
||||
pdfPath: null,
|
||||
youtubeUrl: null,
|
||||
parentElement: $rootElement,
|
||||
));
|
||||
|
||||
$baderechChildElements = [
|
||||
[
|
||||
'title' => 'Introduction',
|
||||
'description' => 'Your beliefs influence your thinking, '
|
||||
. 'and your thinking drives your choices. When you '
|
||||
. 'nurture healthy beliefs - about yourself, about '
|
||||
. 'the Creator, and about the meaning of life - you '
|
||||
. 'unlock the ability to live with strength, confidence, '
|
||||
. 'and hope.',
|
||||
],
|
||||
[
|
||||
'title' => 'Foundations',
|
||||
'description' => 'Focal points for thriving in a chaotic '
|
||||
. 'world. In this fast, complex era, you flourish when '
|
||||
. 'you develop clarity, well-being, resilience, and the '
|
||||
. 'ability to uplift the physical world with spiritual '
|
||||
. 'intention.',
|
||||
],
|
||||
[
|
||||
'title' => 'Divine Plan',
|
||||
'description' => 'Understanding the unique greatness of our '
|
||||
. 'generation and the call to remain hopeful, '
|
||||
. 'optimistic, and resilient.',
|
||||
],
|
||||
[
|
||||
'title' => 'Architecture of the Soul',
|
||||
'description' => "Becoming a Baal Da'at - A Master of "
|
||||
. 'Inner Awareness',
|
||||
],
|
||||
[
|
||||
'title' => 'Arba Yesodot',
|
||||
'description' => 'A structured approach to balanced living: '
|
||||
. 'Physical & Financial Health, Relationships, Wisdom '
|
||||
. 'and Guidance.',
|
||||
],
|
||||
[
|
||||
'title' => 'Fluid Integration',
|
||||
'description' => 'A series of practical exercises to '
|
||||
. 'engender a shift in mindset, embed healthy routines, '
|
||||
. 'positive life practices.',
|
||||
],
|
||||
];
|
||||
|
||||
foreach ($baderechChildElements as $baderechChildElement) {
|
||||
$elementRepository->create(new CreateElementDto(
|
||||
set: $baderechSet,
|
||||
title: $baderechChildElement['title'],
|
||||
description: $baderechChildElement['description'],
|
||||
iconImageUrl: null,
|
||||
richText: '',
|
||||
pdfPath: null,
|
||||
youtubeUrl: null,
|
||||
parentElement: $rootElement,
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue