jumbotron() html()
A large hero box with a heading and a body.
html()->jumbotron($data = [], $extra = [])Опції
| Опція | Значення |
|---|---|
$data | ['head', 'body' (HTML)]. |
class, id | Classes; id. |
Приклад
Код
return html()->jumbotron([
'head' => 'My big header',
'body' => '<p>A simple hero unit for calling extra attention to featured content.</p><p><a class="btn btn-primary btn-lg" role="button">Learn more</a></p>',
]);Bootstrap 3 and 5
Bootstrap 3 jumbotron; Bootstrap 5 has none: a p-5 mb-4 bg-body-tertiary rounded-3 box.
Див. також: html/panel