From 11acd422e7f881c523bc36a18b600cde34ee3a9d Mon Sep 17 00:00:00 2001 From: Sat Naing Date: Fri, 23 Sep 2022 00:13:17 +0630 Subject: [PATCH] Add dynamic logo image and logo text --- src/components/Header.astro | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/components/Header.astro b/src/components/Header.astro index a7290e3..35331f5 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,7 +1,8 @@ --- -import { SITE } from "src/config"; +import { LOGO_IMAGE, SITE } from "src/config"; import Hr from "./Hr.astro"; import LinkButton from "./LinkButton.astro"; +import logo from "/assets/logo.svg"; export interface Props { activeNav?: "posts" | "tags" | "about" | "search"; @@ -14,7 +15,20 @@ const { activeNav } = Astro.props; Skip to content