diff --git a/src/docs/Layouts/Main.svelte b/src/docs/Layouts/Main.svelte index 926628e..7565021 100644 --- a/src/docs/Layouts/Main.svelte +++ b/src/docs/Layouts/Main.svelte @@ -3,8 +3,7 @@ import Th from './custom/Th.svelte'; import Tr from './custom/Tr.svelte'; import Td from './custom/Td.svelte'; - import H1 from './custom/H1.svelte'; - import H2 from './custom/H2.svelte'; + import { H1, H2 } from './custom/H'; export { Table as table, Th as th, diff --git a/src/docs/Layouts/custom/H.svelte b/src/docs/Layouts/custom/H/H.svelte similarity index 57% rename from src/docs/Layouts/custom/H.svelte rename to src/docs/Layouts/custom/H/H.svelte index 46d6274..fed2c10 100644 --- a/src/docs/Layouts/custom/H.svelte +++ b/src/docs/Layouts/custom/H/H.svelte @@ -1,6 +1,6 @@ - - - {title} - {#if !title} - - {/if} - - +
+ + + {title} + {#if !title} + + {/if} + + +
diff --git a/src/docs/Layouts/custom/H/H1/H1Dom.svelte b/src/docs/Layouts/custom/H/H1/H1Dom.svelte new file mode 100644 index 0000000..20888ba --- /dev/null +++ b/src/docs/Layouts/custom/H/H1/H1Dom.svelte @@ -0,0 +1,3 @@ +

+ +

diff --git a/src/docs/Layouts/custom/H/H2/H2.svelte b/src/docs/Layouts/custom/H/H2/H2.svelte new file mode 100644 index 0000000..e774fe0 --- /dev/null +++ b/src/docs/Layouts/custom/H/H2/H2.svelte @@ -0,0 +1,14 @@ + + + + + + + diff --git a/src/docs/Layouts/custom/H/H2/H2Dom.svelte b/src/docs/Layouts/custom/H/H2/H2Dom.svelte new file mode 100644 index 0000000..8a99575 --- /dev/null +++ b/src/docs/Layouts/custom/H/H2/H2Dom.svelte @@ -0,0 +1,3 @@ +

+ +

diff --git a/src/docs/Layouts/custom/H/index.js b/src/docs/Layouts/custom/H/index.js new file mode 100644 index 0000000..3562458 --- /dev/null +++ b/src/docs/Layouts/custom/H/index.js @@ -0,0 +1,7 @@ +import H1 from './H1/H1.svelte' +import H2 from './H2/H2.svelte' + +export { + H1, + H2 +} diff --git a/src/docs/Layouts/custom/H1.svelte b/src/docs/Layouts/custom/H1.svelte deleted file mode 100644 index 329c9fb..0000000 --- a/src/docs/Layouts/custom/H1.svelte +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/src/docs/Layouts/custom/H2.svelte b/src/docs/Layouts/custom/H2.svelte deleted file mode 100644 index ee3940e..0000000 --- a/src/docs/Layouts/custom/H2.svelte +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/src/docs/Layouts/custom/dom/H1.svelte b/src/docs/Layouts/custom/dom/H1.svelte deleted file mode 100644 index b444148..0000000 --- a/src/docs/Layouts/custom/dom/H1.svelte +++ /dev/null @@ -1,9 +0,0 @@ -

- -

- - diff --git a/src/docs/Layouts/custom/dom/H2.svelte b/src/docs/Layouts/custom/dom/H2.svelte deleted file mode 100644 index 6b10d49..0000000 --- a/src/docs/Layouts/custom/dom/H2.svelte +++ /dev/null @@ -1,9 +0,0 @@ -

- -

- -