*/ class GuideCardFactory extends Factory { /** * @return array */ public function definition(): array { return [ 'title' => fake()->words(2, true), 'description' => fake()->paragraph(), 'icon' => fake()->randomElement(['anchor', 'compass', 'shield', 'briefcase', 'ship', 'navigation']), 'color' => fake()->randomElement(['from-blue-500 to-blue-700', 'from-emerald-500 to-emerald-700', 'from-orange-500 to-orange-700', 'from-rose-500 to-rose-700']), 'link' => '/'.fake()->slug(2), 'order' => fake()->numberBetween(0, 10), 'is_active' => true, ]; } }