From 845c55ec9a006eb70f043e3062bc9a9d4a1437ec Mon Sep 17 00:00:00 2001
From: jasangill1 <56135840+jasangill1@users.noreply.github.com>
Date: Wed, 12 Jul 2023 22:04:42 -0700
Subject: [PATCH 1/8] =?UTF-8?q?=E2=9C=A8=20Hero=20Banner?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
next/src/components/HeroTimeBanner.tsx | 43 ++++++++++++++++++++++++++
next/src/components/landing/Hero.tsx | 16 +++++++---
2 files changed, 55 insertions(+), 4 deletions(-)
create mode 100644 next/src/components/HeroTimeBanner.tsx
diff --git a/next/src/components/HeroTimeBanner.tsx b/next/src/components/HeroTimeBanner.tsx
new file mode 100644
index 0000000000..7be6db8dbb
--- /dev/null
+++ b/next/src/components/HeroTimeBanner.tsx
@@ -0,0 +1,43 @@
+import clsx from "clsx";
+import Button from "../ui/button";
+import type { ReactNode } from "react";
+import React from "react";
+
+type HeroTimeBannerProps = {
+ title: string;
+ subtitle: string;
+ leftIcon: ReactNode;
+ rightIcon: ReactNode;
+ onClick?: () => void;
+};
+
+const HeroTimeBanner: React.FC = ({
+ title,
+ subtitle,
+ leftIcon,
+ rightIcon,
+ onClick,
+}) => {
+ return (
+
+ {subtitle}
+
+ );
+};
+
+export default HeroTimeBanner;
diff --git a/next/src/components/landing/Hero.tsx b/next/src/components/landing/Hero.tsx
index 2a75cb3d06..321153793d 100644
--- a/next/src/components/landing/Hero.tsx
+++ b/next/src/components/landing/Hero.tsx
@@ -3,14 +3,13 @@ import BannerBadge from "../BannerBadge";
import clsx from "clsx";
import PrimaryButton from "../PrimaryButton";
import TextButton from "../TextButton";
-import Backing from "./Backing";
import React from "react";
import { useRouter } from "next/router";
import Image from "next/image";
import { FaChevronRight } from "react-icons/fa";
-import FooterLinks from "./FooterLinks";
+import HeroTimeBanner from "../HeroTimeBanner";
-const Hero = () => {
+const Hero: React.FC = () => {
const router = useRouter();
return (
@@ -48,11 +47,20 @@ const Hero = () => {
"from-white via-white via-50% to-neutral-600"
)}
>
- Create and deploy AI agents in the web in seconds. Simply give them a name and goal.
+ Create and deploy AI agents on the web in seconds. Simply give them a name and goal.
Then experience a new way to accomplish any objective.
+ }
+ rightIconIcon={}
+ onClick={() => {
+ router.push("/").catch(console.error);
+ }}
+ />
}
From 6577c808dc871237ae98db370d155fc01aee4464 Mon Sep 17 00:00:00 2001
From: jasangill1 <56135840+jasangill1@users.noreply.github.com>
Date: Wed, 12 Jul 2023 22:24:05 -0700
Subject: [PATCH 2/8] =?UTF-8?q?=E2=9C=A8=20Applied=20flex=20for=20layout?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
next/src/components/HeroTimeBanner.tsx | 23 +++++++++++------------
next/src/components/landing/Hero.tsx | 8 ++++----
2 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/next/src/components/HeroTimeBanner.tsx b/next/src/components/HeroTimeBanner.tsx
index 7be6db8dbb..5a9cb44ac3 100644
--- a/next/src/components/HeroTimeBanner.tsx
+++ b/next/src/components/HeroTimeBanner.tsx
@@ -1,5 +1,4 @@
import clsx from "clsx";
-import Button from "../ui/button";
import type { ReactNode } from "react";
import React from "react";
@@ -19,24 +18,24 @@ const HeroTimeBanner: React.FC
= ({
onClick,
}) => {
return (
-
}
- rightIconIcon={}
+ title="Platformer"
+ subtitle="A Platformer game builder"
+ leftIcon={}
+ rightIcon={}
onClick={() => {
router.push("/").catch(console.error);
}}
From f1c1aa30927ef0aebd84eed8d9e4339b05b4bcaf Mon Sep 17 00:00:00 2001
From: jasangill1 <56135840+jasangill1@users.noreply.github.com>
Date: Wed, 12 Jul 2023 22:25:51 -0700
Subject: [PATCH 3/8] =?UTF-8?q?=E2=9C=A8=20Format?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
next/src/components/HeroTimeBanner.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/next/src/components/HeroTimeBanner.tsx b/next/src/components/HeroTimeBanner.tsx
index 5a9cb44ac3..6d57c0afe7 100644
--- a/next/src/components/HeroTimeBanner.tsx
+++ b/next/src/components/HeroTimeBanner.tsx
@@ -27,7 +27,7 @@ const HeroTimeBanner: React.FC = ({
"cursor-pointer"
)}
>
-
+
{leftIcon}
{title}
From b24c095495696fb93ea1cb839c4d68af6d964821 Mon Sep 17 00:00:00 2001
From: jasangill1 <56135840+jasangill1@users.noreply.github.com>
Date: Wed, 12 Jul 2023 22:51:31 -0700
Subject: [PATCH 4/8] =?UTF-8?q?=F0=9F=A6=B4=20Skeleton=20on=20banner=20but?=
=?UTF-8?q?ton?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
next/src/components/HeroTimeBanner.tsx | 14 ++++++++------
next/src/components/landing/Hero.tsx | 4 ++--
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/next/src/components/HeroTimeBanner.tsx b/next/src/components/HeroTimeBanner.tsx
index 6d57c0afe7..75360fd4f6 100644
--- a/next/src/components/HeroTimeBanner.tsx
+++ b/next/src/components/HeroTimeBanner.tsx
@@ -21,19 +21,21 @@ const HeroTimeBanner: React.FC
= ({
- {leftIcon}
-
+
{leftIcon}
+
-
{rightIcon}
+
{rightIcon}
);
diff --git a/next/src/components/landing/Hero.tsx b/next/src/components/landing/Hero.tsx
index bd8a59d3a9..9350b0c2f8 100644
--- a/next/src/components/landing/Hero.tsx
+++ b/next/src/components/landing/Hero.tsx
@@ -55,8 +55,8 @@ const Hero: React.FC = () => {
}
- rightIcon={
}
+ leftIcon={
}
+ rightIcon={
}
onClick={() => {
router.push("/").catch(console.error);
}}
From a8d46c59fb77d48d1c10ed8efb5c6b77340f8fb0 Mon Sep 17 00:00:00 2001
From: jasangill1 <56135840+jasangill1@users.noreply.github.com>
Date: Wed, 12 Jul 2023 23:34:03 -0700
Subject: [PATCH 5/8] =?UTF-8?q?=E2=9C=A8=20Formatting?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
next/src/components/HeroTimeBanner.tsx | 5 ++---
next/src/components/landing/Hero.tsx | 6 +++---
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/next/src/components/HeroTimeBanner.tsx b/next/src/components/HeroTimeBanner.tsx
index 75360fd4f6..b47104fee8 100644
--- a/next/src/components/HeroTimeBanner.tsx
+++ b/next/src/components/HeroTimeBanner.tsx
@@ -21,11 +21,10 @@ const HeroTimeBanner: React.FC
= ({
diff --git a/next/src/components/landing/Hero.tsx b/next/src/components/landing/Hero.tsx
index 9350b0c2f8..331c6b2e77 100644
--- a/next/src/components/landing/Hero.tsx
+++ b/next/src/components/landing/Hero.tsx
@@ -6,7 +6,7 @@ import TextButton from "../TextButton";
import React from "react";
import { useRouter } from "next/router";
import Image from "next/image";
-import { FaChevronRight } from "react-icons/fa";
+import { FaCalculator, FaChevronRight } from "react-icons/fa";
import HeroTimeBanner from "../HeroTimeBanner";
const Hero: React.FC = () => {
@@ -55,8 +55,8 @@ const Hero: React.FC = () => {
}
- rightIcon={
}
+ leftIcon={
}
+ rightIcon={
}
onClick={() => {
router.push("/").catch(console.error);
}}
From 02818f496c8d865c265100229abe5c45fc723315 Mon Sep 17 00:00:00 2001
From: jasangill1 <56135840+jasangill1@users.noreply.github.com>
Date: Wed, 12 Jul 2023 23:40:35 -0700
Subject: [PATCH 6/8] =?UTF-8?q?=E2=9C=A8=20Better=20Formatting?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
next/src/components/HeroTimeBanner.tsx | 6 +++---
next/src/components/landing/Hero.tsx | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/next/src/components/HeroTimeBanner.tsx b/next/src/components/HeroTimeBanner.tsx
index b47104fee8..9fdf3b3cc6 100644
--- a/next/src/components/HeroTimeBanner.tsx
+++ b/next/src/components/HeroTimeBanner.tsx
@@ -21,8 +21,8 @@ const HeroTimeBanner: React.FC
= ({
= ({
{leftIcon}
{title}
-
{subtitle}
+
{subtitle}
{rightIcon}
diff --git a/next/src/components/landing/Hero.tsx b/next/src/components/landing/Hero.tsx
index 331c6b2e77..9c28bb1d48 100644
--- a/next/src/components/landing/Hero.tsx
+++ b/next/src/components/landing/Hero.tsx
@@ -55,8 +55,8 @@ const Hero: React.FC = () => {
}
- rightIcon={}
+ leftIcon={}
+ rightIcon={}
onClick={() => {
router.push("/").catch(console.error);
}}
From ecad76290df99c6fd320fca1fc9abfa90f5a8d11 Mon Sep 17 00:00:00 2001
From: Joe Shen
Date: Thu, 13 Jul 2023 19:15:58 -0700
Subject: [PATCH 7/8] merge in Joe's changes
---
next/public/icons/gamepad-purple-solid.svg | 23 +++++++++++++++++++
next/public/icons/sparkle-default-regular.svg | 11 +++++++++
next/src/components/HeroTimeBanner.tsx | 21 +++++++++--------
next/src/components/landing/Hero.tsx | 6 +++--
4 files changed, 49 insertions(+), 12 deletions(-)
create mode 100644 next/public/icons/gamepad-purple-solid.svg
create mode 100644 next/public/icons/sparkle-default-regular.svg
diff --git a/next/public/icons/gamepad-purple-solid.svg b/next/public/icons/gamepad-purple-solid.svg
new file mode 100644
index 0000000000..aa16fa73bd
--- /dev/null
+++ b/next/public/icons/gamepad-purple-solid.svg
@@ -0,0 +1,23 @@
+
diff --git a/next/public/icons/sparkle-default-regular.svg b/next/public/icons/sparkle-default-regular.svg
new file mode 100644
index 0000000000..13a454b993
--- /dev/null
+++ b/next/public/icons/sparkle-default-regular.svg
@@ -0,0 +1,11 @@
+
diff --git a/next/src/components/HeroTimeBanner.tsx b/next/src/components/HeroTimeBanner.tsx
index 9fdf3b3cc6..3ab03dc881 100644
--- a/next/src/components/HeroTimeBanner.tsx
+++ b/next/src/components/HeroTimeBanner.tsx
@@ -20,21 +20,22 @@ const HeroTimeBanner: React.FC = ({
return (
-
-
{leftIcon}
-
-
{rightIcon}
+ {/*
*/}
+
{leftIcon}
+
+
+ {rightIcon}
);
diff --git a/next/src/components/landing/Hero.tsx b/next/src/components/landing/Hero.tsx
index 9c28bb1d48..f3a56f5b65 100644
--- a/next/src/components/landing/Hero.tsx
+++ b/next/src/components/landing/Hero.tsx
@@ -8,6 +8,8 @@ import { useRouter } from "next/router";
import Image from "next/image";
import { FaCalculator, FaChevronRight } from "react-icons/fa";
import HeroTimeBanner from "../HeroTimeBanner";
+import GamepadIcon from "../../../public/icons/gamepad-purple-solid.svg";
+import SparkleIcon from "../../../public/icons/sparkle-default-regular.svg";
const Hero: React.FC = () => {
const router = useRouter();
@@ -55,8 +57,8 @@ const Hero: React.FC = () => {
}
- rightIcon={
}
+ leftIcon={
}
+ rightIcon={
}
onClick={() => {
router.push("/").catch(console.error);
}}
From 0ab65f5140abe7f7f629795e934f99c3f460b114 Mon Sep 17 00:00:00 2001
From: Joe Shen
Date: Thu, 13 Jul 2023 19:20:13 -0700
Subject: [PATCH 8/8] remove commented out code
---
next/src/components/HeroTimeBanner.tsx | 1 -
1 file changed, 1 deletion(-)
diff --git a/next/src/components/HeroTimeBanner.tsx b/next/src/components/HeroTimeBanner.tsx
index 3ab03dc881..fed924a8db 100644
--- a/next/src/components/HeroTimeBanner.tsx
+++ b/next/src/components/HeroTimeBanner.tsx
@@ -28,7 +28,6 @@ const HeroTimeBanner: React.FC = ({
"cursor-pointer"
)}
>
- {/*