Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Website logo and icon can now be changed via the admin interface #406

Merged
merged 1 commit into from
Sep 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/views/base.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

<title>{{ config('app.name', 'Aimeos') }}</title>

<link rel="icon" href="{{asset('aimeos/' . app( 'aimeos.context' )->get()->getLocale()->getSiteItem()->getIcon())}}"/>

<link rel="preload" href="/vendor/shop/themes/default/fonts/roboto-condensed-v19-latin/roboto-condensed-v19-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/vendor/shop/themes/default/fonts/roboto-condensed-v19-latin/roboto-condensed-v19-latin-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/vendor/shop/themes/default/fonts/bootstrap-icons.woff2" as="font" type="font/woff2" crossorigin>
Expand All @@ -24,7 +26,7 @@
<body>
<nav class="navbar navbar-expand-md navbar-light navbar-top">
<a class="navbar-brand" href="/" title="Logo">
<img src="https://aimeos.org/media/logo-white.svgz" height="40" title="Logo">
<img src="{{asset('aimeos/' . app( 'aimeos.context' )->get()->getLocale()->getSiteItem()->getLogo())}}" height="40" title="Logo">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
Expand Down