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} */
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()} 河南一而十网络科技有限公司 <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 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:
EnglishChineseJapaneseFrenchGermanEspanolItalian
RussianPortugueseTieng VietBahasa IndonesiaThai Language
Bahasa MelayuArabic languageHindi LanguageTurk diliKorean.
</>
),
},
{
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 (