Features.tsx 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import React from "react";
  2. import { Flex } from "rebass/styled-components";
  3. import FeaturesItem from "./FeaturesItem";
  4. import { ColCenterH } from "./Layout";
  5. import { Colors } from "../consts";
  6. import { H3 } from "./Text";
  7. const Features = () => (
  8. <ColCenterH
  9. width={1}
  10. flex="0 0 auto"
  11. py={[64, 100]}
  12. backgroundColor={Colors.FeaturesBg}
  13. >
  14. <H3 fontSize={[26, 28]} mb={72} light>
  15. Kutting edge features.
  16. </H3>
  17. <Flex
  18. width={1200}
  19. maxWidth="100%"
  20. flex="1 1 auto"
  21. justifyContent="center"
  22. flexWrap={["wrap", "wrap", "wrap", "nowrap"]}
  23. >
  24. <FeaturesItem title="Managing links" icon="edit">
  25. Create, protect and delete your links and monitor them with detailed
  26. statistics.
  27. </FeaturesItem>
  28. <FeaturesItem title="Custom domain" icon="shuffle">
  29. Use custom domains for your links. Add or remove them for free.
  30. </FeaturesItem>
  31. <FeaturesItem title="API" icon="zap">
  32. Use the provided API to create, delete, and get URLs from anywhere.
  33. </FeaturesItem>
  34. <FeaturesItem title="Free &amp; open source" icon="heart">
  35. Completely open source and free. You can host it on your own server.
  36. </FeaturesItem>
  37. </Flex>
  38. </ColCenterH>
  39. );
  40. export default Features;