mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-31 01:47:17 +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',
|
favicon: 'img/docusaurus.ico',
|
||||||
themes: ['@docusaurus/theme-live-codeblock'],
|
themes: ['@docusaurus/theme-live-codeblock'],
|
||||||
plugins: [
|
plugins: [
|
||||||
,
|
|
||||||
[
|
[
|
||||||
'@docusaurus/plugin-ideal-image',
|
'@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 = [
|
const QUOTES = [
|
||||||
{
|
{
|
||||||
thumbnail: require('./christopher-chedeau.jpg'),
|
thumbnail: require('../data/quotes/christopher-chedeau.jpg'),
|
||||||
name: 'Christopher "vjeux" Chedeau',
|
name: 'Christopher "vjeux" Chedeau',
|
||||||
title: 'Lead Prettier Developer',
|
title: 'Lead Prettier Developer',
|
||||||
text: (
|
text: (
|
||||||
|
@ -35,7 +35,7 @@ const QUOTES = [
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
thumbnail: require('./hector-ramos.png'),
|
thumbnail: require('../data/quotes/hector-ramos.png'),
|
||||||
name: 'Hector Ramos',
|
name: 'Hector Ramos',
|
||||||
title: 'Lead React Native Advocate',
|
title: 'Lead React Native Advocate',
|
||||||
text: (
|
text: (
|
||||||
|
@ -48,7 +48,7 @@ const QUOTES = [
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
thumbnail: require('./ricky-vetter.jpg'),
|
thumbnail: require('../data/quotes/ricky-vetter.jpg'),
|
||||||
name: 'Ricky Vetter',
|
name: 'Ricky Vetter',
|
||||||
title: 'ReasonReact Developer',
|
title: 'ReasonReact Developer',
|
||||||
text: (
|
text: (
|
||||||
|
@ -200,6 +200,7 @@ function Home() {
|
||||||
alt={quote.name}
|
alt={quote.name}
|
||||||
className="avatar__photo avatar__photo--xl"
|
className="avatar__photo avatar__photo--xl"
|
||||||
img={quote.thumbnail}
|
img={quote.thumbnail}
|
||||||
|
style={{overflow: 'hidden'}}
|
||||||
/>
|
/>
|
||||||
<div className="avatar__intro">
|
<div className="avatar__intro">
|
||||||
<h4 className="avatar__name">{quote.name}</h4>
|
<h4 className="avatar__name">{quote.name}</h4>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue