refactor, fix: move some widgets to widgets/index

This commit is contained in:
xHyroM 2023-01-03 13:21:24 +01:00
parent 1f1608336d
commit 04e44fadc5
5 changed files with 7 additions and 7 deletions

View file

@ -1,8 +1,8 @@
--- ---
import Socials from "../widgets/Socials.astro"; import Socials from "./Socials.astro";
import { Image } from "@astrojs/image/components"; import { Image } from "@astrojs/image/components";
import logo from "../../assets/logo.png"; import logo from "../../../assets/logo.png";
import Name from "../widgets/Name.astro"; import Name from "./Name.astro";
--- ---
<main <main

View file

@ -1,7 +1,7 @@
--- ---
import Container from "../components/atoms/Container.astro"; import Container from "../../components/atoms/Container.astro";
import Navbar from "../components/widgets/Navbar.astro"; import Navbar from "../../components/widgets/Navbar.astro";
import Layout from "./Layout.astro" import Layout from "../Layout.astro"
export interface Props { export interface Props {
content: { content: {

View file

@ -1,6 +1,6 @@
--- ---
import Layout from "../layouts/Layout.astro"; import Layout from "../layouts/Layout.astro";
import Hero from "../components/widgets/Hero.astro"; import Hero from "../components/widgets/index/Hero.astro";
import Navbar from "../components/widgets/Navbar.astro"; import Navbar from "../components/widgets/Navbar.astro";
--- ---