@@ -8,42 +8,28 @@ import GettingStarted from './getting-started';
8
8
const OpeningSection = ( ) => {
9
9
const ref = createRef < HTMLDivElement > ( ) ;
10
10
11
- const scrollToNextSection = ( ) => {
12
- const element = ref . current . getBoundingClientRect ( ) ;
13
- window . scrollTo ( { top : element . height , behavior : 'smooth' } ) ;
14
- } ;
15
-
16
11
return (
17
- < Section ref = { ref } className = "!py-0 !px-4 !min-h-[calc(100vh-60px)]" >
12
+ < Section ref = { ref } className = "!pt-0 !pb-8 !px-4 !min-h-[calc(100vh-60px)]" >
18
13
< FadeIntoView >
19
- < h1 >
14
+ < h1 className = "m-0" >
20
15
< span className = "invisible absolute w-0 h-0" > GameCI</ span >
21
- < GameCiLogoLight className = "block dark:hidden select-none w-full max-w-[320px ] h-auto" />
22
- < GameCiLogo className = "hidden dark:block select-none w-full max-w-[320px ] h-auto" />
16
+ < GameCiLogoLight className = "block dark:hidden select-none w-full max-w-[280px ] h-auto" />
17
+ < GameCiLogo className = "hidden dark:block select-none w-full max-w-[280px ] h-auto" />
23
18
</ h1 >
24
19
</ FadeIntoView >
25
20
26
21
< FadeIntoView delay = { 150 } >
27
- < h2 className = "text-base md:text-2xl text-center w-full max-w-[500px]" >
22
+ < h2 className = "text-base md:text-2xl text-center w-full max-w-[500px] m-0 " >
28
23
The fastest and < strong > easiest</ strong > way to automatically test and build your game
29
24
projects
30
25
</ h2 >
31
26
</ FadeIntoView >
32
27
33
28
< FadeIntoView delay = { 200 } >
34
- < div className = "mt-8 md:mt-12 " >
29
+ < div className = "mt-4 md:mt-8 " >
35
30
< GettingStarted />
36
31
</ div >
37
32
</ FadeIntoView >
38
-
39
- < button
40
- type = "button"
41
- onClick = { scrollToNextSection }
42
- className = "hidden md:block bg-transparent border-none cursor-pointer text-7xl absolute bottom-0 mb-2 focus-visible:outline focus-visible:outline-2"
43
- aria-label = "Click to scroll to the next section"
44
- >
45
- ⇩
46
- </ button >
47
33
</ Section >
48
34
) ;
49
35
} ;
0 commit comments