feat(index): 更新首页

This commit is contained in:
李东云
2022-05-26 16:46:50 +08:00
parent 0ac08d5252
commit ad1c3f9d01
2 changed files with 90 additions and 89 deletions

View File

@@ -7,7 +7,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
/** @type {import('@docusaurus/types').Config} */ /** @type {import('@docusaurus/types').Config} */
const config = { const config = {
title: '河南一而十网络科技有限公司', title: '河南一而十网络科技有限公司',
tagline: 'Ponding into a rive', tagline: 'Ponding into a river',
url: 'http://henanyiershi.com', url: 'http://henanyiershi.com',
baseUrl: '/', baseUrl: '/',
onBrokenLinks: 'throw', onBrokenLinks: 'throw',
@@ -57,68 +57,68 @@ const config = {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({ ({
navbar: { navbar: {
title: 'My Site', title: '河南一而十网络科技有限公司',
logo: { logo: {
alt: 'My Site Logo', alt: 'My Site Logo',
src: 'img/logo.svg', src: 'img/logo.svg',
}, },
items: [ items: [
{ // {
type: 'doc', // type: 'doc',
docId: 'intro', // docId: 'intro',
position: 'left', // position: 'left',
label: 'Tutorial', // label: 'Tutorial',
}, // },
{to: '/blog', label: 'Blog', position: 'left'}, // {to: '/blog', label: 'Blog', position: 'left'},
{ // {
href: 'https://github.com/facebook/docusaurus', // href: 'https://github.com/facebook/docusaurus',
label: 'GitHub', // label: 'GitHub',
position: 'right', // position: 'right',
}, // },
], ],
}, },
footer: { footer: {
style: 'dark', style: 'dark',
links: [ links: [
{ // {
title: 'Docs', // title: 'Docs',
items: [ // items: [
{ // {
label: 'Tutorial', // label: 'Tutorial',
to: '/docs/intro', // to: '/docs/intro',
}, // },
], // ],
}, // },
{ // {
title: 'Community', // title: 'Community',
items: [ // items: [
{ // {
label: 'Stack Overflow', // label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus', // href: 'https://stackoverflow.com/questions/tagged/docusaurus',
}, // },
{ // {
label: 'Discord', // label: 'Discord',
href: 'https://discordapp.com/invite/docusaurus', // href: 'https://discordapp.com/invite/docusaurus',
}, // },
{ // {
label: 'Twitter', // label: 'Twitter',
href: 'https://twitter.com/docusaurus', // href: 'https://twitter.com/docusaurus',
}, // },
], // ],
}, // },
{ // {
title: 'More', // title: 'More',
items: [ // items: [
{ // {
label: 'Blog', // label: 'Blog',
to: '/blog', // to: '/blog',
}, // },
{ // {
label: 'GitHub', // label: 'GitHub',
href: 'https://github.com/facebook/docusaurus', // href: 'https://github.com/facebook/docusaurus',
}, // },
], // ],
}, // },
], ],
copyright: `Copyright © ${new Date().getFullYear()} 河南一而十网络科技有限公司 <br><a target="_blank" href="https://beian.miit.gov.cn/">豫ICP备2022012130号</a>`, copyright: `Copyright © ${new Date().getFullYear()} 河南一而十网络科技有限公司 <br><a target="_blank" href="https://beian.miit.gov.cn/">豫ICP备2022012130号</a>`,
}, },

View File

@@ -2,42 +2,43 @@ import React from 'react';
import clsx from 'clsx'; import clsx from 'clsx';
import styles from './styles.module.css'; import styles from './styles.module.css';
const FeatureList = [ 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', // title: 'Translation: Voice Translator',
description: ( // 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: // <>
EnglishChineseJapaneseFrenchGermanEspanolItalian // Speech Recognize:
RussianPortugueseTieng VietBahasa IndonesiaThai Language // English、Chinese、Japanese、French、German、Espanol、Italian、
Bahasa MelayuArabic languageHindi LanguageTurk diliKorean. // 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', // title: '2048: Number Puzzle Game',
description: ( // 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! // More than 17 million downloads and millions of active users!
Join to the real 2048 puzzle experience from Androbaby! // 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', // title: 'PDF Converter - Word to PDF',
description: ( // 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 // Convert files from JPG, WORD (DOC), XLS, TXT, PPT,
on your iPhone/iPad. Share converted files or save them to iCloud. // 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}) { function Feature({Svg, title, description}) {
return ( return (