Skip to content

Commit 7733821

Browse files
committed
refactor: reorganize components source files
1 parent 94dc661 commit 7733821

20 files changed

Lines changed: 33 additions & 26 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { default as DR } from "./DR.astro";
2+
export { default as DRList } from "./DRList.astro";

src/components/FeatureTestMacro.astro renamed to src/components/feature-test-macro/FeatureTestMacro.astro

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
export { default as FeatureTestMacroValue } from "./FeatureTestMacroValue.astro";
3-
42
interface Props {
53
name: string;
64
}
File renamed without changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { default as FeatureTestMacro } from "./FeatureTestMacro.astro";
2+
export { default as FeatureTestMacroValue } from "./FeatureTestMacroValue.astro";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import type { Language } from "@src/types";
3-
import DocLink from "./DocLink.astro";
3+
import DocLink from "../DocLink.astro";
44
55
export interface Props {
66
lang: Language;

src/components/header/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export { default as CHeader } from "./CHeader.astro";
2+
export { default as CppHeader } from "./CppHeader.astro";
3+
export { default as Header } from "./Header.astro";

0 commit comments

Comments
 (0)