diff --git a/.app/astro/src/components/content.astro b/.app/astro/src/components/content.astro index ca8a470..784c0ba 100644 --- a/.app/astro/src/components/content.astro +++ b/.app/astro/src/components/content.astro @@ -1,5 +1,5 @@ --- -const AllContent = await Astro.glob('../../../../content/*') +const AllContent = await Astro.glob('../../../../content/tabs/*') --- diff --git a/.app/astro/src/components/sidebar.astro b/.app/astro/src/components/sidebar.astro index 09c48a2..51f6703 100644 --- a/.app/astro/src/components/sidebar.astro +++ b/.app/astro/src/components/sidebar.astro @@ -1,9 +1,54 @@ --- -const AllTabs = await Astro.glob('../../../../content/*') +// Configurations +import { info, config, sidebar, tabs } from '../../../../configuration' + +const tabFontSize = sidebar.tabFontSize +const tabVerticalPadding = sidebar.tabVerticalPadding + +// Content +const AllTabs = await Astro.glob('../../../../content/tabs/*') --- - - {AllTabs.map((tab) => - {tab.name} - )} - \ No newline at end of file + +
+
+ +

{info.name}

+
+
+ + +
+
+
+ {tabs.customOrder ? + null + : + AllTabs.map((tab) => + {tab.name} + ) + } +
+
+ + + + \ No newline at end of file diff --git a/content/sample.astro b/content/sample.astro deleted file mode 100644 index b0d31be..0000000 --- a/content/sample.astro +++ /dev/null @@ -1,4 +0,0 @@ ---- -export const name = 'Sample' -export const options = 'active' ---- \ No newline at end of file