@@ -8,77 +8,42 @@ import { Introduction } from '../components/HomepageFeatures/introduction';
8
8
import styles from './index.module.css' ;
9
9
import './index.scss' ;
10
10
11
- import Splashscreen from '@site/static/img/splashscreen.svg' ;
12
-
13
- function HomepageHeader2 ( ) {
14
- const { siteConfig } = useDocusaurusContext ( ) ;
15
- return (
16
- < header className = { clsx ( 'hero hero--primary' , styles . heroBanner ) } >
17
- < div className = "container homepage" >
18
- < img src = { useBaseUrl ( '/img/dockview_logo.svg' ) } />
19
- < h1 className = "hero__title" > { siteConfig . title } </ h1 >
20
-
21
- < p className = "hero__subtitle" > { siteConfig . tagline } </ p >
22
- < div className = { styles . buttons } >
23
- < Link
24
- className = "button button--secondary button--lg"
25
- to = { useBaseUrl ( 'docs/' ) }
26
- >
27
- Get Started
28
- </ Link >
29
- < Link
30
- className = "button button--secondary button--lg"
31
- to = { '#live-demo' }
32
- >
33
- Live Demo
34
- </ Link >
35
- </ div >
36
- </ div >
37
- </ header >
38
- ) ;
39
- }
40
-
41
11
export default function Home ( ) : JSX . Element {
42
12
const { siteConfig } = useDocusaurusContext ( ) ;
43
13
return (
44
14
< Layout title = { `${ siteConfig . tagline } ` } >
45
- < div
46
- style = { {
47
- paddingTop : '100px' ,
48
- paddingBottom : '50px' ,
49
- display : 'flex' ,
50
- justifyContent : 'center' ,
51
- } }
52
- >
53
- < div className = "intro-container" >
54
- < div >
55
- < h1 > Fully Featured Docking Layout Manager</ h1 >
56
- < h3 >
57
- Zero dependency layout managment and docking
58
- controls
59
- </ h3 >
15
+ < div className = "home-page" >
16
+ < main >
17
+ < div className = "container" >
18
+ < div className = "splashscreen" >
19
+ < div className = "splashscreen-title" >
20
+ < h1 > Fully Featured Docking Layout Manager</ h1 >
21
+ < h2 >
22
+ Zero dependency layout managment and docking
23
+ controls
24
+ </ h2 >
25
+ </ div >
26
+ < div className = "splashscreen-video" >
27
+ < img src = { useBaseUrl ( '/img/Animation.gif' ) } />
28
+ < Link to = "/demo" >
29
+ < button > Go To Live Demo</ button >
30
+ </ Link >
31
+ </ div >
32
+ </ div >
33
+ </ div >
34
+ < div
35
+ style = { {
36
+ backgroundColor : '#020c18' ,
37
+ padding : '20px 0px' ,
38
+ } }
39
+ >
40
+ < div className = "container" > </ div >
60
41
</ div >
61
- < img
62
- // style={{ maxWidth: '800px' }}
63
- src = { useBaseUrl ( '/img/Animation.gif' ) }
64
- />
65
- </ div >
42
+ < div className = "container" >
43
+ < Introduction />
44
+ </ div >
45
+ </ main >
66
46
</ div >
67
-
68
- { /* <HomepageHeader2 /> */ }
69
-
70
- < main className = "container" >
71
- < Introduction />
72
- </ main >
73
47
</ Layout >
74
48
) ;
75
49
}
76
-
77
- const featureList = [
78
- 'Popout Windows' ,
79
- 'Floating Windows' ,
80
- 'Custom Header Actions' ,
81
- 'Serialization' ,
82
- 'Themable' ,
83
- 'Drag And Drop' ,
84
- ] ;
0 commit comments