Skip to content

Commit f0653bb

Browse files
site
1 parent 1bab8f7 commit f0653bb

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Git Diff Component
88

9-
A Diff view component for React / Vue,
9+
A Diff view component for React / Vue / Solid / Svelte,
1010
The most one component what easy to use and feature complete.
1111

1212
[![Deploy](https://github.com/MrWangJustToDo/git-diff-view/actions/workflows/deploy.yml/badge.svg)](https://github.com/MrWangJustToDo/git-diff-view/actions/workflows/deploy.yml)
@@ -38,6 +38,8 @@ See example project [Example](https://github.com/MrWangJustToDo/git-diff-view/tr
3838
| [`@git-diff-view/file`](packages/file) | [![npm (scoped)](https://img.shields.io/npm/v/%40git-diff-view/file)](https://www.npmjs.com/package/@git-diff-view/file) |
3939
| [`@git-diff-view/react`](packages/react) | [![npm (scoped)](https://img.shields.io/npm/v/%40git-diff-view/react)](https://www.npmjs.com/package/@git-diff-view/react) |
4040
| [`@git-diff-view/vue`](packages/vue) | [![npm (scoped)](https://img.shields.io/npm/v/%40git-diff-view/vue)](https://www.npmjs.com/package/@git-diff-view/vue) |
41+
| [`@git-diff-view/solid`](packages/solid) | [![npm (scoped)](https://img.shields.io/npm/v/%40git-diff-view/solid)](https://www.npmjs.com/package/@git-diff-view/solid) |
42+
| [`@git-diff-view/svelte`](packages/svelte)|[![npm (scoped)](https://img.shields.io/npm/v/%40git-diff-view/svelte)](https://www.npmjs.com/package/@git-diff-view/svelte)|
4143

4244
### syntax highlighter
4345

packages/svelte/src/routes/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</script>
5959

6060
<div class="m-auto mb-[1em] mt-[1em] w-[90%]">
61-
<h2 class="text-[24px]">A Solid component to show the file diff</h2>
61+
<h2 class="text-[24px]">A Svelte component to show the file diff</h2>
6262
<br />
6363
<p>
6464
Select a file to show the diff: &nbsp;

ui/react-example/src/components/MainContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const MainContent = () => {
3838
<Title>Git Diff View</Title>
3939
<Space h="12" />
4040
<Text size="lg" component="div">
41-
A <Code>Diff</Code> view component for React / Vue,
41+
A <Code>Diff</Code> view component for React / Vue / Solid / Svelte,
4242
<Highlight highlight={["easy to use", "feature complete"]} color={color}>
4343
The most one component what easy to use and feature complete.
4444
</Highlight>

ui/svelte-example/readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
## SEE [package/svelte]([https://github.com/MrWangJustToDo/git-diff-view/tree/main/packages/svelte]) for more details.
1+
## SEE package/svelte for more details.
2+
goto [package/svelte]([https://github.com/MrWangJustToDo/git-diff-view/tree/main/packages/svelte])

0 commit comments

Comments
 (0)