diff --git a/app/online-demo/index.html b/app/online-demo/index.html index 08db901..fc1c194 100644 --- a/app/online-demo/index.html +++ b/app/online-demo/index.html @@ -7,7 +7,7 @@ Text Search Engine - +
diff --git a/app/online-demo/src/components/header/right.tsx b/app/online-demo/src/components/header/right.tsx index 9ed70f7..67dac81 100644 --- a/app/online-demo/src/components/header/right.tsx +++ b/app/online-demo/src/components/header/right.tsx @@ -1,10 +1,11 @@ -import { GITHUB_URL } from '../../config' +import { CHROME_EXTENSION_URL, GITHUB_URL } from '../../config' import { IconParkNames } from '../../shared/constants' import LinkWithIcon from '../link-with-icon' import Theme from './theme' export default function HeaderRight() { return (
+
diff --git a/app/online-demo/src/config/index.ts b/app/online-demo/src/config/index.ts index c869d8f..8395649 100644 --- a/app/online-demo/src/config/index.ts +++ b/app/online-demo/src/config/index.ts @@ -33,3 +33,5 @@ export const TEXT_ACTIVE_CONFIG = { } export const GITHUB_URL = 'https://github.com/cjinhuo/text-search-engine' +export const CHROME_EXTENSION_URL = + 'https://chromewebstore.google.com/detail/blazwitcher-search-and-sw/fjgablnemienkegdnbihhemebmmonihg' diff --git a/app/online-demo/src/shared/constants.ts b/app/online-demo/src/shared/constants.ts index 10b7be6..91ce343 100644 --- a/app/online-demo/src/shared/constants.ts +++ b/app/online-demo/src/shared/constants.ts @@ -12,6 +12,7 @@ export enum IconParkNames { tips = 'tips', doc = 'doc', clear = 'clear', + extensions = 'extensions', } export const LOCAL_STORAGE_THEME_KEY = 'theme'