mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-29 08:57:03 +02:00
chore(v2): fix landing page avatar (#1675)
This commit is contained in:
parent
e1eea7b493
commit
52e67a1c35
5 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,6 @@ module.exports = {
|
|||
favicon: 'img/docusaurus.ico',
|
||||
themes: ['@docusaurus/theme-live-codeblock'],
|
||||
plugins: [
|
||||
,
|
||||
[
|
||||
'@docusaurus/plugin-ideal-image',
|
||||
{
|
||||
|
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue