Skip to content

Commit 07601f0

Browse files
amirhhashemikodiakhq[bot]LadyBluenotes
authored
Fix 404 error (#1549)
* Fix 404 error * Remove bad import * oops --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Sarah Gerrard <gerrardsarah@gmail.com>
1 parent b977ff7 commit 07601f0

5 files changed

Lines changed: 10 additions & 11 deletions

File tree

osmium/src/mdx-components.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { Tabs, TabList, TabPanel, Tab } from "./ui/tabs";
1515

1616
export { Callout } from "./ui/callout";
1717
export { QuickLinks } from "./ui/quick-links";
18+
export { ImageLink } from "./ui/image-link";
1819

1920
const EraserLinkImpl = clientOnly(() => import("./ui/eraser-link"));
2021

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ export const logos: { [key: string]: { file: string; style?: string } } = {
2424
uno: { file: "uno.svg" },
2525
};
2626

27-
export type ImageLinksProps = {
27+
export type ImageLinkProps = {
2828
title: string;
2929
logo: keyof typeof logos;
3030
href: string;
3131
};
3232

33-
export const ImageLink: ParentComponent<ImageLinksProps> = (props) => {
33+
export const ImageLink: ParentComponent<ImageLinkProps> = (props) => {
3434
const locale = useLocale();
3535

3636
const logoImage = untrack(() => props.logo);

src/routes/(2)guides/(0)styling-your-components.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Solid also supports a range of styling methods - from traditional CSS preprocess
2525

2626
<div class="flex flex-col md:grid md:grid-cols-2 md:grid-rows-1 gap-3">
2727

28-
<ImageLinks title="SASS" href="/guides/styling-components/sass" logo="sass" />
29-
<ImageLinks title="LESS" href="/guides/styling-components/less" logo="less" />
28+
<ImageLink title="SASS" href="/guides/styling-components/sass" logo="sass" />
29+
<ImageLink title="LESS" href="/guides/styling-components/less" logo="less" />
3030

3131
</div>
3232

@@ -35,7 +35,7 @@ LESS
3535

3636
## CSS modules
3737

38-
<ImageLinks
38+
<ImageLink
3939
title="CSS Modules"
4040
href="/guides/styling-components/css-modules"
4141
logo="cssmodules"
@@ -56,7 +56,7 @@ Many also offer features like theming, media queries, and server-side rendering
5656

5757
### Macaron
5858

59-
<ImageLinks
59+
<ImageLink
6060
title="Macaron"
6161
href="/guides/styling-components/macaron"
6262
logo="macaron"
@@ -67,11 +67,11 @@ CSS frameworks provide pre-styled components and utility classes to speed up dev
6767

6868
<div class="flex flex-col md:grid md:grid-cols-2 md:grid-rows-1 gap-3">
6969

70-
<ImageLinks
70+
<ImageLink
7171
title="Tailwind CSS"
7272
href="/guides/styling-components/tailwind"
7373
logo="tailwind"
7474
/>
75-
<ImageLinks title="UnoCSS" href="/guides/styling-components/uno" logo="uno" />
75+
<ImageLink title="UnoCSS" href="/guides/styling-components/uno" logo="uno" />
7676

7777
</div>

src/routes/(2)guides/(6)deploying-your-app.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ description: >-
1515
Cloudflare, Vercel, Netlify, AWS, and more with guides.
1616
---
1717

18-
import { ImageLink } from "~/components/ImageLink";
19-
2018
Are you ready to deploy your Solid application? Follow our guides for different deployment services.
2119

2220
<div class="flex flex-col md:grid md:grid-cols-4 md:grid-rows-2 gap-3">

src/routes/reference/jsx-attributes/classlist.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description: >-
1414
Toggle element classes from an object of class names and boolean values.
1515
---
1616

17-
:::warning
17+
:::caution
1818
`className` was deprecated in Solid 1.4 in favor of `class`.
1919
:::
2020

0 commit comments

Comments
 (0)