Added About Page

This commit is contained in:
2025-09-18 17:41:24 +10:00
parent 3a5f5ff0b7
commit ee1436c6f0
12 changed files with 161 additions and 8 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace Database\Factories;
use App\Models\Tour;
use App\Models\TourDay;
use Illuminate\Database\Eloquent\Factories\Factory;
class TourDayFactory extends Factory
{
protected $model = TourDay::class;
public function definition(): array
{
return [
'tour_id' => Tour::whereInternalName('hebei_harmony')->first()->id,
'description' => $this->faker->sentence(),
'content' => $this->faker->paragraphs(3, true),
'image' => $this->faker->imageUrl(800, 600, 'travel', true, 'Tour Day'),
];
}
}