Browse Source

add half-life logo and steam link

main
ghost 9 months ago
parent
commit
263499a22f
  1. 2
      .env
  2. 1
      README.md
  3. 15
      public/css/default.css
  4. 13
      templates/default/layout.html.twig

2
.env

@ -43,7 +43,7 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0 @@ -43,7 +43,7 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
# HLState
# Application version, used for API and media cache
APP_VERSION="1.0.0"
APP_VERSION="1.0.1"
# Application name
APP_NAME="HLState"

1
README.md

@ -37,6 +37,7 @@ Web Monitor for Half-Life based on [HLServers](https://github.com/YGGverse/HLSer @@ -37,6 +37,7 @@ Web Monitor for Half-Life based on [HLServers](https://github.com/YGGverse/HLSer
* [Symfony Framework](https://symfony.com)
* [SVG icons](https://icons.getbootstrap.com)
* [PHP Source Query](https://github.com/xPaw/PHP-Source-Query)
* [Half-Life logo](https://commons.wikimedia.org/wiki/File:Half-Life_lambda_logo.svg)
## Support

15
public/css/default.css

@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
/* vars */
--container-max-width: 768px;
--color-success: #4bc432;
--color-warning: #ee784e;
--color-warning: #f37b21;
--color-error: #ff6363;
--color-default: #999;
}
@ -70,6 +70,19 @@ header @@ -70,6 +70,19 @@ header
display: block;
margin: 16px auto;
max-width: var(--container-max-width);
position: relative;
}
header > h1
{
padding-right: 32px;
}
header > a:first-child
{
position: absolute;
top: -2px;
right: 4px;
}
main

13
templates/default/layout.html.twig

@ -11,7 +11,18 @@ @@ -11,7 +11,18 @@
{% block header_container %}
<header>
{% block header_content %}
<h1 class="text-align-right">
<a href="https://store.steampowered.com/app/70/HalfLife/">
<svg version="1.1" width="20" height="20" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width="364.707px" height="364.707px" viewBox="0 0 364.707 364.707" enable-background="new 0 0 364.707 364.707"
xml:space="preserve">
<path fill="currentColor" d="M223.864,272.729l-38.608-97.848l-56.603,89.184H93.166l79.052-127.654l-8.875-25.229h-30.781V81.12h52.691
l60.521,153.899l26.608-8.668l8.867,29.813L223.864,272.729z"/>
<path fill="none" stroke="currentColor" stroke-width="34" d="M337.623,182.198c0,85.579-69.363,154.934-154.934,154.934
c-85.571,0-154.936-69.354-154.936-154.934c0-85.569,69.363-154.933,154.936-154.933C268.259,27.265,337.623,96.629,337.623,182.198
z"/>
</svg>
</a>
<h1 class="text-align-right padding-right-36-px">
{{ app.name }}
</h1>
{% endblock %}

Loading…
Cancel
Save