Skip to content

Commit 853ca8f

Browse files
committed
fix: invalid image format
1 parent 23fc171 commit 853ca8f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

database/seeders/SampleSeeder.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -483,12 +483,12 @@ protected function getSampleContent()
483483
'en' => "<p>I'm Manifest</p><p>Full-time UI/UX designer</p><p>Head of Design at VeronaLabs.com</p>",
484484
'fr' => '<p>Je suis Manifest</p><p>Designer UI/UX à plein temps</p><p>Responsable du design chez VeronaLabs.com</p>',
485485
],
486-
'image' => Arr::first($this->getRandomMediaAssetInPropertyData(1, 'png')),
486+
'image' => $this->getRandomMediaAssetInPropertyData(1, 'png'),
487487
'description' => [
488488
'en' => '<p>I was born in January 1990. After getting my Degree in computer science in 2002, I persuaded my higher study in Human Computer Interaction Design. I got my first job as Graphic Designer in the year 2008. After getting experience in graphic for a year, I moved to UI-UX Designing.</p><p>In 2010, I decided to work as a Freelance Web, UI-UX & Mobile Interface Designer. I find myself still in the learning phase and have strong desire to achieve as many skills as I can.</p>',
489489
'fr' => '<p>Je suis né en janvier 1990. Après avoir obtenu mon diplôme en informatique en 2002, j’ai poursuivi mes études supérieures en conception d’interaction homme-machine. J’ai obtenu mon premier emploi en tant que graphiste en 2008. Après avoir acquis de l’expérience en graphisme pendant un an, je suis passé à la conception UI-UX.</p><p>En 2010, j’ai décidé de travailler en tant que designer d’interface Web, UI-UX et mobile indépendant. Je me trouve toujours en phase d’apprentissage et j’ai un fort dés ir d’acquérir autant de compétences que possible.</p>',
490490
],
491-
'resume' => Arr::first($this->getRandomMediaAssetInPropertyData(1, 'txt')),
491+
'resume' => $this->getRandomMediaAssetInPropertyData(1, 'txt'),
492492
],
493493
],
494494
publishState: 'publish',
@@ -549,7 +549,7 @@ protected function getSampleContent()
549549
'en' => fake()->sentence(5),
550550
'fr' => fake()->sentence(5),
551551
],
552-
'image' => Arr::first($this->getRandomMediaAssetInPropertyData(1, 'png')),
552+
'image' => $this->getRandomMediaAssetInPropertyData(1, 'png'),
553553
'description' => [
554554
'en' => fake()->sentence(10),
555555
'fr' => fake()->sentence(10),
@@ -589,7 +589,7 @@ protected function getSampleContent()
589589
'en' => 'If you need our help with your user account, have questions about how to use the platform or are experiencing technical difficulties, please do not hesitate to contact us.',
590590
'fr' => 'Si vous avez besoin de notre aide pour votre compte utilisateur, si vous avez des questions sur l’utilisation de la plateforme ou si vous rencontrez des difficultés techniques, n’hésitez pas à nous contacter.',
591591
],
592-
'image' => Arr::first($this->getRandomMediaAssetInPropertyData(1, 'png')),
592+
'image' => $this->getRandomMediaAssetInPropertyData(1, 'png'),
593593
],
594594
'contact' => [
595595
'email' => 'example@example.com',
@@ -664,7 +664,7 @@ protected function getSampleContent()
664664
'en' => fake()->sentence(3),
665665
'fr' => fake()->sentence(3),
666666
],
667-
'image' => Arr::first($this->getRandomMediaAssetInPropertyData(1, 'png')),
667+
'image' => $this->getRandomMediaAssetInPropertyData(1, 'png'),
668668
],
669669
'case_content' => [
670670
'category' => 'Product Design',

0 commit comments

Comments
 (0)