Skip to content

Commit e65cd84

Browse files
committed
Change default homepage title
1 parent ee942e4 commit e65cd84

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/pages/index.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react';
22
import clsx from 'clsx';
33
import Link from '@docusaurus/Link';
44
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
5+
import Head from '@docusaurus/Head';
56
import Layout from '@theme/Layout';
67
import HomepageFeatures from '@site/src/components/HomepageFeatures';
78
import ImageGallery from 'react-image-gallery';
@@ -14,14 +15,17 @@ const images = [
1415
{
1516
original: '/img/gallery/1.png',
1617
thumbnail: '/img/gallery/1-small.png',
18+
description: 'Code completion with LSP'
1719
},
1820
{
1921
original: '/img/gallery/2.png',
2022
thumbnail: '/img/gallery/2-small.png',
23+
description: 'Easily configure the editor'
2124
},
2225
{
2326
original: '/img/gallery/3.png',
2427
thumbnail: '/img/gallery/3-small.png',
28+
description: 'Quickly find project files'
2529
},
2630
];
2731

@@ -47,7 +51,7 @@ function HomeGallery() {
4751
return (
4852
<section className={styles.heroBanner}>
4953
<div className="container">
50-
<ImageGallery items={images} />
54+
<ImageGallery items={images} autoPlay={true} />
5155
</div>
5256
</section>
5357
);
@@ -67,6 +71,9 @@ export default function Home() {
6771
<Layout
6872
title="Home"
6973
description={`${siteConfig.tagline}`}>
74+
<Head>
75+
<title>Pragtical Code Editor</title>
76+
</Head>
7077
<HomepageHeader />
7178
<main>
7279
<HomeGallery />

0 commit comments

Comments
 (0)