diff --git a/webseite/classes/SubjectData.php b/webseite/classes/SubjectData.php index 7f79d4f..fc6fa72 100644 --- a/webseite/classes/SubjectData.php +++ b/webseite/classes/SubjectData.php @@ -28,11 +28,6 @@ class SubjectData */ public string $color; - /** - * @var string Text des Knopfes der auf die Fachseite weiterführt, nur reiner Text - */ - public string $buttonText; - /** * @var string Icon des Faches als Font-Awesome CSS-Klasse */ @@ -108,12 +103,6 @@ class SubjectData return null; } - if (isset($data->buttonText)) { - $result->buttonText = $data->buttonText; - } else { - return null; - } - if (isset($data->icon)) { $result->icon = $data->icon; } else { diff --git a/webseite/config/subjects/deutsch/properties.json b/webseite/config/subjects/deutsch/properties.json index 08c572e..099226f 100644 --- a/webseite/config/subjects/deutsch/properties.json +++ b/webseite/config/subjects/deutsch/properties.json @@ -2,6 +2,5 @@ "displayName": "Deutsch", "description": "Deutsch ist rot", "color": "#ef4444", - "buttonText": "Erfahre von einem ungeheuren Ungeziefer", "icon": "fa-book" } \ No newline at end of file diff --git a/webseite/config/subjects/englisch/properties.json b/webseite/config/subjects/englisch/properties.json index 28fe195..df5ea24 100644 --- a/webseite/config/subjects/englisch/properties.json +++ b/webseite/config/subjects/englisch/properties.json @@ -2,6 +2,5 @@ "displayName": "Englisch", "description": "He she it das s muss mit!", "color": "#17B750", - "buttonText": "--", "icon": "fa-language" } \ No newline at end of file diff --git a/webseite/config/subjects/mathe/properties.json b/webseite/config/subjects/mathe/properties.json index c1adc41..ff8bc94 100644 --- a/webseite/config/subjects/mathe/properties.json +++ b/webseite/config/subjects/mathe/properties.json @@ -2,6 +2,5 @@ "displayName": "Mathe", "description": "Mathe ist blau", "color": "#3b82f6", - "buttonText": "Jetzt rechnen!", "icon": "fa-square-root-alt" } \ No newline at end of file