From 04e44fadc5b99433b22eae549c56ae59d25de39a Mon Sep 17 00:00:00 2001 From: xHyroM Date: Tue, 3 Jan 2023 13:21:24 +0100 Subject: [PATCH] refactor, fix: move some widgets to widgets/index --- src/components/widgets/{ => index}/Hero.astro | 6 +++--- src/components/widgets/{ => index}/Name.astro | 0 src/components/widgets/{ => index}/Socials.astro | 0 src/layouts/blog/PostLayout.astro | 6 +++--- src/pages/index.astro | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) rename src/components/widgets/{ => index}/Hero.astro (75%) rename src/components/widgets/{ => index}/Name.astro (100%) rename src/components/widgets/{ => index}/Socials.astro (100%) diff --git a/src/components/widgets/Hero.astro b/src/components/widgets/index/Hero.astro similarity index 75% rename from src/components/widgets/Hero.astro rename to src/components/widgets/index/Hero.astro index dfd5110..95ea8ca 100644 --- a/src/components/widgets/Hero.astro +++ b/src/components/widgets/index/Hero.astro @@ -1,8 +1,8 @@ --- -import Socials from "../widgets/Socials.astro"; +import Socials from "./Socials.astro"; import { Image } from "@astrojs/image/components"; -import logo from "../../assets/logo.png"; -import Name from "../widgets/Name.astro"; +import logo from "../../../assets/logo.png"; +import Name from "./Name.astro"; ---