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:
root
2026-05-05 15:36:29 +00:00
parent 9986f69e9e
commit 90824894dd
13 changed files with 291 additions and 0 deletions
@@ -0,0 +1,19 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
public function up(): void {
Schema::create('reference_articles', function (Blueprint $table) {
$table->id();
$table->string('title');
$table->string('slug')->unique();
$table->enum('category', ['deutsch','mathe','englisch']);
$table->string('icon')->default('📖');
$table->text('content');
$table->unsignedSmallInteger('sort_order')->default(0);
$table->timestamps();
});
}
public function down(): void { Schema::dropIfExists('reference_articles'); }
};