added logo

This commit is contained in:
cornernote 2015-08-08 19:27:58 +09:30
parent 8c73bac065
commit 86ad1f95ce
4 changed files with 16 additions and 4 deletions

View File

@ -7,6 +7,10 @@ body {
padding-top: 50px;
}
#logo {
margin-right: 20px;
}
/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
position: relative;

View File

@ -1,14 +1,22 @@
<?php
/* @var $this \yii\web\View */
use yii\helpers\Html;
use yii\helpers\Url;
?>
<div class="jumbotron">
<div class="container">
<h1><?= Yii::$app->name; ?></h1>
<?= Html::img(Yii::getAlias('@web') . '/logo.png', [
'id' => 'logo',
'class' => 'pull-left',
]) ?>
<div>
<h1><?= Yii::$app->name; ?></h1>
<p>A package manager for Minetest.</p>
<p>A package manager for Minetest.</p>
</div>
<!--
<p>

View File

@ -16,10 +16,10 @@ $this->params['jumbotron'] = '/site/_index-jumbotron';
<p>Bower is a command line utility. Install it with npm.</p>
<pre>$ npm install -g bower</pre>
<p>Bower requires <a href="http://nodejs.org/">Node</a> and npm and <a href="http://git-scm.com/">Git</a>.</p>
<p>Bower requires <a href="http://nodejs.org/">Node and npm</a> and <a href="http://git-scm.com/">Git</a>.</p>
<h2>Configure Bower</h2>
<p>Create <code>.bowerrc</code> in your home directory or minetest folder:</p>
<p>Create a <code>.bowerrc</code> file in your home directory or minetest folder with the following contents.</p>
<pre>{
"registry": "https://minetest-bower.herokuapp.com/",
"directory" : "mods"

BIN
web/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB