Compare commits

..

No commits in common. "aacbc216057679b8812bb3dfdfbdf786f00a4049" and "4fbd6c3ff4b4c2107e408a8ef71db1de67988902" have entirely different histories.

9 changed files with 46 additions and 70 deletions

View File

@ -48,7 +48,7 @@ export default function ResponseAgentCard({
)
`
)
.eq("id", parseInt(agentResponseId))
.eq("id", agentResponseId)
.limit(1)
.single();

View File

@ -326,22 +326,21 @@ const CompleteComponent = ({
<Check className="h-6 w-6 text-green-800" />
</div>
<h3 className="text-lg py-4 font-bold">Agent succesfully created!</h3>
<p className="text-muted-foreground mb-3">
<p className="text-muted-foreground">
You can try to have a conversation with your agent.
</p>
<Link
href={`/agents/${agentId}`}
target="blank"
className={buttonVariants({ variant: "outline" })}
className="text-blue-500 hover:underline"
>
<MessageCircle className="h-4 w-4 mr-2"/>
Chat with {agentName}
</Link>
</div>
{/* form footer */}
<div>
<div className="flex justify-end gap-4">
<Link href="/" className={buttonVariants({ variant: "default" })}>
<Link href="/" className={buttonVariants({ variant: "outline" })}>
Back to home
</Link>
</div>

View File

@ -5,15 +5,14 @@ import Image from "next/image";
import { motion } from "framer-motion";
import { Play, Share, Share2 } from "lucide-react";
import { Play } from "lucide-react";
import { formatDate } from "@/lib/utils";
import { Tables } from "@/utils/supabase/database.types";
import { Badge } from "@/components/ui/badge";
import { Button, buttonVariants } from "@/components/ui/button";
import { toast } from "sonner";
import { buttonVariants } from "@/components/ui/button";
const ease = [0.16, 1, 0.3, 1];
@ -66,22 +65,11 @@ export default function AgentCard(props: AgentCardProps) {
</div>
<h3 className="text-xl font-semibold mb-2 truncate">{name}</h3>
<p className="text-sm text-foreground line-clamp-3 mb-4">{description}</p>
<div className="mt-auto grid sm:grid-cols-2 gap-2">
<Button
variant={"outline"}
onClick={() => {
navigator.clipboard.writeText(`https://beactio.ai/agents/${id}`);
// navigator.clipboard.writeText(`http://localhost:3000/agents/${id}`);
toast.info("Copied to clipboard!");
}}
>
<Share2 className="h-4 w-4 mr-2" />
<span>Share</span>
</Button>
<div className="mt-auto grid">
<Link
href={`/agents/${id}`}
target="blank"
className={buttonVariants({ variant: "default" })}
className={buttonVariants({ variant: "outline" })}
>
<Play className="h-4 w-4 mr-2" />
<span>Try it</span>

View File

@ -18,7 +18,7 @@ export default function CtaSection() {
<Section
id="cta"
title="Ready to experience the future of autonomous AI?"
subtitle="Join us and try our Agentic AI in your operations."
subtitle="Join us and try our agentic AI into your operations."
className="bg-primary/10 dark:bg-primary/70 rounded-xl py-16"
>
<motion.div

View File

@ -56,8 +56,19 @@ export default function Footer() {
/>
<span className="font-bold text-xl">{siteConfig.name}</span>
</Link>
<p className="mb-5">Build advanced Custom AI Agents with No Code</p>
<p className="mb-5">Build advanced custom ai agents with no code</p>
<ul className="flex gap-3">
<li>
<Link
href="/"
className={buttonVariants({
variant: "outline",
size: "icon",
})}
>
<FaBook className="text-primary" />
</Link>
</li>
<li>
<Link
href="https://x.com/beactio_ai"

View File

@ -36,29 +36,25 @@ function HeroPill() {
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.8, ease }}
>
<Link
href={"/explore"}
<Button
variant={"outline"}
className="flex w-auto items-center space-x-2 rounded-full bg-primary/20 px-2 py-1 ring-1 ring-accent whitespace-pre"
// variant={"outline"}
// onClick={() => {
// if (data && data.address) {
// navigator.clipboard.writeText(data.address);
// toast.info("Copied to clipboard!");
// }
// }}
onClick={() => {
if (data && data.address) {
navigator.clipboard.writeText(data.address);
toast.info("Copied to clipboard!");
}
}}
>
<div className="w-fit rounded-full bg-accent px-2 py-0.5 text-center text-xs font-medium text-primary sm:text-sm">
📣 Announcement
📣 Content Address :
</div>
<p className="text-xs font-medium text-primary sm:text-sm pr-2">
Introducing beactio.ai
</p>
{/* {isLoading && (
{isLoading && (
<div className="px-6 flex items-center">
<Spinner />
</div>
)} */}
{/* {isError && (
)}
{isError && (
<p className="text-xs font-medium text-primary sm:text-sm">
There is something wrong.
</p>
@ -67,8 +63,8 @@ function HeroPill() {
<p className="text-xs font-medium text-primary sm:text-sm pr-1">
{data?.address}
</p>
)} */}
</Link>
)}
</Button>
</motion.div>
);
}

