Skip to content

Commit

Permalink
website: add favicon icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 2, 2021
1 parent 86029bd commit 2d55709
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 30 deletions.
1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@kkt/less-modules": "6.10.4",
"@types/react": "17.0.13",
"@types/react-dom": "17.0.8",
"@uiw/react-github-corners": "1.4.0",
"kkt": "6.10.4"
},
"eslintConfig": {
Expand Down
4 changes: 2 additions & 2 deletions website/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using kktjs" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="description" content="Color picker component for React." />
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🎨</text></svg>">
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
Expand Down
Binary file removed website/public/logo192.png
Binary file not shown.
Binary file removed website/public/logo512.png
Binary file not shown.
25 changes: 0 additions & 25 deletions website/public/manifest.json

This file was deleted.

3 changes: 0 additions & 3 deletions website/public/robots.txt

This file was deleted.

2 changes: 2 additions & 0 deletions website/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React, { useState } from 'react';
import { Saturation, Sketch, Alpha, Hue, ShadeSlider, hsvaToHslaString } from '@uiw/react-color';
import GitHubCorners from '@uiw/react-github-corners';
import Markdown from '@uiw/react-markdown-preview';
import logo from './logo.svg';
import styles from './App.module.css';
Expand All @@ -11,6 +12,7 @@ export default function App() {
console.log('mdStr:', mdStr);
return (
<div className={styles.app} style={{ backgroundColor: hsvaToHslaString(hsva) }}>
<GitHubCorners fixed size={56} target="_blank" href="https://github.com/uiwjs/react-color" />
<div className={styles.warpper}>
<header className={styles.header}>
<img src={logo} className={styles.logo} alt="logo" />
Expand Down

0 comments on commit 2d55709

Please sign in to comment.