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';
55import SplashLeftIllustration from './SplashLeftIllustration' ;
66import SplashRightIllustration from './SplashRightIllustration' ;
77import styles from './styles.module.css' ;
8- import Spiro from '/img/spiro_header.svg' ;
98
109export default function Splash ( ) {
1110 return (
1211 < section className = { styles . wrapper } >
1312 < div className = { styles . container } >
1413 < SplashLeftIllustration />
1514 < div className = { styles . main } >
16- < div className = { styles . spiroContainer } >
17- < Spiro />
18- </ div >
1915 < div className = { styles . mainContent } >
2016 < h1 className = { styles . mainText } > React Navigation</ h1 >
2117 < h3 className = { styles . subText } >
22- Routing and navigation for Expo and React Native apps.
18+ Routing and navigation for React Native and Web apps.
2319 </ h3 >
2420 < div className = { styles . buttonContainer } >
2521 < Link
2622 to = { useBaseUrl ( '/docs/getting-started' ) }
27- className = { styles . button }
23+ className = { ` ${ styles . button } ${ styles . buttonPrimary } ` }
2824 >
2925 Read Docs
3026 </ Link >
3127 < a
28+ target = "_blank"
3229 href = "https://github.com/react-navigation/react-navigation/tree/main/example"
33- className = { `${ styles . button } ${ styles . buttonPrimary } ` }
30+ className = { `${ styles . button } ` }
3431 >
3532 Try It
3633 </ a >
Original file line number Diff line number Diff line change 4848 border-bottom-right-radius : 0.5rem ;
4949}
5050
51- .spiroContainer {
52- color : var (--ifm-home-color-background-secondary );
53- position : absolute;
54- z-index : 0 ;
55- }
56-
5751.mainContent {
5852 position : relative;
5953}
6256 font-size : 4.375rem ;
6357 color : var (--ifm-home-color-text );
6458 font-weight : 900 ;
59+ margin-bottom : 0 ;
6560}
6661
6762.subText {
6863 font-size : 1.5rem ;
6964 color : var (--ifm-home-color-text );
7065 font-weight : 600 ;
66+ margin-top : 0 ;
7167}
7268
7369.buttonContainer {
You can’t perform that action at this time.
0 commit comments