File tree 5 files changed +9
-5
lines changed
5 files changed +9
-5
lines changed File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 27
27
<div class="wrap">
28
28
<?php
29
29
NavBar::begin ([
30
- 'brandLabel ' => Yii::$ app ->params [ ' logo-text ' ] ,
30
+ 'brandLabel ' => Yii::$ app ->name ,
31
31
'brandUrl ' => Yii::$ app ->homeUrl ,
32
32
'options ' => [
33
33
'class ' => 'navbar-inverse navbar-fixed-top ' ,
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ use hiqdev \assetpackagist \assets \AppAsset ;
4
+
3
5
/* @var $this yii\web\View */
4
6
5
- $ this ->title = Yii::$ app ->params ['logo-text ' ];
7
+ $ logoUrl = AppAsset::register ($ this )->baseUrl . '/logo ' ;
8
+
9
+ $ this ->title = Yii::$ app ->name ;
6
10
?>
7
11
<div class="site-index">
8
12
<div style="text-align:center;margin:30px 0px 20px">
9
13
<div>
10
- <img src="/logo /composer.png" height="140px">
11
- <img src="/logo /bower.svg" height="100px" style="margin:10px">
12
- <img src="/logo /npm.svg" height="80px" style="margin:10px">
14
+ <img src="<?= $ logoUrl ?> /composer.png" height="140px">
15
+ <img src="<?= $ logoUrl ?> /bower.svg" height="100px" style="margin:10px">
16
+ <img src="<?= $ logoUrl ?> /npm.svg" height="80px" style="margin:10px">
13
17
<h3>Composer + Bower + NPM = friends forever!</h3>
14
18
</div>
15
19
</div>
You can’t perform that action at this time.
0 commit comments