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) .limit(1)
.single(); .single();

View File

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

View File

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

View File

@ -18,7 +18,7 @@ export default function CtaSection() {
<Section <Section
id="cta" id="cta"
title="Ready to experience the future of autonomous AI?" 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" className="bg-primary/10 dark:bg-primary/70 rounded-xl py-16"
> >
<motion.div <motion.div

View File

@ -56,8 +56,19 @@ export default function Footer() {
/> />
<span className="font-bold text-xl">{siteConfig.name}</span> <span className="font-bold text-xl">{siteConfig.name}</span>
</Link> </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"> <ul className="flex gap-3">
<li>
<Link
href="/"
className={buttonVariants({
variant: "outline",
size: "icon",
})}
>
<FaBook className="text-primary" />
</Link>
</li>
<li> <li>
<Link <Link
href="https://x.com/beactio_ai" href="https://x.com/beactio_ai"

View File

@ -36,29 +36,25 @@ function HeroPill() {
animate={{ opacity: 1, y: 0 }} animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.8, ease }} transition={{ duration: 0.8, ease }}
> >
<Link <Button
href={"/explore"} 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" 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={() => {
// onClick={() => { if (data && data.address) {
// if (data && data.address) { navigator.clipboard.writeText(data.address);
// navigator.clipboard.writeText(data.address); toast.info("Copied to clipboard!");
// 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"> <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> </div>
<p className="text-xs font-medium text-primary sm:text-sm pr-2"> {isLoading && (
Introducing beactio.ai
</p>
{/* {isLoading && (
<div className="px-6 flex items-center"> <div className="px-6 flex items-center">
<Spinner /> <Spinner />
</div> </div>
)} */} )}
{/* {isError && ( {isError && (
<p className="text-xs font-medium text-primary sm:text-sm"> <p className="text-xs font-medium text-primary sm:text-sm">
There is something wrong. There is something wrong.
</p> </p>
@ -67,8 +63,8 @@ function HeroPill() {
<p className="text-xs font-medium text-primary sm:text-sm pr-1"> <p className="text-xs font-medium text-primary sm:text-sm pr-1">
{data?.address} {data?.address}
</p> </p>
)} */} )}
</Link> </Button>
</motion.div> </motion.div>
); );
} }

View File

@ -7,7 +7,7 @@ export const BLUR_FADE_DELAY = 0.15;
export const siteConfig = { export const siteConfig = {
name: "beactio.ai", 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", url: process.env.NEXT_PUBLIC_APP_URL || "http://localhost:3000",
keywords: ["SaaS", "Template", "Next.js", "React", "Tailwind CSS"], keywords: ["SaaS", "Template", "Next.js", "React", "Tailwind CSS"],
links: { links: {

View File

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

View File

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