From 7c6fd86dc9d0dddfc87618f61516dbebf710d73c Mon Sep 17 00:00:00 2001 From: gitstart-omnivore Date: Wed, 13 Apr 2022 08:56:09 +0000 Subject: [PATCH] Changed icons, added links and removed theme. --- .../templates/landing/LandingFooter.tsx | 19 ++++++++++--------- .../templates/landing/LandingHeader.tsx | 3 +-- .../templates/landing/LandingSection.tsx | 4 ++-- .../landing/LandingSectionsContainer.tsx | 18 +++++++++++------- 4 files changed, 24 insertions(+), 20 deletions(-) diff --git a/packages/web/components/templates/landing/LandingFooter.tsx b/packages/web/components/templates/landing/LandingFooter.tsx index ed50eb2e4..796561f91 100644 --- a/packages/web/components/templates/landing/LandingFooter.tsx +++ b/packages/web/components/templates/landing/LandingFooter.tsx @@ -2,6 +2,7 @@ import { OmnivoreNameLogo } from '../../elements/images/OmnivoreNameLogo'; import Link from 'next/link' import Image from 'next/image' import { Box, HStack } from '../../elements/LayoutPrimitives'; +import { GithubLogo, DiscordLogo, TwitterLogo } from 'phosphor-react' const containerStyles = { padding: '5vw', @@ -86,23 +87,23 @@ export function LandingFooter(): JSX.Element { Everything you read. Safe, organized, and easy to share. - + - twitter + - + - github + - + - discord + @@ -112,19 +113,19 @@ export function LandingFooter(): JSX.Element { - + app-store - + {/* app-store - + */} Contact diff --git a/packages/web/components/templates/landing/LandingHeader.tsx b/packages/web/components/templates/landing/LandingHeader.tsx index 6eeaaa0ec..3bb6e565a 100644 --- a/packages/web/components/templates/landing/LandingHeader.tsx +++ b/packages/web/components/templates/landing/LandingHeader.tsx @@ -1,6 +1,5 @@ import Link from 'next/link' import { Box, SpanBox } from '../../elements/LayoutPrimitives' -import { theme } from '../../tokens/stitches.config' import { OmnivoreNameLogo } from '../../elements/images/OmnivoreNameLogo' const containerStyles = { @@ -36,7 +35,7 @@ const textStyles = { export function LandingHeader(): JSX.Element { return ( - + diff --git a/packages/web/components/templates/landing/LandingSection.tsx b/packages/web/components/templates/landing/LandingSection.tsx index b4e296ecf..02ed69d70 100644 --- a/packages/web/components/templates/landing/LandingSection.tsx +++ b/packages/web/components/templates/landing/LandingSection.tsx @@ -15,7 +15,7 @@ const MainContainer = styled(HStack, { const titleTextStyles = { fontWeight: '700', - color: '$omnivoreGray', + color: '#3D3D3D', lineHeight: '53px', '@mdDown': { fontSize: 24, @@ -29,7 +29,7 @@ const titleTextStyles = { } const descriptionTextStyles = { - color: '$omnivoreLightGray', + color: 'rgb(125, 125, 125)', } const iconContainerStyles = { diff --git a/packages/web/components/templates/landing/LandingSectionsContainer.tsx b/packages/web/components/templates/landing/LandingSectionsContainer.tsx index 841ce760b..7f07dfb03 100644 --- a/packages/web/components/templates/landing/LandingSectionsContainer.tsx +++ b/packages/web/components/templates/landing/LandingSectionsContainer.tsx @@ -1,14 +1,16 @@ +import Link from 'next/link' import { VStack, Box, SpanBox } from '../../elements/LayoutPrimitives' import { CurvedUnderlineIcon } from '../../elements/images/CurvedUnderlineIcon' import { Button } from '../../elements/Button' import { MagnifyingGlass, Palette, MegaphoneSimple, Binoculars, ArrowRight } from 'phosphor-react' import { LandingSection } from './LandingSection' -import { theme } from '../../tokens/stitches.config' const buttonStyles = { display: 'flex', borderRadius: 4, px: 30, + background: 'rgb(255, 210, 52)', + color: '#3D3D3D' } const arrowStyles = { @@ -19,9 +21,11 @@ const arrowStyles = { export function GetStartedButton(): JSX.Element { return ( ) @@ -49,7 +53,7 @@ const titleStyles = { fontSize: '24', textAlign: 'center', lineHeight: '36px', - color: '$omnivoreOrange', + color: '#FF9B3E', '@mdDown': { fontSize: 16, letterSpacing: '0.02em' @@ -95,7 +99,7 @@ const callToActionStyles = { } const callToActionText = { - color: '$omnivoreGray', + color: '#3D3D3D', fontWeight: '700', fontSize: 64, lineHeight: '70px', @@ -123,7 +127,7 @@ export function LandingSectionsContainer({ hideThird = false, hideFourth = false, }: LandingSectionsContainerProps): JSX.Element { - const iconColor = theme.colors.omnivoreCtaYellow.toString() + const iconColor = 'rgb(255, 210, 52)' return (