1
Fork 0
This commit is contained in:
Korbs 2023-09-10 18:01:53 -04:00
parent 89f2001033
commit 1f57a279ad
No known key found for this signature in database
4 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@ const AllContent = await Astro.glob('../../../../content/*')
<content>
{AllContent.map((component) => (
<div id={component.name} class={component.options}>
<div id={component.name} class:list={[component.options, 'tab-content']}>
<component.default/>
</div>
))}

View file

@ -4,6 +4,6 @@ const AllTabs = await Astro.glob('../../../../content/*')
<sidebar>
{AllTabs.map((tab) =>
<tab data-tab={tab.name} class={tab.options}>{tab.name}</tab>
<tab data-tab={tab.name} class:list={[tab.options]}>{tab.name}</tab>
)}
</sidebar>

View file

@ -18,6 +18,6 @@ import '../styles/components/sidebar.scss'
<Sidebar/>
<Content/>
<script>
import "../scripts/sidebar.js";
import "../scripts/sidebar.js"
</script>
</App>

View file

@ -11,7 +11,8 @@
"astro:start": "astro dev --root ./.app/astro/",
"astro:build": "astro build --silent --root ./.app/astro/",
"electron:start": "NODE_ENV=development electron .",
"electron:build": "electron-builder --config ./.build/electron-builder.ts"
"electron:build": "electron-builder --config ./.build/electron-builder.ts",
"electron:postinstall": "cd node_modules/electron && bun postinstall"
},
"compilerOptions": {
"types": ["bun-types"]
@ -19,7 +20,6 @@
"dependencies": {
"@astrojs/mdx": "^1.0.3",
"astro": "^3.0.12",
"astro-color-scheme": "^1.1.2",
"electron-titlebar-respect": "^1.1.2",
"typescript": "^5.2.2"
},