From d7d5f3447945a41ef4443363b9915c984e8446b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=A9douard=20wautier?= Date: Thu, 23 Nov 2023 16:12:06 +0100 Subject: [PATCH] Using Hover on Homepage --- front/components/home/contentComponents.tsx | 34 ++- front/package-lock.json | 9 +- front/package.json | 2 +- front/pages/index.tsx | 197 +++++++++--------- front/public/static/landing/apps_0.png | Bin 0 -> 61411 bytes front/public/static/landing/apps_1.png | Bin 0 -> 66669 bytes front/public/static/landing/assistants_0.png | Bin 0 -> 295324 bytes front/public/static/landing/assistants_1.png | Bin 0 -> 242492 bytes front/public/static/landing/builder_0.png | Bin 0 -> 74389 bytes front/public/static/landing/builder_1.png | Bin 0 -> 143471 bytes front/public/static/landing/connect_0.png | Bin 165787 -> 165252 bytes front/public/static/landing/connect_1.png | Bin 196510 -> 146069 bytes .../public/static/landing/conversation_0.png | Bin 38488 -> 30307 bytes .../public/static/landing/conversation_1.png | Bin 27983 -> 59300 bytes .../public/static/landing/conversation_2.png | Bin 44263 -> 50977 bytes .../public/static/landing/conversation_3.png | Bin 51676 -> 0 bytes front/public/static/landing/llm.png | Bin 379304 -> 0 bytes front/public/static/landing/partners.png | Bin 332627 -> 0 bytes front/public/static/landing/slack_0.png | Bin 0 -> 34973 bytes front/public/static/landing/slack_1.png | Bin 0 -> 88407 bytes front/public/static/landing/slack_2.png | Bin 0 -> 44709 bytes 21 files changed, 124 insertions(+), 118 deletions(-) create mode 100644 front/public/static/landing/apps_0.png create mode 100644 front/public/static/landing/apps_1.png create mode 100644 front/public/static/landing/assistants_0.png create mode 100644 front/public/static/landing/assistants_1.png create mode 100644 front/public/static/landing/builder_0.png create mode 100644 front/public/static/landing/builder_1.png delete mode 100644 front/public/static/landing/conversation_3.png delete mode 100644 front/public/static/landing/llm.png delete mode 100644 front/public/static/landing/partners.png create mode 100644 front/public/static/landing/slack_0.png create mode 100644 front/public/static/landing/slack_1.png create mode 100644 front/public/static/landing/slack_2.png diff --git a/front/components/home/contentComponents.tsx b/front/components/home/contentComponents.tsx index 686d5ee51dcf..49196bdeaef5 100644 --- a/front/components/home/contentComponents.tsx +++ b/front/components/home/contentComponents.tsx @@ -1,6 +1,8 @@ import { CircleIcon, + Div3D, HexagonIcon, + Hover3D, Icon, RectangleIcon, SquareIcon, @@ -260,19 +262,33 @@ export const ReactiveIcon = ({ { className: classNames( singleChild.props.className, - "h-8 w-8 md:h-12 md:w-12 drop-shadow-[0_5px_5px_rgba(0,0,0,0.4)]" + "h-8 w-8 md:h-12 md:w-12" ), } ); return ( - + // {modifiedChild} + // + - {modifiedChild} - + + {modifiedChild} + + ); }; diff --git a/front/package-lock.json b/front/package-lock.json index 433cb08675bd..c41245abaa31 100644 --- a/front/package-lock.json +++ b/front/package-lock.json @@ -4,9 +4,8 @@ "requires": true, "packages": { "": { - "name": "front", "dependencies": { - "@dust-tt/sparkle": "^0.2.46", + "@dust-tt/sparkle": "^0.2.47", "@emoji-mart/data": "^1.1.2", "@emoji-mart/react": "^1.1.1", "@headlessui/react": "^1.7.7", @@ -862,9 +861,9 @@ "integrity": "sha512-smLocSfrt3s53H/XSVP3/1kP42oqvrkjUPtyaFd1F79ux24oE31BKt+q0c6lsa6hOYrFzsIwyc5GXAI5JmfOew==" }, "node_modules/@dust-tt/sparkle": { - "version": "0.2.46", - "resolved": "https://registry.npmjs.org/@dust-tt/sparkle/-/sparkle-0.2.46.tgz", - "integrity": "sha512-Gp3PYavsbUDggZ6UJQ7nu7JYtKoVkW/YzjV/Gn+MqFgUjAFzR23AEaNHOhXwQTNl7HM2t6v+c+b8FsqTHyB3MA==", + "version": "0.2.47", + "resolved": "https://registry.npmjs.org/@dust-tt/sparkle/-/sparkle-0.2.47.tgz", + "integrity": "sha512-QAMfXPO9xL7Pcj6buJVKJMuj1t+/gy4WMhSCpnoili8AqMaXRTvpKDNM4RKTlT5EFg0kBOMrbKItg+Frx9cptA==", "dependencies": { "@headlessui/react": "^1.7.17" }, diff --git a/front/package.json b/front/package.json index 8d9da25c1269..97ce11085123 100644 --- a/front/package.json +++ b/front/package.json @@ -13,7 +13,7 @@ "initdb": "env $(cat .env.local) npx tsx admin/db.ts" }, "dependencies": { - "@dust-tt/sparkle": "^0.2.46", + "@dust-tt/sparkle": "^0.2.47", "@emoji-mart/data": "^1.1.2", "@emoji-mart/react": "^1.1.1", "@headlessui/react": "^1.7.7", diff --git a/front/pages/index.tsx b/front/pages/index.tsx index 6f1585b67b0f..5ffc5e69caa5 100644 --- a/front/pages/index.tsx +++ b/front/pages/index.tsx @@ -1,16 +1,18 @@ import { - AnthropicLogo, + AnthropicWhiteLogo, Button, + Div3D, DriveLogo, GithubWhiteLogo, GoogleLogo, + Hover3D, Logo, LogoHorizontalWhiteLogo, MicrosoftLogo, MistralLogo, MoreIcon, NotionLogo, - OpenaiLogo, + OpenaiWhiteLogo, SlackLogo, } from "@dust-tt/sparkle"; import { GetServerSideProps, InferGetServerSidePropsType } from "next"; @@ -227,17 +229,28 @@ export default function Home({ - - - + + + + + + + + + +
- - - + + + + + + +

- + - + @@ -488,8 +508,11 @@ export default function Home({ {/* Bring your team: Content*/} - - - + + + + + + + - + + + + + + +

Manage workspace invitations seamlessly with{" "} single sign‑on (SSO).

- - + + + + + + + + + + + {/*
- + */}
{/* Design for security */} @@ -612,9 +674,12 @@ export default function Home({
Dust do it! - - - + + + + + + +

own databases on advanced use cases.

- {/* -
-

- Want to start with Dust? -
- - Come check us out on a larger screen! - -

-

- We're excited for you to explore our price plans and start - your onboarding journey. For the optimal experience, - please return on a device with a bigger screen. -

-
-
*/}
- {/* - -

- Our product constitution -

-
-

- Augmenting humans, not replacing them -

-

- We're optimistic about making work life better for smart people. - We're building R2-D2, not Skynet. -

-
-
-

Hard problems over hype

-

- There's more to do than wrapping GPT into a chat UI. We're in - this to solve hard problems on user experience and product - quality. -

-
-
-

- Building with an AI core -

-

- We're building with large language models in mind from the - ground up, rather than sprinkling them here and there. -

-
-
*/}