update
This commit is contained in:
parent
89f2001033
commit
1f57a279ad
4 changed files with 5 additions and 5 deletions
|
@ -4,7 +4,7 @@ const AllContent = await Astro.glob('../../../../content/*')
|
||||||
|
|
||||||
<content>
|
<content>
|
||||||
{AllContent.map((component) => (
|
{AllContent.map((component) => (
|
||||||
<div id={component.name} class={component.options}>
|
<div id={component.name} class:list={[component.options, 'tab-content']}>
|
||||||
<component.default/>
|
<component.default/>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|
|
@ -4,6 +4,6 @@ const AllTabs = await Astro.glob('../../../../content/*')
|
||||||
|
|
||||||
<sidebar>
|
<sidebar>
|
||||||
{AllTabs.map((tab) =>
|
{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>
|
</sidebar>
|
|
@ -18,6 +18,6 @@ import '../styles/components/sidebar.scss'
|
||||||
<Sidebar/>
|
<Sidebar/>
|
||||||
<Content/>
|
<Content/>
|
||||||
<script>
|
<script>
|
||||||
import "../scripts/sidebar.js";
|
import "../scripts/sidebar.js"
|
||||||
</script>
|
</script>
|
||||||
</App>
|
</App>
|
|
@ -11,7 +11,8 @@
|
||||||
"astro:start": "astro dev --root ./.app/astro/",
|
"astro:start": "astro dev --root ./.app/astro/",
|
||||||
"astro:build": "astro build --silent --root ./.app/astro/",
|
"astro:build": "astro build --silent --root ./.app/astro/",
|
||||||
"electron:start": "NODE_ENV=development electron .",
|
"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": {
|
"compilerOptions": {
|
||||||
"types": ["bun-types"]
|
"types": ["bun-types"]
|
||||||
|
@ -19,7 +20,6 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/mdx": "^1.0.3",
|
"@astrojs/mdx": "^1.0.3",
|
||||||
"astro": "^3.0.12",
|
"astro": "^3.0.12",
|
||||||
"astro-color-scheme": "^1.1.2",
|
|
||||||
"electron-titlebar-respect": "^1.1.2",
|
"electron-titlebar-respect": "^1.1.2",
|
||||||
"typescript": "^5.2.2"
|
"typescript": "^5.2.2"
|
||||||
},
|
},
|
||||||
|
|
Reference in a new issue