mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-28 02:50:45 +00:00
feat: add styles to landing page
This commit is contained in:
parent
0e21f85fb6
commit
216ac601b2
@ -1,3 +1,13 @@
|
|||||||
.landing-page {
|
.landing-page {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.landing-texts {
|
||||||
|
margin: 30vh 0 4vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1000px) {
|
||||||
|
.landing-texts {
|
||||||
|
margin-top: 20vh;
|
||||||
|
}
|
||||||
}
|
}
|
@ -1,11 +1,12 @@
|
|||||||
import './LandingPage.css'
|
import { useNavigate } from 'react-router'
|
||||||
import { XStack, YStack } from 'tamagui'
|
import { XStack, YStack } from 'tamagui'
|
||||||
import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow'
|
|
||||||
import NimbusLogo from '../../components/Logos/NimbusLogo'
|
|
||||||
import { NodeIcon } from '@status-im/icons'
|
import { NodeIcon } from '@status-im/icons'
|
||||||
import { Button as StatusButton, Text } from '@status-im/components'
|
import { Button as StatusButton, Text } from '@status-im/components'
|
||||||
|
|
||||||
|
import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow'
|
||||||
import QuickStartBar from '../../components/General/QuickStartBar/QuickStartBar'
|
import QuickStartBar from '../../components/General/QuickStartBar/QuickStartBar'
|
||||||
import { useNavigate } from 'react-router'
|
import NimbusLogo from '../../components/Logos/NimbusLogo'
|
||||||
|
import styles from './LandingPage.module.css'
|
||||||
|
|
||||||
const LandingPage = () => {
|
const LandingPage = () => {
|
||||||
const navigate = useNavigate()
|
const navigate = useNavigate()
|
||||||
@ -17,11 +18,11 @@ const LandingPage = () => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<PageWrapperShadow rightImageSrc="./background-images/landing-page-bg.png" imgHeight="150%">
|
<PageWrapperShadow rightImageSrc="./background-images/landing-page-bg.png" imgHeight="150%">
|
||||||
<YStack className="landing-page">
|
<YStack className={styles['landing-page']}>
|
||||||
<XStack pt={'70px'}>
|
<XStack pt={'70px'}>
|
||||||
<NimbusLogo />
|
<NimbusLogo />
|
||||||
</XStack>
|
</XStack>
|
||||||
<YStack style={{ width: '100%', margin: '30vh 0 4vh' }} space={'16px'}>
|
<YStack className={styles['landing-texts']} space={'16px'}>
|
||||||
<Text size={27} weight={'semibold'}>
|
<Text size={27} weight={'semibold'}>
|
||||||
Light and performant clients, for all Ethereum validators.
|
Light and performant clients, for all Ethereum validators.
|
||||||
</Text>
|
</Text>
|
||||||
@ -30,7 +31,6 @@ const LandingPage = () => {
|
|||||||
you wish to run in a completely trustless and decentralized manner.
|
you wish to run in a completely trustless and decentralized manner.
|
||||||
</Text>
|
</Text>
|
||||||
</YStack>
|
</YStack>
|
||||||
|
|
||||||
<XStack>
|
<XStack>
|
||||||
<StatusButton icon={<NodeIcon size={20} />} onPress={getStartedHanlder}>
|
<StatusButton icon={<NodeIcon size={20} />} onPress={getStartedHanlder}>
|
||||||
Get Started
|
Get Started
|
||||||
|
Loading…
x
Reference in New Issue
Block a user