From becd8218c605b5979747b96d6ad4bae77a9b2c9f Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Wed, 16 Aug 2023 11:08:33 +0100 Subject: [PATCH 1/5] update actions --- .../experimental_/WelcomeMessage_.tsx | 52 ++++++++++++------- 1 file changed, 34 insertions(+), 18 deletions(-) diff --git a/src/components/experimental_/WelcomeMessage_.tsx b/src/components/experimental_/WelcomeMessage_.tsx index 122f3667d..62c31d9f3 100644 --- a/src/components/experimental_/WelcomeMessage_.tsx +++ b/src/components/experimental_/WelcomeMessage_.tsx @@ -19,7 +19,7 @@ const WelcomeBox = ({ onClick, children }: { onClick?: () => void; children: Rea text-white text-opacity-70 md:p-2 ${onClickClasses} center w-full`} onClick={onClick} > -

{children}

+

”{children}”

); }; @@ -32,37 +32,53 @@ const WelcomeMessage = () => { const { sendMessage } = useChatContext(); return (
-
+ +
+ CactiChat -
+ +
- Examples - sendMessage('Find some dog nfts')}> - ”Browse some dog nfts” + Explore NFTs + sendMessage('Browse some cheetah nft collections')}> + Browse some [cheetah] NFT collections - sendMessage('Swap 0.1 ETH for DAI on Uniswap')}> - ”Swap 0.1 ETH for DAI on Uniswap” + sendMessage('Load Pudgy Penguins nft collection')}> + Show specific NFT collections [Pudgy Penguins] - sendMessage('Get the price of ETH in terms of USD')}> - ”Get the price of ETH in terms of USD” + sendMessage('What Nfts do I own?')}> + What Nfts do I own? - Capabilities - Generate transactions to send tokens or Swap on Uniswap - Query NFT collections - Check on chain data + Interact with protocols + sendMessage('Swap 0.1 ETH for DAI on Uniswap')}> + Swap 0.1 ETH for DAI on Uniswap + + sendMessage('Borrow 1000 USDC on yield Protocol with ETH collateral')}> + Borrow 1000 USDC on yield Protocol with ETH collateral + + sendMessage('Register the name [domain-name].eth on ENS')}> + Register the name [domain-name].eth on ENS + + {/* */} - Limitations - Can only interact with Ethereum mainnet - Does not support all tokens for all commands - More limitations + Query the Network + sendMessage('What is the price of ETH in terms of USD')}> + What is the price of ETH in terms of USD? + + sendMessage('What is my DAI balance?')}> + What is my DAI balance? + + sendMessage('What are the top yields on Ethereum')}> + What are the top yields on Ethereum? +
From 3fbff22d9c6735b1df846f94ed99602c2dc2f633 Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Wed, 16 Aug 2023 11:18:58 +0100 Subject: [PATCH 2/5] style updates --- src/components/experimental_/WelcomeMessage_.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/experimental_/WelcomeMessage_.tsx b/src/components/experimental_/WelcomeMessage_.tsx index 62c31d9f3..2ad3f6390 100644 --- a/src/components/experimental_/WelcomeMessage_.tsx +++ b/src/components/experimental_/WelcomeMessage_.tsx @@ -7,7 +7,7 @@ import Cactus3 from './CactiImages/Cactus3'; import cactiImage from './CactiImages/cacti.png'; const WelcomeColumn = ({ children }: { children: ReactNode }) => { - return
{children}
; + return
{children}
; }; const WelcomeBox = ({ onClick, children }: { onClick?: () => void; children: ReactNode }) => { @@ -37,7 +37,7 @@ const WelcomeMessage = () => { CactiChat -
+
Explore NFTs From cd401da874af712fc8326c7ba2651d5c316f1e03 Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Wed, 16 Aug 2023 11:20:31 +0100 Subject: [PATCH 3/5] styling font --- src/components/experimental_/WelcomeMessage_.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/experimental_/WelcomeMessage_.tsx b/src/components/experimental_/WelcomeMessage_.tsx index 2ad3f6390..66dbb36ee 100644 --- a/src/components/experimental_/WelcomeMessage_.tsx +++ b/src/components/experimental_/WelcomeMessage_.tsx @@ -19,7 +19,7 @@ const WelcomeBox = ({ onClick, children }: { onClick?: () => void; children: Rea text-white text-opacity-70 md:p-2 ${onClickClasses} center w-full`} onClick={onClick} > -

”{children}”

+

”{children}”

); }; From e6a3128b39f4a8d0e1bec917683e1f107a5abf62 Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Wed, 16 Aug 2023 11:30:35 +0100 Subject: [PATCH 4/5] increase font size + border color --- src/components/experimental_/WelcomeMessage_.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/experimental_/WelcomeMessage_.tsx b/src/components/experimental_/WelcomeMessage_.tsx index 66dbb36ee..23550e05f 100644 --- a/src/components/experimental_/WelcomeMessage_.tsx +++ b/src/components/experimental_/WelcomeMessage_.tsx @@ -15,11 +15,11 @@ const WelcomeBox = ({ onClick, children }: { onClick?: () => void; children: Rea return (
-

”{children}”

+

”{children}”

); }; From 8a3153831bd4a546edc1f7789fad283ffaa080b3 Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Wed, 16 Aug 2023 15:22:56 +0100 Subject: [PATCH 5/5] USDC --- src/components/experimental_/WelcomeMessage_.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/experimental_/WelcomeMessage_.tsx b/src/components/experimental_/WelcomeMessage_.tsx index 23550e05f..aa4c1c9cf 100644 --- a/src/components/experimental_/WelcomeMessage_.tsx +++ b/src/components/experimental_/WelcomeMessage_.tsx @@ -47,8 +47,8 @@ const WelcomeMessage = () => { sendMessage('Load Pudgy Penguins nft collection')}> Show specific NFT collections [Pudgy Penguins] - sendMessage('What Nfts do I own?')}> - What Nfts do I own? + sendMessage('What NFTs do I own?')}> + What NFTs do I own? @@ -59,7 +59,7 @@ const WelcomeMessage = () => { Swap 0.1 ETH for DAI on Uniswap sendMessage('Borrow 1000 USDC on yield Protocol with ETH collateral')}> - Borrow 1000 USDC on yield Protocol with ETH collateral + Borrow 1000 USDC on yield Protocol with ETH collateral sendMessage('Register the name [domain-name].eth on ENS')}> Register the name [domain-name].eth on ENS @@ -71,7 +71,7 @@ const WelcomeMessage = () => { {/* */} Query the Network sendMessage('What is the price of ETH in terms of USD')}> - What is the price of ETH in terms of USD? + What is the price of ETH in terms of USDC? sendMessage('What is my DAI balance?')}> What is my DAI balance?