Skip to content

Commit 71631fe

Browse files
committed
added/improved texts
1 parent 63c7c89 commit 71631fe

File tree

5 files changed

+16
-9
lines changed

5 files changed

+16
-9
lines changed

src/views/layouts/_search.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="container">
55
<div class="col-xs-12 col-md-9" style="padding:0px 0 10px 0">
66
<form name="search_query" method="get" action="/site/search" id="search-form" autocomplete="off">
7-
<input type="search" id="query" name="query" required="required" autocomplete="off" placeholder="bower-asset/package-name" tabindex="1" class="form-control"/>
7+
<input type="search" id="query" name="query" required="required" autocomplete="off" placeholder="bower-asset/package-name to add/check" tabindex="1" class="form-control"/>
88
</form>
99
</div>
1010
</div>

src/views/layouts/main.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
'items' => [
3939
['label' => 'About', 'url' => ['/site/about']],
4040
['label' => 'Contact', 'url' => ['/site/contact']],
41-
['label' => 'GitHub', 'url' => 'https://github.com/hiqdev/asset-packagist.hiqdev.com'],
41+
['label' => 'GitHub', 'url' => 'https://github.com/hiqdev/asset-packagist'],
4242
],
4343
]);
4444
NavBar::end();

src/views/site/about.php

+7-4
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@
55
use yii\helpers\Html;
66

77
$this->title = 'About';
8-
$this->params['breadcrumbs'][] = $this->title;
98
?>
109
<div class="site-about">
1110
<h1><?= Html::encode($this->title) ?></h1>
1211

13-
<p>
14-
Here is going to be more information on how it works.
15-
</p>
12+
<p>Here is going to be more information on how it works.</p>
13+
14+
<p>Basically it provides Bower and NPM packages information in the same way as packagist does it for Composer projects</p>
15+
16+
<h1>Acknowledgements</h1>
17+
18+
<p>It uses Francois Pluchino's <a href="https://github.com/francoispluchino/composer-asset-plugin">composer-asset-plugin</a> to convert Bower and NPM packages to composer format.</p>
1619
</div>

src/views/site/contact.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
use yii\helpers\Html;
88

99
$this->title = 'Contact';
10-
$this->params['breadcrumbs'][] = $this->title;
10+
1111
?>
1212
<div class="site-contact">
1313
<h1><?= Html::encode($this->title) ?></h1>
1414

1515
<p>
1616
You can contact us in several ways:
1717
<ul>
18-
<li><a href="https://github.com/hiqdev/asset-packagist.hiqdev.com/issues">GitHub issues</a> - this is the preferred way, you can contribute too</li>
18+
<li><a href="https://github.com/hiqdev/asset-packagist/issues">GitHub issues</a> is the preferred way, you're welcome to contribute too</li>
1919
<li>my email: <a href="mailto:sol@hiqdev.com">sol@hiqdev.com</a></li>
2020
</ul>
2121
</p>

src/views/site/index.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
<p><b>NO</b> plugins and <b>NO</b> Node.js are required.</p>
2929
</p>
3030

31+
<p>At the moment we've added 1000+ most popular Bower and 1000+ NPM packages.</p>
32+
<p>Please check/add packages you want to use with the form at the top of the page.</p>
33+
3134
<p><a class="btn btn-default" href="/site/about">More info &raquo;</a></p>
3235
</div>
3336
<div class="col-lg-4">
@@ -57,7 +60,8 @@
5760
which introduces various problems. Travis and Scrutinizer integration
5861
problems are especially annoying.
5962
</p>
60-
<p>Questions? <a class="btn btn-default" href="/site/contact">Contact me! &raquo;</a></p>
63+
<p>Questions?</p>
64+
<p><a class="btn btn-default" href="/site/contact">Contact us &raquo;</a></p>
6165
</div>
6266
</div>
6367

0 commit comments

Comments
 (0)