UsefulLinksSeeder.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace Database\Seeders\Seeds;
  3. use App\Models\UsefulLink;
  4. use Illuminate\Database\Seeder;
  5. class UsefulLinksSeeder extends Seeder
  6. {
  7. /**
  8. * Run the database seeds.
  9. *
  10. * @return void
  11. */
  12. public function run()
  13. {
  14. UsefulLink::create([
  15. 'icon' => 'fas fa-egg',
  16. 'title' => 'Pterodactyl Panel',
  17. 'link' => env('PTERODACTYL_URL', 'http://localhost'),
  18. 'description' => 'Use your servers on our pterodactyl panel <small>(You can use the same login details)</small>'
  19. ]);
  20. UsefulLink::create([
  21. 'icon' => 'fas fa-database',
  22. 'title' => 'phpMyAdmin',
  23. 'link' => env('PHPMYADMIN_URL', 'http://localhost'),
  24. 'description' => 'View your database online using phpMyAdmin'
  25. ]);
  26. UsefulLink::create([
  27. 'icon' => 'fab fa-discord',
  28. 'title' => 'Discord',
  29. 'link' => env('DISCORD_INVITE_URL' , 'https://discord.gg/4Y6HjD2uyU'),
  30. 'description' => 'Need a helping hand? Want to chat? Got any questions? Join our discord!'
  31. ]);
  32. }
  33. }