mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-31 07:18:59 +02:00
feat(v2): @docusaurus/plugin-ideal-image (#1665)
* chore(v2): tweak image opt before moving to docusaurus-plugin-image * lint * feat(v2): convert to docusaurus-plugin-ideal-image * tweak * dont need many img * fix dev err * tweak * opt png * lower qual
This commit is contained in:
parent
d77f5538c2
commit
b34ad721e4
17 changed files with 159 additions and 145 deletions
|
@ -9,8 +9,8 @@ import React from 'react';
|
|||
import Link from '@docusaurus/Link';
|
||||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
||||
import withBaseUrl from '@docusaurus/withBaseUrl';
|
||||
import Image from '@docusaurus/Image';
|
||||
|
||||
import Image from '@theme/IdealImage';
|
||||
import Layout from '@theme/Layout';
|
||||
|
||||
import classnames from 'classnames';
|
||||
|
@ -68,9 +68,7 @@ function Home() {
|
|||
return (
|
||||
<Layout
|
||||
permalink={'/'}
|
||||
description={
|
||||
'Docusaurus makes it easy and painless for you to build websites'
|
||||
}>
|
||||
description={'Easy to Maintain Open Source Documentation Websites'}>
|
||||
<div className={styles['index-hero']}>
|
||||
<div className={styles['index-hero-inner']}>
|
||||
<h1 className={styles['index-hero-project-tagline']}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue