HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/comfama.sports-crowd.com/database/seeds/HomeSectionDataSeeder.php
<?php

use App\AppSection;
use Illuminate\Database\Seeder;

class HomeSectionDataSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        // Secciones tab HOME APP
        AppSection::updateOrCreate(['name' => 'Comunidad', 'path' => '/youtube', 'tab' => 'social', 'description' => 'Seccion de comunidad', 'button_width' => 6, 'icon_name' => 'share-social-outline', 'button_order' => 10, 'enable_on_home' => 0, 'enable_on_tabs' => 1, 'active' => 1]);

        // Secciones principales HOME APP
        AppSection::updateOrCreate(['name' => 'Partidos', 'path' => '/home', 'description' => 'Sección de partidos', 'button_width' => 6, 'button_order' => 1, 'enable_on_home' => 0, 'icon_name' => 'information-circle-outline', 'enable_section_on_home' => 1, 'active' => 1]);
        AppSection::updateOrCreate(['name' => 'Noticias', 'path' => '/home', 'description' => 'Sección de noticias', 'button_width' => 6, 'button_order' => 2, 'enable_on_home' => 0, 'icon_name' => 'information-circle-outline', 'enable_section_on_home' => 1, 'active' => 1]);
        AppSection::updateOrCreate(['name' => 'Redes Sociales', 'path' => '/home', 'description' => 'Sección de redes sociales', 'button_width' => 6, 'button_order' => 3, 'enable_on_home' => 0, 'icon_name' => 'information-circle-outline', 'enable_section_on_home' => 1, 'active' => 1]);
        AppSection::updateOrCreate(['name' => 'Revista', 'path' => '/home', 'description' => 'Sección de revista', 'button_width' => 6, 'button_order' => 4, 'enable_on_home' => 0, 'icon_name' => 'information-circle-outline', 'enable_section_on_home' => 1, 'active' => 1]);
        AppSection::updateOrCreate(['name' => 'Datos y estadísticas', 'path' => '/home', 'description' => 'Sección de datos y estadísticas', 'button_width' => 6, 'button_order' => 5, 'enable_on_home' => 0, 'icon_name' => 'information-circle-outline', 'enable_section_on_home' => 1, 'active' => 1]);
        AppSection::updateOrCreate(['name' => 'Equipo', 'path' => '/home', 'description' => 'Sección de equipo', 'button_width' => 6, 'button_order' => 6, 'enable_on_home' => 0, 'icon_name' => 'information-circle-outline', 'enable_section_on_home' => 1, 'active' => 1]);
        // Secciones principales HOME APP ingles
        AppSection::updateOrCreate(['name' => 'Matches', 'path' => '/home', 'description' => 'Sección de matches', 'button_width' => 6, 'button_order' => 1, 'enable_on_home' => 0, 'icon_name' => 'information-circle-outline', 'enable_section_on_home' => 1, 'active' => 1]);
        AppSection::updateOrCreate(['name' => 'News', 'path' => '/home', 'description' => 'Sección de news', 'button_width' => 6, 'button_order' => 2, 'enable_on_home' => 0, 'icon_name' => 'information-circle-outline', 'enable_section_on_home' => 1, 'active' => 1]);
        AppSection::updateOrCreate(['name' => 'Social', 'path' => '/home', 'description' => 'Sección de social', 'button_width' => 6, 'button_order' => 3, 'enable_on_home' => 0, 'icon_name' => 'information-circle-outline', 'enable_section_on_home' => 1, 'active' => 1]);
        AppSection::updateOrCreate(['name' => 'Magazine', 'path' => '/home', 'description' => 'Sección de magazine', 'button_width' => 6, 'button_order' => 4, 'enable_on_home' => 0, 'icon_name' => 'information-circle-outline', 'enable_section_on_home' => 1, 'active' => 1]);
        AppSection::updateOrCreate(['name' => 'Stats', 'path' => '/home', 'description' => 'Sección de stats', 'button_width' => 6, 'button_order' => 5, 'enable_on_home' => 0, 'icon_name' => 'information-circle-outline', 'enable_section_on_home' => 1, 'active' => 1]);
        AppSection::updateOrCreate(['name' => 'Team', 'path' => '/home', 'description' => 'Sección de team', 'button_width' => 6, 'button_order' => 6, 'enable_on_home' => 0, 'icon_name' => 'information-circle-outline', 'enable_section_on_home' => 1, 'active' => 1]);
    }
}