Skip to content

Commit fc800ef

Browse files
committed
Add video demo to website
1 parent 8d4b6d8 commit fc800ef

File tree

5 files changed

+149
-28
lines changed

5 files changed

+149
-28
lines changed

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
github: [Uh-little-less-dum, igloo1505, FlusterIO]
2-
patreon: uhlittlelessdum
32
custom: ["https://www.paypal.com/donate/?hosted_button_id=W22RTUJ2RPZDU", "https://fluster-one.vercel.app/sponsor"]

apps/fluster/src/App.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ import { useGlobalKeymap } from "#/keymap/state/hooks/use_global_keymap";
33
import { getBrowserRouter } from "#/router/data/main_router_routes";
44
import { RouterProvider } from "react-router";
55
import { ResourceRoutes } from "#/router/data/app_routes";
6-
import mermaid from "mermaid";
6+
/* import mermaid from "mermaid"; */
77

88
const App = (): ReactNode => {
9-
mermaid.initialize({ startOnLoad: true });
9+
/* mermaid.initialize({ */
10+
/* startOnLoad: true, */
11+
12+
/* }); */
1013
window.MathJax = {
1114
/* @ts-expect-error -- Not sure if this is working but I'm leaving it until all math is rendering properly. */
1215
"HTML-CSS": { linebreaks: { automatic: true } },

apps/fluster/src/features/mdx/data/parse/mdx_to_jsx.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ const rehypePlugins = (): CompileOptions["rehypePlugins"] => {
8383
[
8484
rehypeMermaid,
8585
{
86-
strategy: "img-svg",
86+
output: "svg",
8787
dark: darkMode,
8888
colorScheme: darkMode ? "dark" : "light",
89-
mermaidConfig,
89+
// mermaidConfig,
9090
},
9191
],
9292
/* [ */

apps/website/src/core/feature_data/mdxFeature.tsx

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
import splitViewImg from "../../../public/assets/blog/screenshots/splitview.png";
33
import { FeaturedContainerPropsRequired } from "#/features/landing_page/sections/feature_section/types";
44
import Image from "next/image";
5+
import { buttonVariants } from "../shad/ui/button";
6+
import { staticContent } from "../static_content";
57

68
export const mdxFeature: FeaturedContainerPropsRequired = {
79
label: "Write in MDX",
@@ -16,6 +18,11 @@ export const mdxFeature: FeaturedContainerPropsRequired = {
1618
"takes all of the simplicity of markdown and extends it to support React components directly in your notes. Plots, modals, whiteboards, and more are right at your fingertips, in a language that anyone can learn in a single day."
1719
}
1820
</div>
21+
<div>
22+
<a className={buttonVariants()} href={staticContent.links.videoDemo}>
23+
Video Demo
24+
</a>
25+
</div>
1926
</div>
2027
);
2128
},
@@ -24,16 +31,6 @@ export const mdxFeature: FeaturedContainerPropsRequired = {
2431
<Image
2532
src={splitViewImg}
2633
alt="Fluster mdx & code editor split view"
27-
/* images={[ */
28-
/* { */
29-
/* src: mdxScreenshot, */
30-
/* alt: "MDX Code", */
31-
/* }, */
32-
/* { */
33-
/* src: mdxScreenshotOutput, */
34-
/* alt: "MDX Output", */
35-
/* }, */
36-
/* ]} */
3734
className={"w-full h-auto min-h-[40vh]"}
3835
/>
3936
);

pnpm-lock.yaml

Lines changed: 135 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)