diff --git a/src/components/General/BreadcrumbBar/BreadcrumbBar.tsx b/src/components/General/BreadcrumbBar/BreadcrumbBar.tsx index 44199c1a..151b7a78 100644 --- a/src/components/General/BreadcrumbBar/BreadcrumbBar.tsx +++ b/src/components/General/BreadcrumbBar/BreadcrumbBar.tsx @@ -8,8 +8,10 @@ const BreadcrumbBar = ({ breadcrumbList }: BreadcrumbBarProps) => { return ( diff --git a/src/components/General/Header.tsx b/src/components/General/Header.tsx new file mode 100644 index 00000000..b3130193 --- /dev/null +++ b/src/components/General/Header.tsx @@ -0,0 +1,18 @@ +import { XStack } from 'tamagui' +import NimbusLogo from '../Logos/NimbusLogo' +import TagContainer from './TagContainer' + +type HeaderProps = { + selectedTag: 'pair' | 'create' | 'connect' +} + +const Header = ({ selectedTag }: HeaderProps) => { + return ( + + + + + ) +} + +export default Header diff --git a/src/components/General/QuickStartBar/QuickStartBar.css b/src/components/General/QuickStartBar/QuickStartBar.css index 90d344f3..be0a2f7d 100644 --- a/src/components/General/QuickStartBar/QuickStartBar.css +++ b/src/components/General/QuickStartBar/QuickStartBar.css @@ -10,7 +10,7 @@ margin: 0 auto; padding: 12px 1rem; position: relative; - top: -120px; + top: -18vh; } .quick-start-bar > div { width: 100%; diff --git a/src/components/General/TagContainer.css b/src/components/General/TagContainer.css index d02ec351..7113f3cf 100644 --- a/src/components/General/TagContainer.css +++ b/src/components/General/TagContainer.css @@ -1,4 +1,3 @@ - -.tag-container div:nth-child(1) { +/* .tag-container div:nth-child(1) { background:transparent; - } \ No newline at end of file + } */ \ No newline at end of file diff --git a/src/components/General/TagContainer.tsx b/src/components/General/TagContainer.tsx index 4b11be71..525961b6 100644 --- a/src/components/General/TagContainer.tsx +++ b/src/components/General/TagContainer.tsx @@ -1,13 +1,20 @@ import { Tag } from '@status-im/components' import { XStack } from 'tamagui' import './TagContainer.css' -import { AddSmallIcon, SwapIcon } from '@status-im/icons' +import { ConnectionIcon, AddSmallIcon, SwapIcon } from '@status-im/icons' -const TagContainer = () => { +type TagContainerProps = { + selectedTag: 'pair' | 'create' | 'connect' +} + +const TagContainer = ({ selectedTag }: TagContainerProps) => { return ( - - + {selectedTag === 'connect' ? ( + + ) : null} + + ) } diff --git a/src/components/Logos/NimbusLogo.css b/src/components/Logos/NimbusLogo.css index 52c7136e..524a710b 100644 --- a/src/components/Logos/NimbusLogo.css +++ b/src/components/Logos/NimbusLogo.css @@ -1,5 +1,10 @@ .nimbus-logomark{ + display: flex; + justify-content: center; + align-items: center; +} +.nimbus-logomark svg { width: auto; - height: 30%; + height: 24px; } \ No newline at end of file diff --git a/src/components/Logos/NimbusLogo.tsx b/src/components/Logos/NimbusLogo.tsx index d074174c..57ea1ff9 100644 --- a/src/components/Logos/NimbusLogo.tsx +++ b/src/components/Logos/NimbusLogo.tsx @@ -1,6 +1,7 @@ import { XStack } from 'tamagui' import BetaTag from './BetaTag' import './NimbusLogo.css' +import NimbusLogoMark from './NimbusLogoMark' const NimbusLogo = () => { return ( @@ -11,7 +12,7 @@ const NimbusLogo = () => { }} space={'$3'} > - marks + marks diff --git a/src/components/Logos/NimbusLogoMark.tsx b/src/components/Logos/NimbusLogoMark.tsx new file mode 100644 index 00000000..c86820bd --- /dev/null +++ b/src/components/Logos/NimbusLogoMark.tsx @@ -0,0 +1,20 @@ +const NimbusLogoMark = () => { + return ( +
+ + + +
+ ) +} + +export default NimbusLogoMark diff --git a/src/components/PageWrappers/PageWrapperShadow.tsx b/src/components/PageWrappers/PageWrapperShadow.tsx index 73c89bcd..c0e0f2b3 100644 --- a/src/components/PageWrappers/PageWrapperShadow.tsx +++ b/src/components/PageWrappers/PageWrapperShadow.tsx @@ -1,13 +1,20 @@ import { ReactNode } from 'react' import './layout.css' +import NimbusLogoMark from '../Logos/NimbusLogoMark' type PageWrapperShadowProps = { breadcrumbBar?: ReactNode rightImageSrc?: string + rightImageLogo?: boolean children: ReactNode } -const PageWrapperShadow = ({ breadcrumbBar, rightImageSrc, children }: PageWrapperShadowProps) => { +const PageWrapperShadow = ({ + breadcrumbBar, + rightImageSrc, + rightImageLogo, + children, +}: PageWrapperShadowProps) => { return (
@@ -18,7 +25,8 @@ const PageWrapperShadow = ({ breadcrumbBar, rightImageSrc, children }: PageWrapp
- background + background + {rightImageLogo ? : null}
diff --git a/src/components/PageWrappers/layout.css b/src/components/PageWrappers/layout.css index a2911318..d1676b63 100644 --- a/src/components/PageWrappers/layout.css +++ b/src/components/PageWrappers/layout.css @@ -26,7 +26,7 @@ flex-wrap: wrap; justify-content: end; height: 100%; - padding: 70px 0 0; + /* padding: 70px 0 0; */ } .container-inner { max-width: 70%; @@ -49,6 +49,7 @@ height: 100%; position: relative; overflow: hidden; + color: #FFF; } .image-container::before { display: block; @@ -65,7 +66,7 @@ height: 100%; background: linear-gradient(to right, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0.0)); } -.image-container img { +.image-container .background-img { position: absolute; top: 50%; left: 50%; @@ -73,3 +74,12 @@ height: 140%; width: auto; } +.image-container .nimbus-logomark { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} +.image-container .nimbus-logomark svg { + height: 73px; +} diff --git a/src/pages/ConnectDevicePage/ConnectDevicePage.tsx b/src/pages/ConnectDevicePage/ConnectDevicePage.tsx index 2a517885..b90737ef 100644 --- a/src/pages/ConnectDevicePage/ConnectDevicePage.tsx +++ b/src/pages/ConnectDevicePage/ConnectDevicePage.tsx @@ -1,12 +1,12 @@ import { useState } from 'react' import BreadcrumbBar from '../../components/General/BreadcrumbBar/BreadcrumbBar' -import { Button as StatusButton, Tag, Text, Avatar, Checkbox } from '@status-im/components' +import { Button as StatusButton, Text, Avatar, Checkbox } from '@status-im/components' import { Label, Separator, XStack, YStack } from 'tamagui' import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow' -import NimbusLogo from '../../components/Logos/NimbusLogo' import Titles from '../../components/General/Titles' import LabelInputField from '../../components/General/LabelInputField' -import { AddSmallIcon, ConnectionIcon, NodeIcon, SwapIcon } from '@status-im/icons' +import Header from '../../components/General/Header' +import { NodeIcon } from '@status-im/icons' const ConnectDevicePage = () => { const [autoConnectChecked, setAutoConnectChecked] = useState(false) @@ -16,24 +16,17 @@ const ConnectDevicePage = () => { } rightImageSrc="./background-images/day-night-bg.png" + rightImageLogo={true} > -
- - - - - - - - + +
+
-
- -
-
+ + { -
-
+ + Device Avatar @@ -79,9 +72,9 @@ const ConnectDevicePage = () => { -
+ -
+ Settings @@ -101,10 +94,10 @@ const ConnectDevicePage = () => { -
+ }>Connect Device
-
+
) } diff --git a/src/pages/CreateLocalNodePage/CreateLocalNodePage.tsx b/src/pages/CreateLocalNodePage/CreateLocalNodePage.tsx index 4172fe24..0db1b774 100644 --- a/src/pages/CreateLocalNodePage/CreateLocalNodePage.tsx +++ b/src/pages/CreateLocalNodePage/CreateLocalNodePage.tsx @@ -1,24 +1,20 @@ import { useState } from 'react' import { Button as StatusButton, Text, Avatar, Checkbox } from '@status-im/components' +import { NodeIcon, ReactionIcon } from '@status-im/icons' import { Label, Separator, XStack, YStack } from 'tamagui' import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow' -import NimbusLogo from '../../components/Logos/NimbusLogo' -import TagContainer from '../../components/General/TagContainer' +import Header from '../../components/General/Header' import Titles from '../../components/General/Titles' import LabelInputField from '../../components/General/LabelInputField' import ColorPicker from '../../components/General/ColorPicker' -import { NodeIcon, ReactionIcon } from '@status-im/icons' const CreateLocalNodePage = () => { const [autoConnectChecked, setAutoConnectChecked] = useState(false) return ( - -
- - - - + + +
{ - + } /> @@ -65,9 +61,9 @@ const CreateLocalNodePage = () => { - }>Continue + }>Continue
-
+
) } diff --git a/src/pages/LandingPage/LandingPage.tsx b/src/pages/LandingPage/LandingPage.tsx index b593779c..737d4b51 100644 --- a/src/pages/LandingPage/LandingPage.tsx +++ b/src/pages/LandingPage/LandingPage.tsx @@ -1,32 +1,35 @@ -import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow' import './LandingPage.css' -import QuickStartBar from '../../components/General/QuickStartBar/QuickStartBar' -import Titles from '../../components/General/Titles' -import { Button as StatusButton } from '@status-im/components' -import NimbusLogo from '../../components/Logos/NimbusLogo' import { XStack, YStack } from 'tamagui' +import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow' +import Title from '../../components/General/Title' +import NimbusLogo from '../../components/Logos/NimbusLogo' import { NodeIcon } from '@status-im/icons' import EmojiPickerDialog from '../../components/General/EmojiPickerDialog' +import { Button as StatusButton, Text } from '@status-im/components' +import QuickStartBar from '../../components/General/QuickStartBar/QuickStartBar' function LandingPage() { return ( <> -
- + + - - - - }>Get Started - + + + Light and performant clients, for all Ethereum validators. + + Nimbus Nodes allows you to take control and ownership of the services + you wish to run in a completely trustless and decentralized manner. + - -
+ + + }>Get Started + + +
diff --git a/src/pages/PairDevice/PairDevice.tsx b/src/pages/PairDevice/PairDevice.tsx index b19bb3fc..a77a8ffb 100644 --- a/src/pages/PairDevice/PairDevice.tsx +++ b/src/pages/PairDevice/PairDevice.tsx @@ -1,15 +1,15 @@ import { Separator, XStack, YStack } from 'tamagui' import { useState } from 'react' -import { Button, Checkbox, Tag, Text } from '@status-im/components' +import { Button, Checkbox, Text } from '@status-im/components' import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow' import SyncStatus from './SyncStatus' -import NimbusLogo from '../../components/Logos/NimbusLogo' import Titles from '../../components/General/Titles' import PairedSuccessfully from './PairedSuccessfully' import CreateAvatar from './CreateAvatar' import GenerateId from './GenerateId' -import { AddSmallIcon, NodeIcon, SwapIcon } from '@status-im/icons' +import { NodeIcon } from '@status-im/icons' +import Header from '../../components/General/Header' const PairDevice = () => { const [autoChecked, setAutoChecked] = useState(false) @@ -22,20 +22,14 @@ const PairDevice = () => { } return ( - + - - - - - - - +
{isPaired ? : } {!isPaired && (