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>
|
||||
{AllContent.map((component) => (
|
||||
<div id={component.name} class={component.options}>
|
||||
<div id={component.name} class:list={[component.options, 'tab-content']}>
|
||||
<component.default/>
|
||||
</div>
|
||||
))}
|
||||
|
|
|
@ -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>
|
|
@ -18,6 +18,6 @@ import '../styles/components/sidebar.scss'
|
|||
<Sidebar/>
|
||||
<Content/>
|
||||
<script>
|
||||
import "../scripts/sidebar.js";
|
||||
import "../scripts/sidebar.js"
|
||||
</script>
|
||||
</App>
|
|
@ -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"
|
||||
},
|
||||
|
|
Reference in a new issue