chore(v2): fix landing page avatar (#1675)

This commit is contained in:
Endi 2019-07-19 00:12:18 +07:00 committed by GitHub
parent e1eea7b493
commit 52e67a1c35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,6 @@ module.exports = {
favicon: 'img/docusaurus.ico',
themes: ['@docusaurus/theme-live-codeblock'],
plugins: [
,
[
'@docusaurus/plugin-ideal-image',
{

View file

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

Before After
Before After

View file

@ -19,7 +19,7 @@ import styles from './styles.module.css';
const QUOTES = [
{
thumbnail: require('./christopher-chedeau.jpg'),
thumbnail: require('../data/quotes/christopher-chedeau.jpg'),
name: 'Christopher "vjeux" Chedeau',
title: 'Lead Prettier Developer',
text: (
@ -35,7 +35,7 @@ const QUOTES = [
),
},
{
thumbnail: require('./hector-ramos.png'),
thumbnail: require('../data/quotes/hector-ramos.png'),
name: 'Hector Ramos',
title: 'Lead React Native Advocate',
text: (
@ -48,7 +48,7 @@ const QUOTES = [
),
},
{
thumbnail: require('./ricky-vetter.jpg'),
thumbnail: require('../data/quotes/ricky-vetter.jpg'),
name: 'Ricky Vetter',
title: 'ReasonReact Developer',
text: (
@ -200,6 +200,7 @@ function Home() {
alt={quote.name}
className="avatar__photo avatar__photo--xl"
img={quote.thumbnail}
style={{overflow: 'hidden'}}
/>
<div className="avatar__intro">
<h4 className="avatar__name">{quote.name}</h4>