feat(web): update header title

This commit is contained in:
Baoshuo Ren 2022-03-17 12:50:19 +08:00
parent 588bf6e3cc
commit 1815f546bd
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -249,7 +249,13 @@
<li class="nav-item" role="presentation"><a class="nav-link" href="<?= HTML::url('/register') ?>"><?= UOJLocale::get('register') ?></a></li>
<?php endif ?>
</ul>
<h1 class="d-none d-sm-block"><a href="<?= HTML::url('/') ?>"><img src="<?= HTML::url('/images/logo_small.png') ?>" alt="Logo" class="img-rounded" style="width:39px; height:39px;" /></a> <?= $PageMainTitle ?></h1>
<h1 class="d-none d-sm-block" style="position: relative; top: 4px; width: 15em">
<a href="<?= HTML::url('/') ?>">
<img src="<?= HTML::url('/images/logo_small.png') ?>" alt="Logo" class="img-rounded" style="width: 39px; height: 39px; position: relative; top: -4px; margin-right: 8px;" />
</a>
<span class="u" style="position: absolute; font-size: 13px; letter-spacing: 10px; left: 48px;">S2 Online Judge</span>
<span class="d" style="position: absolute; font-size: 26px; top: 11px;">在线评测系统</span>
</h1>
<h1 class="d-block d-sm-none"><?= $PageMainTitleOnSmall ?></h1>
</div>