Skip to content

Commit 6cd50a8

Browse files
committed
rm old component
1 parent 0693a7b commit 6cd50a8

File tree

4 files changed

+0
-165
lines changed

4 files changed

+0
-165
lines changed

src/routes/reactivity/overview.mdx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ When called within a reactive context, it will give access to the current value
5656
- **Setters**: This function is responsible for updating the value of a signal.
5757
To trigger reactivity, setters notify the system that the signal's value has changed, prompting anything that depends on the signal to re-evaluate and update accordingly.
5858

59-
<EraserLink
60-
href="https://app.eraser.io/workspace/maDvFw5OryuPJOwSLyK9?elements=lseAEjGlKLslaVsTlfej_g"
61-
preview="https://app.eraser.io/workspace/maDvFw5OryuPJOwSLyK9/preview?elements=lseAEjGlKLslaVsTlfej_g&type=embed"
62-
/>
63-
6459
### Subscribers
6560

6661
Subscribers refer to other reactive contexts or components that depend on the value of a signal.

src/solidbase-theme/mdx-components.tsx

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
import { isServer } from "solid-js/web";
1111

1212
import { A } from "~/ui/i18n-anchor";
13-
import { clientOnly } from "@solidjs/start";
1413
import { Callout } from "~/ui/callout";
1514
import { Tabs, TabList, TabPanel, Tab } from "~/ui/tabs";
1615

@@ -20,8 +19,6 @@ export { Callout } from "~/ui/callout";
2019
export { QuickLinks } from "~/ui/quick-links";
2120
export { ImageLinks } from "~/ui/image-links";
2221

23-
const EraserLinkImpl = clientOnly(() => import("../ui/eraser-link"));
24-
2522
type CalloutType = "note" | "tip" | "advanced" | "caution" | "danger";
2623

2724
export const DirectiveContainer = (
@@ -69,28 +66,6 @@ export const DirectiveContainer = (
6966
export const strong = (props: ParentProps) => (
7067
<b class="font-semibold">{props.children}</b>
7168
);
72-
export const EraserLink = (
73-
props: ParentProps<{ href: string; preview: string }>
74-
) => {
75-
const [, rest] = splitProps(props, ["children"]);
76-
77-
if (!isServer) {
78-
return <EraserLinkImpl {...rest} />;
79-
} else {
80-
return (
81-
<a
82-
aria-hidden={true}
83-
tabIndex="-1"
84-
href={props.href}
85-
class="font-semibold text-blue-700 no-underline shadow-[inset_0_-2px_0_0_var(--tw-prose-background,#38bdf8),inset_0_calc(-1*(var(--tw-prose-underline-size,2px)+2px))_0_0_var(--tw-prose-underline,theme(colors.blue.400))] hover:[--tw-prose-underline-size:4px] dark:text-blue-400 dark:shadow-[inset_0_calc(-1*var(--tw-prose-underline-size,2px))_0_0_var(--tw-prose-underline,theme(colors.blue.800))] dark:[--tw-prose-background:theme(colors.slate.900)] dark:hover:[--tw-prose-underline-size:6px]"
86-
rel="noopener noreferrer"
87-
>
88-
View on Eraser
89-
<img src={props.preview} />
90-
</a>
91-
);
92-
}
93-
};
9469
export const ssr = (props: ParentProps) => <>{props.children}</>;
9570
export const spa = () => <></>;
9671
export const h1 = (props: ParentProps) => (

src/ui/eraser-link/eraser-link.css

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/ui/eraser-link/index.tsx

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)