diff --git a/src/components/Icon/Icon.js b/src/components/Icon/Icon.js index 360be4e..3422270 100644 --- a/src/components/Icon/Icon.js +++ b/src/components/Icon/Icon.js @@ -9,10 +9,15 @@ import { ChevronRight, Circle, Clock, + CloudOff, + Download, Edit2, LogIn, + Monitor, Moon, + Package, Search, + Smartphone, Sun, User, } from "react-feather" @@ -34,31 +39,36 @@ const IconBase = styled.div` } &:hover { background-color: ${props => !props.disabled && props.theme.colors.hover}; - cursor: pointer; + cursor: ${props => !props.disabled && "pointer"}; } ` -const Icon = ({ name, tabindex, label, labelRight, ...rest }) => ( +const Icon = ({ name, tabindex, label, labelRight, size, ...rest }) => ( {label && !labelRight && ( {label} )} - {name === "ArrowRightCircle" && } - {name === "ArrowRight" && } - {name === "Book" && } - {name === "Calendar" && } - {name === "ChevronLeft" && } - {name === "ChevronRight" && } - {name === "Circle" && } - {name === "Clock" && } - {name === "Edit2" && } - {name === "LogIn" && } - {name === "Moon" && } - {name === "Search" && } - {name === "Sun" && } - {name === "User" && } + {name === "ArrowRightCircle" && } + {name === "ArrowRight" && } + {name === "Book" && } + {name === "Calendar" && } + {name === "ChevronLeft" && } + {name === "ChevronRight" && } + {name === "Circle" && } + {name === "Clock" && } + {name === "CloudOff" && } + {name === "Download" && } + {name === "Edit2" && } + {name === "LogIn" && } + {name === "Monitor" && } + {name === "Moon" && } + {name === "Package" && } + {name === "Search" && } + {name === "Smartphone" && } + {name === "Sun" && } + {name === "User" && } {label && labelRight && ( props.theme.colors.primary}; height: 100%; ` +const FeatureGrid = styled.div` + display: grid; + grid-template-rows: 1fr; + grid-gap: 30px; +` +const FeatureRow = styled.div` + display: grid; + grid-template-columns: 120px 3fr; +` +const FeatureText = styled.div` + display: flex; + flex-direction: column; +` +const FeatureTitle = styled.div` + font-size: ${SIZES["normal"]}; + font-weight: 600; + color: ${props => props.theme.colors.secondary}; +` +const FeatureDescription = styled.div` + color: ${props => props.theme.colors.secondary}; +` +const Footer = styled.footer` + margin-top: 120px; + padding: 30px 0px; + text-align: center; + color: ${props => props.theme.colors.secondary}; +` +const FooterLink = styled.a` + cursor: pointer; + margin: 10px; + &:hover { + color: ${props => props.theme.colors.tertiary}; + } +` + +const features = [ + { + icon: "Monitor", + title: "Cross Platform", + desc: + "Write from any internet connected device, with pages optimized for all screen sizes", + }, + { + icon: "Package", + title: "Install as an App", + desc: + "Add to your home screen on iPhone or Adroid to use it like you would an app", + }, + { + icon: "CloudOff", + title: "Offline Capable", + desc: + "Record thoughts as they come to you, whether you have internet or not, your entries are saved when you get a connection", + }, + { + icon: "Search", + title: "Full Text Search", + desc: + "Search through your entries by text to quickly find past entries and recall what you've written", + }, + { + icon: "Download", + title: "Export", + desc: + "Download all of your journal entries at any time for back-up or safe keeping ", + }, +] class Start extends Component { render() { const { theme } = this.props return ( - Record what's on your mind, from anywhere +

Record what's on your mind, from anywhere

Journaling can improve your health and help you take inventory of your day. Sol Journal works offline and from any device. Use it as a place @@ -28,6 +97,47 @@ class Start extends Component { +

+

Features

+

+ Lightweight with the functionalities you need for journaling, and none + of the things you don't: +

+ + {features.map(feature => ( + +
+ +
+ + {feature.title} + {feature.desc} + +
+ ))} +
+ ) }