File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -5,32 +5,29 @@ import React from 'react';
5
5
import SplashLeftIllustration from './SplashLeftIllustration' ;
6
6
import SplashRightIllustration from './SplashRightIllustration' ;
7
7
import styles from './styles.module.css' ;
8
- import Spiro from '/img/spiro_header.svg' ;
9
8
10
9
export default function Splash ( ) {
11
10
return (
12
11
< section className = { styles . wrapper } >
13
12
< div className = { styles . container } >
14
13
< SplashLeftIllustration />
15
14
< div className = { styles . main } >
16
- < div className = { styles . spiroContainer } >
17
- < Spiro />
18
- </ div >
19
15
< div className = { styles . mainContent } >
20
16
< h1 className = { styles . mainText } > React Navigation</ h1 >
21
17
< h3 className = { styles . subText } >
22
- Routing and navigation for Expo and React Native apps.
18
+ Routing and navigation for React Native and Web apps.
23
19
</ h3 >
24
20
< div className = { styles . buttonContainer } >
25
21
< Link
26
22
to = { useBaseUrl ( '/docs/getting-started' ) }
27
- className = { styles . button }
23
+ className = { ` ${ styles . button } ${ styles . buttonPrimary } ` }
28
24
>
29
25
Read Docs
30
26
</ Link >
31
27
< a
28
+ target = "_blank"
32
29
href = "https://github.com/react-navigation/react-navigation/tree/main/example"
33
- className = { `${ styles . button } ${ styles . buttonPrimary } ` }
30
+ className = { `${ styles . button } ` }
34
31
>
35
32
Try It
36
33
</ a >
Original file line number Diff line number Diff line change 48
48
border-bottom-right-radius : 0.5rem ;
49
49
}
50
50
51
- .spiroContainer {
52
- color : var (--ifm-home-color-background-secondary );
53
- position : absolute;
54
- z-index : 0 ;
55
- }
56
-
57
51
.mainContent {
58
52
position : relative;
59
53
}
62
56
font-size : 4.375rem ;
63
57
color : var (--ifm-home-color-text );
64
58
font-weight : 900 ;
59
+ margin-bottom : 0 ;
65
60
}
66
61
67
62
.subText {
68
63
font-size : 1.5rem ;
69
64
color : var (--ifm-home-color-text );
70
65
font-weight : 600 ;
66
+ margin-top : 0 ;
71
67
}
72
68
73
69
.buttonContainer {
You can’t perform that action at this time.
0 commit comments