getTable())->truncate(); StaticPage::query()->make( [ 'seo_title' => 'Seo title pour la page contactez nous', 'seo_description' => 'Seo description pour la page contactez nous', 'title' => 'Contactez-nous', 'slug' => Str::slug('Contactez-nous'), 'type' => StaticPageType::contact, 'content' => \clean(\fake()->randomHtml(2, 3)), ] )->saveQuietly(); StaticPage::query()->make( [ 'seo_title' => 'Seo title pour la page mentions légales', 'seo_description' => 'Seo description pour la page mentions légales', 'title' => 'Mentions légales', 'slug' => Str::slug('Mentions légales'), 'type' => StaticPageType::legals, 'content' => \clean(\fake()->randomHtml(2, 3)), ] )->saveQuietly(); StaticPage::query()->make( [ 'seo_title' => 'Seo title pour la page charte de confidentialité', 'seo_description' => 'Seo description pour la page charte de confidentialité', 'title' => 'Charte de confidentialité', 'slug' => Str::slug('Charte de confidentialité'), 'type' => StaticPageType::confidentiality, 'content' => \clean(\fake()->randomHtml(2, 3)), ] )->saveQuietly(); StaticPage::query()->make( [ 'seo_title' => 'Seo title pour la page d\'accueil', 'seo_description' => 'Seo description pour la page d\'accueil', 'title' => 'Accueil', 'slug' => Str::slug('Accueil'), 'type' => StaticPageType::home, 'content' => \clean(\fake()->randomHtml(2, 3)), ] )->saveQuietly(); StaticPage::query()->make( [ 'seo_title' => 'Seo title pour la page Nos gammes', 'seo_description' => 'Seo description pour la page Nos gammes', 'title' => 'Nos gammes', 'slug' => Str::slug('Nos gammes'), 'type' => StaticPageType::ranges, 'content' => \clean(\fake()->randomHtml(2, 3)), ] )->saveQuietly(); StaticPage::query()->make( [ 'seo_title' => 'Seo title pour la page Une Gamme', 'seo_description' => 'Seo description pour la page Une Gamme', 'title' => 'Une Gamme', 'slug' => Str::slug('Une Gamme'), 'type' => StaticPageType::range, 'content' => \clean(\fake()->randomHtml(2, 3)), ] )->saveQuietly(); StaticPage::query()->make( [ 'seo_title' => 'Seo title pour la page Actualités', 'seo_description' => 'Seo description pour la page Actualités', 'title' => 'Actualités', 'slug' => Str::slug('Actualités'), 'type' => StaticPageType::news, 'content' => \clean(\fake()->randomHtml(2, 3)), ] )->saveQuietly(); StaticPage::query()->make( [ 'seo_title' => 'Seo title pour la page Le Klub', 'seo_description' => 'Seo description pour la page Le Klub', 'title' => 'Le Klub', 'slug' => Str::slug('Le Klub'), 'type' => StaticPageType::klub, 'content' => \clean(\fake()->randomHtml(2, 3)), ] )->saveQuietly(); StaticPage::query()->make( [ 'seo_title' => 'Seo title pour la page Le Klub - Inscription', 'seo_description' => 'Seo description pour la page Le Klub - Inscription', 'title' => 'Le Klub - Inscription', 'slug' => Str::slug('Le Klub - Inscription'), 'type' => StaticPageType::klub_register, 'content' => \clean(\fake()->randomHtml(2, 3)), ] )->saveQuietly(); StaticPage::query()->make( [ 'seo_title' => 'Seo title pour la page Notre Histoire', 'seo_description' => 'Seo description pour la page Notre Histoire', 'title' => 'Notre Histoire', 'slug' => Str::slug('Notre Histoire'), 'type' => StaticPageType::history, 'content' => \clean(\fake()->randomHtml(2, 3)), ] )->saveQuietly(); StaticPage::query()->make( [ 'seo_title' => 'Seo title pour la page Nos Engagements', 'seo_description' => 'Seo description pour la page Nos Engagements', 'title' => 'Nos Engagements', 'slug' => Str::slug('Nos Engagements'), 'type' => StaticPageType::commitments, 'content' => \clean(\fake()->randomHtml(2, 3)), ] )->saveQuietly(); StaticPage::query()->make( [ 'seo_title' => 'Seo title pour la page Règlement du jeu', 'seo_description' => 'Seo description pour la page Règlement du jeu', 'title' => 'Règlement du jeu', 'slug' => Str::slug('Règlement du jeu'), 'type' => StaticPageType::rules, 'content' => \clean(\fake()->randomHtml(2, 3)), ] )->saveQuietly(); } }