Skip to content

Commit 5878a86

Browse files
committed
Remove Yii version display from the index page and adjust button styling for consistency.
1 parent 4e174ac commit 5878a86

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/usecase/site/view/index.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010
?>
1111
<div class="jumbotron jumbotron-fluid text-center">
1212
<h1 class="display-2 fw-bold"><?= Yii::t('app.basic', 'Web Application') ?></h1>
13-
<p class="lead fw-bold"><?= Yii::t('app.basic', 'Yii v.22') ?></p>
1413
<?= Html::a(
1514
Yii::t('app.basic', 'Get Started'),
1615
'https://www.yiiframework.com/doc/',
1716
[
18-
'class' => 'btn btn-primary',
17+
'class' => 'btn btn-primary mt-3',
1918
],
2019
) ?>
2120
</div>

tests/Acceptance/SiteCest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public function homePage(AcceptanceTester $I): void
1717

1818
$I->expectTo('see page index.');
1919
$I->see('Web Application');
20-
$I->see('Yii v.22');
2120
$I->see('English');
2221
}
2322
}

0 commit comments

Comments
 (0)