Make asset library match main site theme better, add a direct link back

This commit is contained in:
Bojidar Marinov
2020-05-17 20:33:18 +03:00
parent c82b305c21
commit f5d2b92e46
2 changed files with 5 additions and 2 deletions

2
assets/logo.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

@@ -33,7 +33,7 @@
<body>
<!-- Navigation -->
<nav class="navbar navbar-inverse navbar-static-top" role="navigation">
<nav class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
@@ -43,7 +43,8 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="<?php echo raw($basepath) ?>">Godot Asset Library</a>
<a class="navbar-brand" href="https://godotengine.org" style="padding: 7px;"><img alt="Godot" src="<?php echo raw($basepath) ?>/assets/logo.svg" height="100%" style="display: inline"> </a>
<a class="navbar-brand" href="<?php echo raw($basepath) ?>" style="padding: 14px;">| Asset Library</a>
</div>
<?php global $gPaths; $gPaths = [$basepath, $path];