Skip to content

Commit

Permalink
📝 (website) Update website
Browse files Browse the repository at this point in the history
  • Loading branch information
laymonage committed Feb 3, 2022
1 parent 173cd01 commit ea1cdeb
Show file tree
Hide file tree
Showing 12 changed files with 684 additions and 2,291 deletions.
3 changes: 3 additions & 0 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ <h1>giscus-component</h1>
data-mapping="specific"
data-term="Welcome to react-giscus Discussions!"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="light"
data-lang="en"
crossorigin="anonymous"
async
></script>
Expand Down
4 changes: 2 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"vite": "^2.4.0"
},
"dependencies": {
"@giscus/react": "^1.0.0",
"@giscus/svelte": "^1.0.1",
"@giscus/react": "^1.1.1",
"@giscus/svelte": "^1.1.0",
"@giscus/vue": "^1.0.0",
"preact": "^10.5.14",
"prop-types": "^15.7.2",
Expand Down
1 change: 0 additions & 1 deletion website/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"serve": "vite preview"
},
"dependencies": {
"@giscus/react": "^1.0.0",
"preact": "^10.5.13"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions website/react/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ export function App() {
term="Welcome to react-giscus Discussions!"
reactionsEnabled="1"
emitMetadata="0"
inputPosition="top"
theme="light"
lang="en"
/>
</main>
)
Expand Down
566 changes: 0 additions & 566 deletions website/react/yarn.lock

This file was deleted.

1 change: 0 additions & 1 deletion website/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"check": "svelte-check --tsconfig ./tsconfig.json"
},
"devDependencies": {
"@giscus/svelte": "^1.0.1",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.11",
"@tsconfig/svelte": "^2.0.1",
"svelte": "^3.37.0",
Expand Down
2 changes: 2 additions & 0 deletions website/svelte/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
term="Welcome to react-giscus Discussions!"
reactionsEnabled="1"
emitMetadata="0"
inputPosition="top"
theme="light"
lang="en"
/>
</main>

Expand Down
Loading

1 comment on commit ea1cdeb

@vercel
Copy link

@vercel vercel bot commented on ea1cdeb Feb 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.