Add logo
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import { localizedPath } from '../lib/i18n';
|
||||
import type { Locale, Dict } from '../lib/i18n';
|
||||
import LangSwitcher from './islands/LangSwitcher.astro';
|
||||
import logo from '../assets/logo.svg';
|
||||
|
||||
interface Props {
|
||||
locale: Locale;
|
||||
@@ -27,7 +28,7 @@ const current = (path: string) =>
|
||||
<header class="header">
|
||||
<div class="container header__inner">
|
||||
<a class="logo" href={localizedPath(locale, '/')}>
|
||||
<span class="logo__mark">D</span>
|
||||
<img class="logo__mark" src={logo.src} alt="Logo" fetchpriority="high" />
|
||||
<span>Devodytyji</span>
|
||||
</a>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user