Skip to content

Commit d228174

Browse files
committed
Update index.js
1 parent 7c7c819 commit d228174

File tree

1 file changed

+9
-19
lines changed

1 file changed

+9
-19
lines changed

Website/src/pages/index.js

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ import ImageGalleryWhois from "@site/docs/img/whois.png";
2626
import ImageGalleryIPGeolocation from "@site/docs/img/ip-geolocation.png";
2727
import ImageGallerySubnetCalculatorCalculator from "@site/docs/img/subnet-calculator--calculator.png";
2828

29-
const ImageGalleryTabsDragDrop = "/img/preview_tabs_drag_drop.gif";
30-
3129
import ImageGalleryProfilesOverView from "@site/docs/img/profiles--overview.png";
3230
import ImageGalleryProfilesProfileSettings from "@site/docs/img/profiles--profile-settings.png";
3331
import ImageGalleryProfilesGroupSettings from "@site/docs/img/profiles--group-settings.png";
@@ -223,16 +221,6 @@ export default function Home() {
223221
];
224222

225223
const images2 = [
226-
{
227-
original: ImageGalleryTabsDragDrop,
228-
thumbnail: ImageGalleryTabsDragDrop,
229-
originalAlt: "Tabs, drag & drop",
230-
description: "Tabs, drag & drop",
231-
thumbnailAlt: "Tabs, drag & drop",
232-
},
233-
];
234-
235-
const images3 = [
236224
{
237225
original: ImageGalleryProfilesOverView,
238226
thumbnail: ImageGalleryProfilesOverView,
@@ -265,7 +253,9 @@ export default function Home() {
265253
<main>
266254
<HomepageFeatures />
267255
<div className="container text--center margin-top--xl margin-bottom--xl">
268-
<Heading as="h2">Explore the powerful features of NETworkManager...</Heading>
256+
<Heading as="h2">
257+
Explore the powerful features of NETworkManager...
258+
</Heading>
269259
<div className="gallery-container1">
270260
<ImageGallery
271261
autoPlay="true"
@@ -277,10 +267,10 @@ export default function Home() {
277267
...with tabs, drag & drop...
278268
</Heading>
279269
<div className="gallery-container2">
280-
<ImageGallery
281-
autoPlay="true"
282-
items={images2}
283-
additionalClass={styles.image}
270+
<img
271+
src="/img/preview_tabs_drag_drop.gif"
272+
alt="NETworkManager animation"
273+
className={styles.image}
284274
/>
285275
</div>
286276
<Heading as="h2" className="margin-top--xl">
@@ -289,10 +279,10 @@ export default function Home() {
289279
<div className="gallery-container3">
290280
<ImageGallery
291281
autoPlay="true"
292-
items={images3}
282+
items={images2}
293283
additionalClass={styles.image}
294284
/>
295-
</div>
285+
</div>
296286
</div>
297287
</main>
298288
</Layout>

0 commit comments

Comments
 (0)