Skip to content

Commit

Permalink
Update dependencies composer.json. (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Mar 31, 2024
1 parent 8f562e8 commit 7608154
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
"npm-asset/flag-icons": "^7.1",
"npm-asset/fortawesome--fontawesome-free": "^6.5",
"sjaakp/yii2-icon": "^1.0",
"ui-awesome/html": "^0.2",
"ui-awesome/html": "^0.3",
"ui-awesome/html-component-bootstrap5": "^1.0@dev",
"ui-awesome/html-helper":"^0.1",
"ui-awesome/html-svg":"^0.1",
"ui-awesome/html-core":"^0.1",
"ui-awesome/html-helper":"^0.2",
"ui-awesome/html-svg":"^0.2",
"yii2-extensions/asset-bootstrap5": "^0.1",
"yii2-extensions/bootstrap5": "^0.1",
"yii2-extensions/localeurls": "dev-main",
Expand Down
6 changes: 3 additions & 3 deletions src/UseCase/Contact/view/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

use App\UseCase\Contact\ContactForm;
use UIAwesome\Html\{FormControl\Input\Submit, Group\Div, Group\P, Helper\Encode, Semantic\H, Tag};
use UIAwesome\Html\{FormControl\Input\Submit, Group\Div, Group\Hr, Group\P, Helper\Encode, Semantic\H};
use yii\{bootstrap5\ActiveForm, captcha\Captcha, symfonymailer\Mailer, web\Session, web\View};

/**
Expand All @@ -25,7 +25,7 @@
?>
<?= H::widget()->content(Encode::content($this->title))->class('fw-bold')->tagName('h1') ?>
<?= P::widget()->content(Yii::t('app.basic', 'Please fill out the following form to contact us.')) ?>
<?= Tag::widget()->class('mb-3')->tagName('hr') ?>
<?= Hr::widget()->class('mb-3') ?>
<?php $form = ActiveForm::begin(
[
'id' => 'contact-form',
Expand Down Expand Up @@ -107,7 +107,7 @@
<?= Div::end() ?>
<?= P::widget()->class('text-center mt-5')->begin() ?>
<?php if ($session->hasFlash('contactFormSubmitted')) : ?>
<?= Tag::widget()->tagName('hr') ?>
<?= Hr::widget() ?>
<?= P::widget()->class('text-center')->begin() ?>
<?= Yii::t(
'app.basic',
Expand Down
4 changes: 2 additions & 2 deletions src/UseCase/Site/view/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use UIAwesome\Html\{Group\Div, Group\P, Helper\Encode, Semantic\H, Tag};
use UIAwesome\Html\{Core\HTMLBuilder, Group\Div, Group\P, Helper\Encode, Semantic\H};
use yii\web\View;

/**
Expand All @@ -21,5 +21,5 @@
'This is the About page. You may modify the following file to customize its content.'
)
),
Tag::widget()->content(__FILE__)->tagName('code'),
HTMLBuilder::createTag('code', __FILE__),
);

0 comments on commit 7608154

Please sign in to comment.