Skip to content

Commit

Permalink
feat: add INF and IS master (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonostendorf authored Sep 8, 2024
1 parent aeaf9c4 commit d99add0
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 10 deletions.
37 changes: 29 additions & 8 deletions database/seeders/CourseSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,47 +19,68 @@ public function run(): void
'icon' => 'fa-plug',
'classes' => 'bg-yellow-500 text-white dark:bg-yellow-600',
'show_on_registration' => true,
], [
],
[
'name' => 'B. Sc. Informatik',
'abbreviation' => 'INF',
'icon' => 'fa-laptop-code',
'classes' => 'bg-blue-700 text-white dark:bg-blue-800',
'show_on_registration' => true,
], [
],
[
'name' => 'B. Sc. Media and Communications for Digital Business',
'abbreviation' => 'MCD',
'icon' => 'fa-paint-brush',
'classes' => 'bg-violet-800 text-white dark:bg-violet-900',
'show_on_registration' => false,
], [
],
[
'name' => 'B. Sc. Digital Innovation & Business',
'abbreviation' => 'DIB',
'icon' => 'fa-briefcase',
'classes' => 'bg-fuchsia-700 text-white dark:bg-fuchsia-800',
'show_on_registration' => true,
], [
],
[
'name' => 'B. Sc. Wirtschaftsinformatik',
'abbreviation' => 'WI',
'icon' => 'fa-sack-dollar',
'classes' => 'bg-green-800 text-white dark:bg-green-900',
'show_on_registration' => true,
], [
],
[
'name' => 'B. Eng. Smart Building Engineering',
'abbreviation' => 'SBE',
'icon' => 'fa-house-signal',
'classes' => 'bg-stone-800 text-white dark:bg-stone-900',
'show_on_registration' => false,
], [
],
[
'name' => 'M. Eng. Elektrotechnik',
'abbreviation' => 'ET-Master',
'icon' => 'fa-person-through-window',
'classes' => 'bg-red-500 text-white dark:bg-red-600',
'classes' => 'bg-orange-400 text-white dark:bg-orange-500',
'show_on_registration' => true,
], [
],
[
'name' => 'M. Eng. Information Systems Engineering',
'abbreviation' => 'ISE-Master',
'icon' => 'fa-bug',
'classes' => 'bg-cyan-700 text-white dark:bg-cyan-800',
'show_on_registration' => false,
],
[
'name' => 'M. Sc. Informatik',
'abbreviation' => 'INF-Master',
'icon' => 'fa-code-branch',
'classes' => 'bg-blue-300 text-white dark:bg-blue-400',
'show_on_registration' => true,
],
[
'name' => 'M. Sc. Information Systems',
'abbreviation' => 'IS-Master',
'icon' => 'fa-money-bill-wave',
'classes' => 'bg-red-500 text-white dark:bg-red-600',
'show_on_registration' => true,
],
];
Expand Down
8 changes: 6 additions & 2 deletions resources/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ import {
faSun,
faMoon,
faBriefcase,
faCodeBranch,
faMoneyBillWave,
} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import {
Expand Down Expand Up @@ -56,14 +58,16 @@ library.add(
faBug,
faSun,
faMoon,
faBriefcase
faBriefcase,
faCodeBranch,
faMoneyBillWave,
);

createInertiaApp({
resolve: (name) => {
const page = resolvePageComponent(
`./pages/${name}.vue`,
import.meta.glob("./pages/**/*.vue")
import.meta.glob("./pages/**/*.vue"),
);

page.then((module) => {
Expand Down

0 comments on commit d99add0

Please sign in to comment.