@@ -2,6 +2,7 @@ import React from 'react';
2
2
import clsx from 'clsx' ;
3
3
import Link from '@docusaurus/Link' ;
4
4
import useDocusaurusContext from '@docusaurus/useDocusaurusContext' ;
5
+ import Head from '@docusaurus/Head' ;
5
6
import Layout from '@theme/Layout' ;
6
7
import HomepageFeatures from '@site/src/components/HomepageFeatures' ;
7
8
import ImageGallery from 'react-image-gallery' ;
@@ -14,14 +15,17 @@ const images = [
14
15
{
15
16
original : '/img/gallery/1.png' ,
16
17
thumbnail : '/img/gallery/1-small.png' ,
18
+ description : 'Code completion with LSP'
17
19
} ,
18
20
{
19
21
original : '/img/gallery/2.png' ,
20
22
thumbnail : '/img/gallery/2-small.png' ,
23
+ description : 'Easily configure the editor'
21
24
} ,
22
25
{
23
26
original : '/img/gallery/3.png' ,
24
27
thumbnail : '/img/gallery/3-small.png' ,
28
+ description : 'Quickly find project files'
25
29
} ,
26
30
] ;
27
31
@@ -47,7 +51,7 @@ function HomeGallery() {
47
51
return (
48
52
< section className = { styles . heroBanner } >
49
53
< div className = "container" >
50
- < ImageGallery items = { images } />
54
+ < ImageGallery items = { images } autoPlay = { true } />
51
55
</ div >
52
56
</ section >
53
57
) ;
@@ -67,6 +71,9 @@ export default function Home() {
67
71
< Layout
68
72
title = "Home"
69
73
description = { `${ siteConfig . tagline } ` } >
74
+ < Head >
75
+ < title > Pragtical Code Editor</ title >
76
+ </ Head >
70
77
< HomepageHeader />
71
78
< main >
72
79
< HomeGallery />
0 commit comments