Skip to content

Commit

Permalink
Fix images on home page (#1152)
Browse files Browse the repository at this point in the history
Summary:
Fixes #1151. The `/metro` base path  prefix was a legacy of the previous GitHub pages domain, and broke when we moved to `metrobundler.dev`.

A relative path should work either way and is consistent with the banner image.

Pull Request resolved: #1152

Test Plan: 👀 / static docs preview

Reviewed By: huntie

Differential Revision: D52018082

Pulled By: robhogan

fbshipit-source-id: 27a1bba865a5f9eb93a94720f328e040ec5c10c3
  • Loading branch information
robhogan authored and facebook-github-bot committed Dec 11, 2023
1 parent 4127714 commit 2c718eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ const contents = [
{
content:
'Metro aims for sub-second reload cycles, fast startup and quick bundling speeds.',
image: '/metro/img/content/high-speed-train.png',
image: './img/content/high-speed-train.png',
title: 'Fast',
},
{
content: 'Works with thousands of modules in a single application.',
image: '/metro/img/content/scales.png',
image: './img/content/scales.png',
title: 'Scalable',
},
{
content: 'Supports every React Native project out of the box.',
image: '/metro/img/content/atom.png',
image: './img/content/atom.png',
title: 'Integrated',
},
];
Expand Down

0 comments on commit 2c718eb

Please sign in to comment.