UsefulLinksSeeder.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. 'position' => 'dashboard',
  20. ]);
  21. UsefulLink::create([
  22. 'icon' => 'fas fa-database',
  23. 'title' => 'phpMyAdmin',
  24. 'link' => env('PHPMYADMIN_URL', 'http://localhost'),
  25. 'description' => 'View your database online using phpMyAdmin',
  26. 'position' => 'dashboard,topbar',
  27. ]);
  28. UsefulLink::create([
  29. 'icon' => 'fab fa-discord',
  30. 'title' => 'Discord',
  31. 'link' => env('DISCORD_INVITE_URL', 'https://discord.gg/4Y6HjD2uyU'),
  32. 'description' => 'Need a helping hand? Want to chat? Got any questions? Join our discord!',
  33. 'position' => 'dashboard',
  34. ]);
  35. }
  36. }