added the logo to the config

This commit is contained in:
Notoric 2025-03-06 21:22:02 +00:00
parent 5266f0562c
commit 9b35f72ed0
2 changed files with 2 additions and 1 deletions

View File

@ -4,4 +4,5 @@ return [
'accent_color' => env('accent_color', '#ff0050'), 'accent_color' => env('accent_color', '#ff0050'),
'footer_left' => env('footer_left', 'Find the repository on <a href="https://github.com/Notoric/slink">GitHub</a>'), 'footer_left' => env('footer_left', 'Find the repository on <a href="https://github.com/Notoric/slink">GitHub</a>'),
'footer_right' => env('footer_right', 'Made by <a href="https://notoric.net">[Notoric]</a>'), 'footer_right' => env('footer_right', 'Made by <a href="https://notoric.net">[Notoric]</a>'),
'logo' => env('logo', '[slink]'), # This can either be plaintext or a HTML element (styling is on you)
]; ];

View File

@ -14,7 +14,7 @@
</style> </style>
<header> <header>
<div class="container"> <div class="container">
<a id="logo" href="/home">[slink]</a> <a id="logo" href="/home">{!! config('user-config.logo') !!}</a>
@if (Auth::check()) @if (Auth::check())
<nav> <nav>
<a href="/profile"><img title="Profile" src="{{ asset('img/icons/profile.svg') }}"></a> <a href="/profile"><img title="Profile" src="{{ asset('img/icons/profile.svg') }}"></a>