Add Erinnerung (reference) section with articles for Deutsch, Mathe, Englisch
- Migration, model, admin+child controllers, all views - 17 seeded articles: Nomen, Verben, Adjektive, Zeitformen, Satzarten, Wortarten, Ganze Zahlen, Grundrechenarten, Einmaleins, Geometrie, Brüche, Zahlen/Farben/Wochentage/Sätze/Tiere auf Englisch - CSS for .ref-content (h2/h3/p/ul/table + .beispiel/.tipp/.merke blocks) - Child nav + admin sidebar links
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
class ReferenceArticle extends Model {
|
||||
protected $fillable = ['title','slug','category','icon','content','sort_order'];
|
||||
public static function categories(): array {
|
||||
return ['deutsch' => '📖 Deutsch', 'mathe' => '🔢 Mathe', 'englisch' => '🌍 Englisch'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user