Skip to content

Commit b1f32c3

Browse files
authored
fix(docs): Fixed typo and added back chat with us option (#1207)
1 parent 95b1911 commit b1f32c3

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

components/chat/chat-with-us.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
"use client";
22
import React, { useState } from "react";
33
import ChatWindow from "./chat-window";
4-
import { AgentIcon } from "src/icons/shared-icons";
4+
import Image from "next/image";
5+
import FetchWhite from "src/images/fetch_logo_only_white.svg";
56

67
const ChatWithUs = () => {
78
const [isChatOpen, setIsChatOpen] = useState(false);
@@ -10,9 +11,15 @@ const ChatWithUs = () => {
1011
<>
1112
<button
1213
onClick={() => setIsChatOpen(!isChatOpen)}
13-
className="nx-fixed nx-bottom-12 nx-right-12 !nx-px-6 !nx-py-4 nx-z-40 nx-flex nx-bg-chatwithus nx-text-white nx-rounded-lg nx-font-medium nx-gap-4"
14+
className="nx-fixed nx-bottom-12 nx-right-12 !nx-px-6 !nx-py-4 nx-z-40 nx-flex nx-bg-chatwithus nx-uppercase nx-font-medium geist-mono-font-family nx-text-white nx-rounded-lg nx-gap-2"
1415
>
15-
<AgentIcon />
16+
<Image
17+
src={FetchWhite}
18+
alt="agentverse-img"
19+
width={16}
20+
height={16}
21+
className="nx-w-[16px] nx-h-[16px] nx-my-auto"
22+
/>
1623
Chat with us
1724
</button>
1825
{isChatOpen && <ChatWindow onClose={() => setIsChatOpen(false)} />}

components/landing-page.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import flockx_no_code from "../src/images/flockx_nocodeagentstudio.png";
88
import InfoCard from "./info-card";
99
import InfoImageCard from "./info-image-card";
1010
import InfoImagePngCard from "./info-image-card-png";
11+
import ChatWithUs from "./chat/chat-with-us";
1112

1213
function LandingPage() {
1314
return (
@@ -101,7 +102,7 @@ function LandingPage() {
101102
<div className="nx-flex nx-flex-col md:nx-flex-row nx-gap-6 nx-mt-8 nx-w-full">
102103
<InfoCard
103104
href="https://innovationlab.fetch.ai/resources/docs/examples/chat-protocol/asi1-compatible-uagents"
104-
mainTitle="AS1:One"
105+
mainTitle="ASI:One"
105106
firstTitle="Build an Agent Compatible with"
106107
icon="/assets/iconlogo_asione.svg"
107108
/>
@@ -319,6 +320,8 @@ function LandingPage() {
319320
</div>
320321
</section>
321322
</section>
323+
324+
<ChatWithUs />
322325
</section>
323326
);
324327
}

styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4086,7 +4086,7 @@ input[type="search"]::-webkit-search-results-decoration {
40864086
}
40874087

40884088
.nx-bg-chatwithus {
4089-
background-color: #5f38fb;
4089+
background-color: #000;
40904090
}
40914091

40924092
:is(html[class~="dark"] .dark\:nx-bg-dark-mode-white-10) {

0 commit comments

Comments
 (0)