From c229d21de3c05326cd78ac0d865c8944f8757dd3 Mon Sep 17 00:00:00 2001 From: RickCole21 Date: Wed, 5 Aug 2020 13:22:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=92=8Clogo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/components/App.tsx | 10 ++++++---- examples/components/MdRenderer.tsx | 2 +- examples/static/logo.png | Bin 6509 -> 4565 bytes examples/style.scss | 9 ++++++--- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/examples/components/App.tsx b/examples/components/App.tsx index e346bb77..7f8c5403 100644 --- a/examples/components/App.tsx +++ b/examples/components/App.tsx @@ -23,6 +23,9 @@ import classnames from 'classnames'; import Doc, {docs} from './Doc'; import Example, {examples} from './Example'; +// @ts-ignore +import Logo from '../static/logo.svg'; + let ExamplePathPrefix = '/examples'; let DocPathPrefix = '/docs'; let ContextPath = ''; @@ -226,8 +229,7 @@ export class App extends React.PureComponent {
- {/* */} - AMIS +
@@ -280,7 +282,7 @@ export class App extends React.PureComponent { /> -
+
@@ -363,7 +365,7 @@ export class App extends React.PureComponent {
-
+
{navigations.map(item => (
diff --git a/examples/components/MdRenderer.tsx b/examples/components/MdRenderer.tsx index 580bc187..20c0b8a2 100644 --- a/examples/components/MdRenderer.tsx +++ b/examples/components/MdRenderer.tsx @@ -252,7 +252,7 @@ export default function (doc) {
{doc.toc && doc.toc.children && doc.toc.children.length > 1 ? ( -
+
{this.renderHeading(doc.toc.children)} diff --git a/examples/static/logo.png b/examples/static/logo.png index fc2bb85296d160dced09c236658fded928b9015f..eaaa8e3ff2254a48e12c239d43299605bd2cad2d 100644 GIT binary patch literal 4565 zcmZ9QbyQSa8;55I$r)-02?=SW5s*&l25FG)6qS?)nV5d@?WK}y=85fJGV z3DNmx;NJV)?^|oH-`eM_=Y96O_nA3=oCJMcH4rg9F#rGnX{f6h0sufp%-oz17n8Gn z9!&rME#K%)T>Xh7L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