Create Logo.astro
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
import { IconSun, IconGithub, IconMenu, IconRSS } from "~/components/icons";
|
import { IconSun, IconGithub, IconMenu, IconRSS } from "~/components/icons";
|
||||||
|
import Logo from "~/components/widgets/Logo.astro";
|
||||||
const {} = Astro.props;
|
const {} = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -11,10 +12,7 @@ const {} = Astro.props;
|
|||||||
>
|
>
|
||||||
<div class="flex justify-between">
|
<div class="flex justify-between">
|
||||||
<a class="flex items-center" href="/">
|
<a class="flex items-center" href="/">
|
||||||
<span
|
<Logo />
|
||||||
class="self-center ml-2 text-2xl font-extrabold text-gray-900 whitespace-nowrap dark:text-white"
|
|
||||||
>🚀 AstroWind
|
|
||||||
</span>
|
|
||||||
</a>
|
</a>
|
||||||
<div class="flex items-center md:hidden">
|
<div class="flex items-center md:hidden">
|
||||||
<button
|
<button
|
||||||
|
8
src/components/widgets/Logo.astro
Normal file
8
src/components/widgets/Logo.astro
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
---
|
||||||
|
|
||||||
|
<span
|
||||||
|
class="self-center ml-2 text-2xl font-extrabold text-gray-900 whitespace-nowrap dark:text-white"
|
||||||
|
>
|
||||||
|
🚀 AstroWind
|
||||||
|
</span>
|
Reference in New Issue
Block a user