Skip to content

Commit

Permalink
website: add github corner.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 8, 2022
1 parent b9e38c4 commit 09b486c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"parcel": "~2.3.2"
},
"dependencies": {
"@uiw/react-github-corners": "~1.5.3",
"@uiw/react-markdown-preview": "~3.5.1",
"react": "~17.0.2",
"react-dom": "~17.0.2",
Expand Down
5 changes: 5 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
import React from 'react';
import { Button } from 'uiw';
import Markdown from '@uiw/react-markdown-preview';
import GitHubCorners from '@uiw/react-github-corners';
import Logo from './logo.svg';
import './App.css';
import mdStr from '../README.md';

export default function App() {
return (
<div className="App">
<GitHubCorners
target="__blank"
href="https://github.com/uiwjs/uiw-example-parcel"
/>
<header className="App-header">
<Logo className="App-logo" height="60" width="60" viewBox="0 0 20 20" />
<h1 className="App-title">Welcome to React</h1>
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<head>
<meta charset="UTF-8">
<title>Demo.</title>
<title>uiw-example-parcel</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="A robust Javascript library for capturing keyboard input and key combinations entered. It has no dependencies. Try to press your keyboard, The following button will highlight.">
</head>
Expand Down

0 comments on commit 09b486c

Please sign in to comment.