Skip to content

Commit

Permalink
feat: 增加ico
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-kfd committed Jul 2, 2021
1 parent 7058a95 commit 1b0a0fa
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>G Music Visualizer</title>
<style>
Expand Down
Binary file added public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/g-audio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function GAudio() {
<>
<main className={style.page}>
<div className={style.operationWrapper}>
<button className="btn m10" onClick={handleLoadRandomMusic}>Random a online music</button>
<button className="btn m10" onClick={handleLoadRandomMusic}>Random an online music</button>
<button className="btn m10" onClick={handleChooseRandomMusic}>Choose a local muisc</button>
<div className="strong-text m10" style={{minWidth: '200px'}}>{musicName}</div>
<input type="file" style={{display: 'none'}} ref={hiddenFileInput} onChange={handleFileChange} />
Expand Down
2 changes: 1 addition & 1 deletion src/components/s-circle.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useCallback, useEffect, useRef, useState } from "react";
import React, { useEffect, useRef } from "react";
import { Canvas, IShape } from '@antv/g-canvas';
import { getCirclePath } from '../utils'
import { getImageCircle } from '../utils/base';
Expand Down

0 comments on commit 1b0a0fa

Please sign in to comment.