Files

47 lines
2.3 KiB
PHP
Raw Permalink Normal View History

2026-03-15 17:08:23 +07:00
<?php
namespace Modules\Frontend\Database\Seeders;
use Illuminate\Database\Seeder;
use Modules\Frontend\Models\Theme;
class ThemesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$themes = [
// 🍽️ Casual Dining
['category' => 'Casual Dining', 'name' => 'Modern Bistro', 'icon' => '🍴', 'description' => 'Contemporary design with cozy vibe'],
['category' => 'Casual Dining', 'name' => 'Family Restaurant', 'icon' => '👨‍👩‍👧‍👦', 'description' => 'Warm, inviting layout for families'],
// 🍕 Fast Food & Takeaway
['category' => 'Fast Food', 'name' => 'Burger & Fries', 'icon' => '🍔', 'description' => 'Bright, energetic theme for quick bites'],
['category' => 'Fast Food', 'name' => 'Pizza Corner', 'icon' => '🍕', 'description' => 'Fun and appetizing design for pizza lovers'],
// 🥗 Healthy & Vegan
['category' => 'Healthy & Vegan', 'name' => 'Green Delight', 'icon' => '🥗', 'description' => 'Fresh, clean design with nature-inspired colors'],
// 🍣 Fine Dining
['category' => 'Fine Dining', 'name' => 'Elegant Cuisine', 'icon' => '🍷', 'description' => 'Sophisticated theme with luxurious feel'],
// ☕ Cafes & Desserts
['category' => 'Cafe & Dessert', 'name' => 'Coffee House', 'icon' => '☕', 'description' => 'Warm and cozy vibe for coffee lovers'],
['category' => 'Cafe & Dessert', 'name' => 'Bakery & Sweets', 'icon' => '🍰', 'description' => 'Bright, cheerful design for dessert restaurants'],
// 🌮 Ethnic / Specialty
['category' => 'Ethnic & Specialty', 'name' => 'Italian Trattoria', 'icon' => '🇮🇹', 'description' => 'Authentic, rustic Italian design'],
['category' => 'Ethnic & Specialty', 'name' => 'Sushi Bar', 'icon' => '🍣', 'description' => 'Minimalist, modern Japanese design'],
// 🌍 Global Cuisine
['category' => 'Global Cuisine', 'name' => 'World Flavors', 'icon' => '🌎', 'description' => 'Dynamic theme for international dishes'],
];
foreach ($themes as $theme) {
Theme::create($theme);
}
}
}