@extends('layouts.app', ['title' => 'ইতালিয়ান ব্যাকরণ গাইড (Grammatica)']) @section('content')

ইতালিয়ান ব্যাকরণ গাইড (Grammatica)

A0 থেকে C1 লেভেলের সমস্ত রুলস, ভার্ব কনজুগেশন ও উদাহরণ

সকল লেভেল @foreach(['A0', 'A1', 'A2', 'B1', 'B2', 'C1'] as $lvl) {{ $lvl }} @endforeach
@php $bgColors = [ 'from-pink-50 to-rose-50 border-pink-200 text-pink-950', 'from-sky-50 to-blue-50 border-sky-200 text-sky-950', 'from-amber-50 to-orange-50 border-amber-200 text-amber-950', 'from-purple-50 to-indigo-50 border-purple-200 text-purple-950', 'from-emerald-50 to-teal-50 border-emerald-200 text-emerald-950', 'from-cyan-50 to-teal-50 border-cyan-200 text-cyan-950', ]; @endphp @foreach($grammars as $idx => $g) @php $colorClass = $bgColors[$idx % count($bgColors)]; @endphp
লেভেল {{ $g->level }} · অধ্যায় {{ $idx + 1 }}

{{ $g->topic_it }}

{{ $g->topic_bn }}

{{ $g->content }}

@php $rules = is_array($g->rules) ? $g->rules : (json_decode($g->rules, true) ?? []); @endphp @if(!empty($rules))
📋 মূল সূত্র ও রুলস (Regole):
@foreach($rules as $r)
{{ is_array($r) ? implode(' — ', $r) : $r }}
@endforeach
@endif @php $examples = is_array($g->examples) ? $g->examples : (json_decode($g->examples, true) ?? []); @endphp @if(!empty($examples))
💡 বাস্তব উদাহরণ (Esempi): @foreach($examples as $ex)
"{{ $ex['it'] ?? $ex }}" @if(isset($ex['bn'])) {{ $ex['bn'] }} @endif
@endforeach
@endif
@endforeach
@endsection