diff --git a/docs/src/components/landing-page/cards/CardDetails.tsx b/docs/src/components/landing-page/cards/CardDetails.tsx new file mode 100644 index 0000000..5c98906 --- /dev/null +++ b/docs/src/components/landing-page/cards/CardDetails.tsx @@ -0,0 +1,58 @@ +import React from "react"; +import { Card, Flex } from "@hover-design/react"; +import { cardBox, cardTitle } from "./card-details.styles.css"; +import EasyToUse from "./icons/easytouse.svg"; +import FocusOnWhatMatters from "./icons/focusonwhatmatters.svg"; +import PlatformAgnostic from "./icons/platformagnostic.svg"; +import Themeing from "./icons/themeing.svg"; + +const CardData = [ + { + icon: , + title: "Easy To Use", + data: "Hover focuses on easy to use betteries included method, so use it as you would use a native element, no need to learn fancy complex apis to do simple things" + }, + { + icon: , + title: "Focus On What Matters", + data: "Easily extend the components and use it to conform to your brand identity." + }, + { + icon: , + title: "Platform agnostic", + data: "Hover focuses on easy to use betteries included method, so use it as you would use a native element, no need to learn fancy complex apis to do simple things" + }, + { + icon: , + title: "Themeing", + data: "Hover focuses on easy to use betteries included method, so use it as you would use a native element, no need to learn fancy complex apis to do simple things" + } +]; + +const CardDetails = (props) => { + return ( + +

+ {props.icon} + {props.title} +

+

{props.details}

+
+ ); +}; + +const CardRow = () => { + return ( + + {CardData.map((object, i) => ( + + ))} + + ); +}; + +export { CardRow }; diff --git a/docs/src/components/landing-page/cards/card-details.styles.css.ts b/docs/src/components/landing-page/cards/card-details.styles.css.ts new file mode 100644 index 0000000..6c348a6 --- /dev/null +++ b/docs/src/components/landing-page/cards/card-details.styles.css.ts @@ -0,0 +1,14 @@ +import { style } from "@vanilla-extract/css"; + +export const cardBox = style({ + width: "300px", + height: "209px", + color: "white", + backdropFilter: "blur(3px)" +}); + +export const cardTitle = style({ + margin: 0, + display: "flex", + alignItems: "center" +}); diff --git a/docs/src/components/landing-page/cards/icons/easytouse.svg b/docs/src/components/landing-page/cards/icons/easytouse.svg new file mode 100644 index 0000000..60f7175 --- /dev/null +++ b/docs/src/components/landing-page/cards/icons/easytouse.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/src/components/landing-page/cards/icons/focusonwhatmatters.svg b/docs/src/components/landing-page/cards/icons/focusonwhatmatters.svg new file mode 100644 index 0000000..b741adc --- /dev/null +++ b/docs/src/components/landing-page/cards/icons/focusonwhatmatters.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/src/components/landing-page/cards/icons/platformagnostic.svg b/docs/src/components/landing-page/cards/icons/platformagnostic.svg new file mode 100644 index 0000000..6f8538d --- /dev/null +++ b/docs/src/components/landing-page/cards/icons/platformagnostic.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/src/components/landing-page/cards/icons/themeing.svg b/docs/src/components/landing-page/cards/icons/themeing.svg new file mode 100644 index 0000000..11f8813 --- /dev/null +++ b/docs/src/components/landing-page/cards/icons/themeing.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/src/pages/index.tsx b/docs/src/pages/index.tsx index 06e668e..9285180 100644 --- a/docs/src/pages/index.tsx +++ b/docs/src/pages/index.tsx @@ -1,15 +1,18 @@ import React from "react"; import { HoverProvider } from "@hover-design/react"; import { theme } from "../styles/theme/theme"; +import { Card, Flex } from "@hover-design/react"; import { LandingPageLayout } from "../components/landing-page/layouts/landing-page-layout/LandingPageLayout"; import { Navbar } from "../components/landing-page/navbar/Navbar"; +import { CardRow } from "../components/landing-page/cards/CardDetails"; const HomePage = () => { return ( + ); };