Skip to content

Commit

Permalink
Update last changes ui/awesome-html-component-bootstrap5.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Mar 29, 2024
1 parent e2f0237 commit 44d651c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Framework/resource/layout/component/alert.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

foreach ($flashMessages as $type => $message) {
if (in_array($type, ['danger', 'dark', 'info', 'success', 'warning'], true) === true) {
$html[] = Alert::widget()->definition('dismissible', $type)->content($message);
$html[] = Alert::widget()->cookbook('dismissible', $type)->content($message);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/Framework/resource/layout/component/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
->width(200)
)
->brandLink(Yii::$app->homeUrl)
->definition('align-right')
->cookbook('align-right')
->menu(Menu::widget()->currentPath(Yii::$app->request->url)->items(...$items))
->render();
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
->active(Yii::$app->language === $value);
}

echo Dropdown::widget()->definition('language')->items(...$items);
echo Dropdown::widget()->cookbook('language')->items(...$items);
2 changes: 1 addition & 1 deletion src/Framework/resource/layout/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
->class('col-md-4 justify-content-end d-flex align-items-center')
->content(
$this->render('component/footer-icons'),
Toggle::Widget()->definition('selector-theme')->id('theme-toggle'),
Toggle::Widget()->cookbook('selector-theme')->id('theme-toggle'),
$this->render('component/toggle_language')
)
)
Expand Down

0 comments on commit 44d651c

Please sign in to comment.