diff --git a/config/app.php b/config/app.php index dc2eb1e..57b4a1c 100644 --- a/config/app.php +++ b/config/app.php @@ -125,4 +125,5 @@ return [ 'notice' => env('APP_NOTICE', ''), 'version' => env('APP_VERSION', 'dev'), + 'commit' => env('APP_COMMIT', ''), ]; diff --git a/resources/views/components/footer.blade.php b/resources/views/components/footer.blade.php index 62f4d3e..c0b444f 100644 --- a/resources/views/components/footer.blade.php +++ b/resources/views/components/footer.blade.php @@ -25,6 +25,13 @@
@includeSVG('logo.svg', 'width:10rem;margin-top:-0.2rem;color:#DDD')
-
Made with ❤️ © {{ date('Y') }} STEMMechanics • v{{ config('app.version') }}
+ @php $commit = config('app.commit'); @endphp +
+ Made with ❤️ © {{ date('Y') }} STEMMechanics + • v{{ config('app.version') }} + @if(!empty($commit)) + ({{ substr($commit, 0, 10) }}) + @endif +