From 53e0c53a23583d5e83c8ace6030977f921c350be Mon Sep 17 00:00:00 2001 From: Arista Indrajaya Date: Tue, 5 Mar 2024 16:04:01 +0700 Subject: [PATCH] docs: Update hub page component styling to tailwind css --- .../HomepagePrimaryFeatures/index.js | 41 ++++--- .../HomepageSecondaryFeatures/index.js | 102 +++++++---------- .../HomepageTerinaryFeatures/index.js | 105 +++++++++--------- 3 files changed, 113 insertions(+), 135 deletions(-) diff --git a/docs/src/components/HomepagePrimaryFeatures/index.js b/docs/src/components/HomepagePrimaryFeatures/index.js index b06decfb7..e139ae358 100644 --- a/docs/src/components/HomepagePrimaryFeatures/index.js +++ b/docs/src/components/HomepagePrimaryFeatures/index.js @@ -1,37 +1,34 @@ -import styles from "../HomepagePrimaryFeatures/styles.module.css"; -import clsx from "clsx"; - export default function HomepagePrimaryFeatures() { return ( -
+
-
-
+
+
+
+

Installation

+

Set up Jan with our guide to install across multiple platforms.

+
-

Installation

-

Set up Jan with our guide to install across multiple platform.

+ Get Started
- -
- {"Card +
+ {"Card
-
+
+
+

Models

+

Explore the available pre-configured AI models.

+
-

Models

-

Explore the available pre-configured AI models.

+ Support
-
- Support -
-
- {"Card +
+ {"Card
); -} \ No newline at end of file +} diff --git a/docs/src/components/HomepageSecondaryFeatures/index.js b/docs/src/components/HomepageSecondaryFeatures/index.js index 3d58117af..9c8307c3f 100644 --- a/docs/src/components/HomepageSecondaryFeatures/index.js +++ b/docs/src/components/HomepageSecondaryFeatures/index.js @@ -1,67 +1,51 @@ -import styles from "../HomepageSecondaryFeatures/styles.module.css"; -import clsx from "clsx"; +import React from "react"; export default function HomepageSecondaryFeatures() { return ( -
+
-
-
-
-
- {"Feature -
-
-

Quickstart

-

Jump right in with our Quickstart guide, designed to get you going with simple steps and clear instructions for a smooth setup.

-
-
- -
-
-
-
- {"Feature -
-
-

Integrations

-

Discover how Jan seamlessly integrates with 9 different system, streamlining your application for maximum efficiency.

-
-
- -
-
-
-
- {"Feature -
-
-

Error Codes

-

Navigate through common error codes with explanations and solutions to resolve them quickly.

-
-
- -
+
+ + +
); -} \ No newline at end of file +} + +function FeatureCard({ imgSrc, title, description, href }) { + return ( +
+
+
+ {"Feature +
+
+

{title}

+

{description}

+
+
+
+ + Learn Here + +
+
+ ); +} diff --git a/docs/src/components/HomepageTerinaryFeatures/index.js b/docs/src/components/HomepageTerinaryFeatures/index.js index e3003cbd9..025bab0ca 100644 --- a/docs/src/components/HomepageTerinaryFeatures/index.js +++ b/docs/src/components/HomepageTerinaryFeatures/index.js @@ -1,109 +1,106 @@ -import styles from "../HomepageTerinaryFeatures/styles.module.css"; -import clsx from "clsx"; - export default function HomepageTerinaryFeatures() { return ( -
+
-
-
-
+
+
+
{"Icon"} -

Get Started

+

Get Started

- -
-
+
+
{"Icon"} -

Settings

+
Settings
- -
-
+
+
{"Icon"} -

Features

+
Features
- -
-
+
+
{"Icon"} -

Troubleshooting

+
Troubleshooting
-
-

Find solutions to common issues, including error codes, and FAQs.

-
); -} \ No newline at end of file +}