From ad1c3f9d01f358e3e4fb82f068c5a5f2a0924d0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=9C=E4=BA=91?= Date: Thu, 26 May 2022 16:46:50 +0800 Subject: [PATCH] =?UTF-8?q?feat(index):=20=E2=9C=A8=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docusaurus.config.js | 106 +++++++++++------------ src/components/HomepageFeatures/index.js | 73 ++++++++-------- 2 files changed, 90 insertions(+), 89 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 8af1f55..b79659d 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -7,7 +7,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula'); /** @type {import('@docusaurus/types').Config} */ const config = { title: '河南一而十网络科技有限公司', - tagline: 'Ponding into a rive', + tagline: 'Ponding into a river', url: 'http://henanyiershi.com', baseUrl: '/', onBrokenLinks: 'throw', @@ -57,68 +57,68 @@ const config = { /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ navbar: { - title: 'My Site', + title: '河南一而十网络科技有限公司', logo: { alt: 'My Site Logo', src: 'img/logo.svg', }, items: [ - { - type: 'doc', - docId: 'intro', - position: 'left', - label: 'Tutorial', - }, - {to: '/blog', label: 'Blog', position: 'left'}, - { - href: 'https://github.com/facebook/docusaurus', - label: 'GitHub', - position: 'right', - }, + // { + // type: 'doc', + // docId: 'intro', + // position: 'left', + // label: 'Tutorial', + // }, + // {to: '/blog', label: 'Blog', position: 'left'}, + // { + // href: 'https://github.com/facebook/docusaurus', + // label: 'GitHub', + // position: 'right', + // }, ], }, footer: { style: 'dark', links: [ - { - title: 'Docs', - items: [ - { - label: 'Tutorial', - to: '/docs/intro', - }, - ], - }, - { - title: 'Community', - items: [ - { - label: 'Stack Overflow', - href: 'https://stackoverflow.com/questions/tagged/docusaurus', - }, - { - label: 'Discord', - href: 'https://discordapp.com/invite/docusaurus', - }, - { - label: 'Twitter', - href: 'https://twitter.com/docusaurus', - }, - ], - }, - { - title: 'More', - items: [ - { - label: 'Blog', - to: '/blog', - }, - { - label: 'GitHub', - href: 'https://github.com/facebook/docusaurus', - }, - ], - }, + // { + // title: 'Docs', + // items: [ + // { + // label: 'Tutorial', + // to: '/docs/intro', + // }, + // ], + // }, + // { + // title: 'Community', + // items: [ + // { + // label: 'Stack Overflow', + // href: 'https://stackoverflow.com/questions/tagged/docusaurus', + // }, + // { + // label: 'Discord', + // href: 'https://discordapp.com/invite/docusaurus', + // }, + // { + // label: 'Twitter', + // href: 'https://twitter.com/docusaurus', + // }, + // ], + // }, + // { + // title: 'More', + // items: [ + // { + // label: 'Blog', + // to: '/blog', + // }, + // { + // label: 'GitHub', + // href: 'https://github.com/facebook/docusaurus', + // }, + // ], + // }, ], copyright: `Copyright © ${new Date().getFullYear()} 河南一而十网络科技有限公司
豫ICP备2022012130号`, }, diff --git a/src/components/HomepageFeatures/index.js b/src/components/HomepageFeatures/index.js index ebfd82a..6964f33 100644 --- a/src/components/HomepageFeatures/index.js +++ b/src/components/HomepageFeatures/index.js @@ -2,42 +2,43 @@ import React from 'react'; import clsx from 'clsx'; import styles from './styles.module.css'; -const FeatureList = [ - { - title: 'Translation: Voice Translator', - Svg: 'https://is1-ssl.mzstatic.com/image/thumb/Purple112/v4/06/46/4b/06464bda-9a77-3d06-ab52-1183310100ff/AppIcon-0-0-1x_U007emarketing-0-0-0-7-0-0-sRGB-0-0-0-GLES2_U002c0-512MB-85-220-0-0.png/180x180bb.png', - description: ( - <> - Speech Recognize: - English、Chinese、Japanese、French、German、Espanol、Italian、 - Russian、Portuguese、Tieng Viet、Bahasa Indonesia、Thai Language、 - Bahasa Melayu、Arabic language、Hindi Language、Turk dili、Korean. - - ), - }, - { - title: '2048: Number Puzzle Game', - Svg: 'https://is2-ssl.mzstatic.com/image/thumb/Purple125/v4/68/50/8e/68508e20-c28b-3c70-3f6c-946797493068/AppIcon-1x_U007emarketing-0-10-0-0-85-220.png/100x100bb.jpg', - description: ( - <> - More than 17 million downloads and millions of active users! - More than 120,000 5 Star Rating! - Join to the real 2048 puzzle experience from Androbaby! - - ), - }, - { - title: 'PDF Converter - Word to PDF', - Svg: 'https://is2-ssl.mzstatic.com/image/thumb/Purple122/v4/17/3a/7f/173a7f64-52a0-71fb-e7fe-7be5ef20e93c/AppIcon-0-1x_U007emarketing-0-7-0-85-220.png/100x100bb.jpg', - description: ( - <> - Convert files from JPG, WORD (DOC), XLS, TXT, PPT, - RTF, EPUB and other popular formats to PDF and back - on your iPhone/iPad. Share converted files or save them to iCloud. - - ), - }, -]; +const FeatureList = []; +// const FeatureList = [ +// { +// title: 'Translation: Voice Translator', +// Svg: 'https://is1-ssl.mzstatic.com/image/thumb/Purple112/v4/06/46/4b/06464bda-9a77-3d06-ab52-1183310100ff/AppIcon-0-0-1x_U007emarketing-0-0-0-7-0-0-sRGB-0-0-0-GLES2_U002c0-512MB-85-220-0-0.png/180x180bb.png', +// description: ( +// <> +// Speech Recognize: +// English、Chinese、Japanese、French、German、Espanol、Italian、 +// Russian、Portuguese、Tieng Viet、Bahasa Indonesia、Thai Language、 +// Bahasa Melayu、Arabic language、Hindi Language、Turk dili、Korean. +// +// ), +// }, +// { +// title: '2048: Number Puzzle Game', +// Svg: 'https://is2-ssl.mzstatic.com/image/thumb/Purple125/v4/68/50/8e/68508e20-c28b-3c70-3f6c-946797493068/AppIcon-1x_U007emarketing-0-10-0-0-85-220.png/100x100bb.jpg', +// description: ( +// <> +// More than 17 million downloads and millions of active users! +// More than 120,000 5 Star Rating! +// Join to the real 2048 puzzle experience from Androbaby! +// +// ), +// }, +// { +// title: 'PDF Converter - Word to PDF', +// Svg: 'https://is2-ssl.mzstatic.com/image/thumb/Purple122/v4/17/3a/7f/173a7f64-52a0-71fb-e7fe-7be5ef20e93c/AppIcon-0-1x_U007emarketing-0-7-0-85-220.png/100x100bb.jpg', +// description: ( +// <> +// Convert files from JPG, WORD (DOC), XLS, TXT, PPT, +// RTF, EPUB and other popular formats to PDF and back +// on your iPhone/iPad. Share converted files or save them to iCloud. +// +// ), +// }, +// ]; function Feature({Svg, title, description}) { return (