first commit

This commit is contained in:
2026-01-23 17:28:21 +07:00
commit 29ff8992b9
331 changed files with 30545 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace App\Filament\Admin\Resources\Vocabularies\Schemas;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Components\Textarea;
use Filament\Schemas\Schema;
class VocabularyForm
{
public static function configure(Schema $schema): Schema
{
return $schema
->components([
TextInput::make('word')
->required(),
TextInput::make('reading'),
TextInput::make('romaji'),
TextInput::make('meaning_en'),
TextInput::make('meaning_id'),
TextInput::make('level_id'),
TextInput::make('audio_url')
->url(),
TextInput::make('type'),
Textarea::make('stroke_order_svg')
->columnSpanFull(),
Textarea::make('example_sentences')
->columnSpanFull(),
]);
}
}