Skip to content

Commit 5a2b0d4

Browse files
committed
optimize cursor guide resources
1 parent d9eb4f0 commit 5a2b0d4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+69
-30
lines changed

components/markdown.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { TinaMarkdown } from 'tinacms/dist/rich-text';
33
import CodeSandboxEmbed from '@/components/code-sandbox-embed';
44
import CodeBlock from '@/components/code-block';
55
import GitHubGistEmbed from '@/components/github-gist-embed';
6+
import Video from '@/components/video';
67
import Heading from '@/components/heading';
78
import StackBlitzEmbed from '@/components/stack-blitz-embed';
89

@@ -12,6 +13,7 @@ export type MarkdownProps = Omit<TinaMarkdownProps, 'components'>;
1213
const components = {
1314
CodeSandboxEmbed,
1415
GitHubGistEmbed,
16+
Video,
1517
Heading,
1618
StackBlitzEmbed,
1719
code_block: CodeBlock,

components/video.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
export type VideoProps = {
2+
type: string;
3+
src: string;
4+
};
5+
6+
const Video: React.FC<VideoProps> = (props) => {
7+
return (
8+
<video className="w-full border-none rounded-lg" preload="metadata" autoPlay loop muted playsInline>
9+
<source src={props.src} type={props.type} />
10+
</video>
11+
);
12+
};
13+
14+
export default Video;

content/posts/cursor-guide.mdx

Lines changed: 29 additions & 29 deletions

public/cursor-agent-accept.gif

-32.8 MB
Binary file not shown.
Binary file not shown.

public/cursor-agent-checkpoint.gif

-16.9 MB
Binary file not shown.

public/cursor-agent-checkpoint.mp4

6.19 MB
Binary file not shown.
-34.1 MB
Binary file not shown.
Binary file not shown.

public/cursor-auto-renewal.gif

-413 KB
Binary file not shown.

0 commit comments

Comments
 (0)