Skip to content

Commit 703e519

Browse files
committed
Reorganize components
1 parent 79ca846 commit 703e519

10 files changed

Lines changed: 8 additions & 8 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
modeTitleId,
1616
navId,
1717
navListId,
18-
} from "@/components/page/header.ids.ts";
18+
} from "@/components/layout/page/header.ids.ts";
1919
---
2020

2121
<header id={headerId} class="header no-decor">
@@ -107,7 +107,7 @@ import {
107107
modeTitleId,
108108
navId,
109109
navListId,
110-
} from "@/components/page/header.ids.ts";
110+
} from "@/components/layout/page/header.ids.ts";
111111
import FocusTrap from "@/lib/focus-trap.ts";
112112
import Store from "@/lib/store.ts";
113113
import { colors } from "@/styles/data/colors.json";
File renamed without changes.

src/layout/page.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
import "@/styles/page.scss";
33
4-
import Fonts from "@/components/page/fonts.astro";
5-
import Footer from "@/components/page/footer.astro";
6-
import Header from "@/components/page/header.astro";
4+
import Fonts from "@/components/layout/page/fonts.astro";
5+
import Footer from "@/components/layout/page/footer.astro";
6+
import Header from "@/components/layout/page/header.astro";
77
88
type Props = { title: string };
99
const { title } = Astro.props;

src/pages/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
import Hero from "@/components/about/hero.astro";
3-
import Section from "@/components/about/section.astro";
2+
import Hero from "@/components/pages/about/hero.astro";
3+
import Section from "@/components/pages/about/section.astro";
44
import Page from "@/layout/page.astro";
55
---
66

src/pages/projects.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import ItemCard from "@/components/projects/item-card.astro";
2+
import ItemCard from "@/components/pages/projects/item-card.astro";
33
import Page from "@/layout/page.astro";
44
55
import eslintConfigMcecodeGif from "@/assets/eslint-config-mcecode.gif";

0 commit comments

Comments
 (0)