View File

@ -7,7 +7,7 @@ export const BLUR_FADE_DELAY = 0.15;
export const siteConfig = {
name: "beactio.ai",
description: "Build advanced Custom AI Agents with No Code",
description: "Automate your workflow with AI",
url: process.env.NEXT_PUBLIC_APP_URL || "http://localhost:3000",
keywords: ["SaaS", "Template", "Next.js", "React", "Tailwind CSS"],
links: {

View File

@ -4,10 +4,7 @@ import { PrivyProvider } from "@privy-io/react-auth";
import { toSolanaWalletConnectors } from "@privy-io/react-auth/solana";
const solanaConnectors = toSolanaWalletConnectors({
// By default, shouldAutoConnect is enabled
shouldAutoConnect: false,
});
const solanaConnectors = toSolanaWalletConnectors();
export default function MyPrivyProvider({
children,
@ -23,11 +20,11 @@ export default function MyPrivyProvider({
accentColor: "#812f20",
theme: "light",
showWalletLoginFirst: false,
walletChainType: "solana-only",
// walletList: ["phantom"],
logo: "https://supabasekong-swwwcowsg8kso0cg4swosw48.dev3vds1.link/storage/v1/object/public/logo/banner.png",
walletChainType: "ethereum-and-solana",
walletList: ["detected_wallets", "phantom"],
logo: "https://supabasekong-mco40gw4sc0gs4ks40w4c4g4.dev3vds1.link/storage/v1/object/public/agent-thumbnails/Beactio%20Banner.png",
},
loginMethods: ["email", "wallet"],
loginMethods: ["email", "wallet", "discord"],
fundingMethodConfig: {
moonpay: {
useSandbox: true,

View File

@ -63,21 +63,21 @@ export type Database = {
Row: {
agent_id: number;
created_at: string;
id: number;
id: string;
question: string;
response: string;
};
Insert: {
agent_id: number;
created_at?: string;
id?: number;
id?: string;
question: string;
response: string;
};
Update: {
agent_id?: number;
created_at?: string;
id?: number;
id?: string;
question?: string;
response?: string;
};
@ -103,11 +103,11 @@ export type Database = {
user_id: string | null;
};
Insert: {
conversation: number;
conversation?: number;
created_at?: string;
description: string;
id?: number;
image_url: string;
image_url?: string;
last_conv?: string | null;
model_type: Database["public"]["Enums"]["modelType"];
name: string;
@ -547,18 +547,3 @@ export type Enums<
: PublicEnumNameOrOptions extends keyof PublicSchema["Enums"]
? PublicSchema["Enums"][PublicEnumNameOrOptions]
: never;
export type CompositeTypes<
PublicCompositeTypeNameOrOptions extends
| keyof PublicSchema["CompositeTypes"]
| { schema: keyof Database },
CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
schema: keyof Database;
}
? keyof Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"]
: never = never
> = PublicCompositeTypeNameOrOptions extends { schema: keyof Database }
? Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName]
: PublicCompositeTypeNameOrOptions extends keyof PublicSchema["CompositeTypes"]
? PublicSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions]
: never;