Skip to content

Commit 83fee5e

Browse files
committed
chore: fix website entry page (#2482)
1 parent 89bfa1e commit 83fee5e

File tree

1 file changed

+36
-37
lines changed

1 file changed

+36
-37
lines changed

website/src/pages/index.jsx

+36-37
Original file line numberDiff line numberDiff line change
@@ -53,46 +53,45 @@ export default function IndexPage() {
5353

5454
return (
5555
<Layout title="Home" description="react-map-gl">
56-
<Home theme="dark" HeroExample={HeroExample}>
57-
<div style={{position: 'relative'}}>
58-
<TextContainer>
59-
<h2>
60-
react-map-gl makes using MapLibre GL JS and Mapbox GL JS in React applications easy.
61-
</h2>
62-
<hr className="short" />
56+
<Home theme="dark" HeroExample={HeroExample} />
57+
<div style={{position: 'relative'}}>
58+
<TextContainer>
59+
<h2>
60+
react-map-gl makes using MapLibre GL JS and Mapbox GL JS in React applications easy.
61+
</h2>
62+
<hr className="short" />
6363

64-
<h3>
65-
<img src={`${baseUrl}images/icon-react.svg`} />
66-
React Integration
67-
</h3>
68-
<p>
69-
Use a MapLibre GL JS or Mapbox GL JS map as a fully controlled reactive component.
70-
</p>
64+
<h3>
65+
<img src={`${baseUrl}images/icon-react.svg`} />
66+
React Integration
67+
</h3>
68+
<p>
69+
Use a MapLibre GL JS or Mapbox GL JS map as a fully controlled reactive component.
70+
</p>
7171

72-
<h3>
73-
<img src={`${baseUrl}images/icon-layers.svg`} />
74-
Extensible
75-
</h3>
76-
<p>
77-
Comes with additional React interfaces such as context and hooks
78-
to support custom components.
79-
</p>
72+
<h3>
73+
<img src={`${baseUrl}images/icon-layers.svg`} />
74+
Extensible
75+
</h3>
76+
<p>
77+
Comes with additional React interfaces such as context and hooks
78+
to support custom components.
79+
</p>
8080

81-
<h3>
82-
<img src={`${baseUrl}images/icon-high-precision.svg`} />
83-
Part of vis.gl's Framework Suite
84-
</h3>
85-
<p>
86-
Use together with e.g. <a
87-
href="https://deck.gl/"
88-
target="_blank"
89-
rel="noopener noreferrer">
90-
deck.gl</a> to render performant and compelling 2D and 3D
91-
WebGL visualizations on top of your MapLibre GL JS and Mapbox GL JS based maps.
92-
</p>
93-
</TextContainer>
94-
</div>
95-
</Home>
81+
<h3>
82+
<img src={`${baseUrl}images/icon-high-precision.svg`} />
83+
Part of vis.gl's Framework Suite
84+
</h3>
85+
<p>
86+
Use together with e.g. <a
87+
href="https://deck.gl/"
88+
target="_blank"
89+
rel="noopener noreferrer">
90+
deck.gl</a> to render performant and compelling 2D and 3D
91+
WebGL visualizations on top of your MapLibre GL JS and Mapbox GL JS based maps.
92+
</p>
93+
</TextContainer>
94+
</div>
9695
</Layout>
9796
);
9897
}

0 commit comments

Comments
 (0)