Skip to content

Commit

Permalink
Fix assets and doc rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
JonahPlusPlus committed Nov 13, 2024
1 parent 63a9941 commit 7b1da20
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
- uses: bitovi/[email protected]
with:
install_command: pnpm install
build_command: pnpm build-storybook
build_command: pnpm build-storybook --docs
path: storybook-static
checkout: false
1 change: 1 addition & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ const config: StorybookConfig = {
name: getAbsolutePath("storybook-solidjs-vite"),
options: {},
},
staticDirs: ['../public'],
};
export default config;
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="./assets/logo-dark.svg">
<img alt="solid-effect logo" width="200" src="./assets/logo-light.svg">
<source media="(prefers-color-scheme: dark)" srcset="./public/logo-dark.svg">
<img alt="solid-effect logo" width="200" src="./public/logo-light.svg">
</picture>
</p>

Expand Down
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion src/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Meta } from "@storybook/blocks";
"align-items": "center",
}}
>
<img src="../assets/logo-light.svg" width="200" />
<img src="/logo-light.svg" width="200" />
</div>

# solid-effect
Expand Down

0 comments on commit 7b1da20

Please sign in to comment.