···2233import { Accordion, AccordionItem, Code } from "@nextui-org/react";
44import Link from "next/link";
55-import { HiCash, HiChat, HiLockClosed, HiUserAdd } from "react-icons/hi";
55+import { HiCash, HiChat, HiExternalLink, HiLockClosed, HiUserAdd } from "react-icons/hi";
6677import { webStore } from "@/common/webstore";
88+import cn from "@/utils/cn";
89910const data = [
1011 {
···1415 content: (
1516 <ol className="list-decimal list-inside marker:text-neutral-500">
1617 <li>
1717- Be sure to have the <Code color="secondary">Manage Server</Code> permission on the server you want <Link href="/login?invite=true" target="_blank" className="underline decoration-violet-400">invite Wamellow</Link> into.
1818+ Be sure to have the <Code color="secondary">Manage Server</Code> permission on the server you want <LinkTag href="/login?invite=true">invite Wamellow</LinkTag> into.
1819 </li>
1920 <li>
2020- Open Discord{"'"}s add-bot flow at <Link href="/login?invite=true" target="_blanket" className="text-violet-400">wamellow.com/invite</Link>.
2121+ Open Discord{"'"}s add-bot flow at <LinkTag href="/login?invite=true">wamellow.com/invite</LinkTag>.
2122 </li>
2223 <li>
2324 Select a server and click on {'"'}Continue{'"'}.
···2829 <li>
2930 <span className="font-semibold">Done!</span> 🎉 You should now find yourself on the Dashboard for your server!
3031 </li>
3131- </ol>
3232+ </ol >
3233 )
3334 },
3435 {
···3637 title: "Is the /image Ai or Text to Speech free to use?",
3738 content: (
3839 <div>
3939- Yes, the image Ai and Text to Speech are free to use. However, you might have to <Link href="/vote" target="_blank" className="text-violet-400 underline decoration-violet-400">vote for Wamellow on top.gg</Link> if you start using it alot.
4040+ Yes, the image Ai and Text to Speech are free to use. However, you might have to <LinkTag href="/vote">vote for Wamellow on top.gg</LinkTag> if you start using it alot.
4041 </div>
4142 )
4243 },
4344 {
4445 startContent: <HiChat />,
4545- title: "How do I set up Chat to Speech (for TTS)?",
4646+ title: "How do I set up Chat to Speech TTS?",
4647 content: (
4748 <div>
4848- You can do that on <Link href="/dashboard" target="_blank" className="text-violet-400 underline decoration-violet-400">your server’s Dashboard</Link> on the {'"'}Overview{'"'} page.
4949+5050+ <ol className="list-decimal list-inside marker:text-neutral-500 mb-4">
5151+ <li>
5252+ <LinkTag href="/login?invite=true">Invite Wamellow</LinkTag> to your Server. If you do not own it, ask the server Administrators to add Wamellow.
5353+ </li>
5454+ <li>
5555+ Go to the <LinkTag href="/login?invite=true">Dashboard on wamellow.com/dashboard</LinkTag>, find your server and click {'"'}manage{'"'}.
5656+ </li>
5757+ <li>
5858+ Select a channel to be used in the {'"'}Text to Speech{'"'} section.
5959+ </li>
6060+ <li>
6161+ Join any voice channel in your Server (be sure Wamellow can join it too).
6262+ </li>
6363+ <li>
6464+ Start writing messages in the selected channel for the bot to speak.
6565+ </li>
6666+ <li>
6767+ <span className="font-semibold">Done!</span> 🎉
6868+ </li>
6969+ </ol>
7070+7171+ You can also watch the video tutorial below or <LinkTag href="https://youtu.be/NS5fZ1ltovE?si=8hE1o6BBELxAxJbH">watch it on YouTube</LinkTag>.
4972 <iframe
5050- className="mt-6 aspect-video rounded-lg"
7373+ className="mt-2 aspect-video rounded-lg"
5174 width={"100%"}
5275 src="https://www.youtube.com/embed/NS5fZ1ltovE?si=uODiGspuNGKPRQKp"
5376 title="Wamellow Text to Speech tutorial"
···5881 },
5982 {
6083 startContent: <HiLockClosed />,
6161- title: "How can I disable XYZ command for X roles or channels?",
8484+ title: "How can I disable a command for a roles or channels?",
6285 content: (
6386 <div>
6487 If you want to disable a command because you don{"'"}t like XYZ feature., you can do so within discord{"'"}s integration settings as shown in the video.
···97120 title={item.title}
98121 >
99122 {item.content}
123123+124124+ <LinkTag
125125+ className="mt-4"
126126+ href="/support"
127127+ >
128128+ Need help? Talk with us!
129129+ </LinkTag>
100130 </AccordionItem>
101131 ))}
102132 </Accordion>
103133 </div>
134134+ );
135135+}
136136+137137+138138+function LinkTag({
139139+ href,
140140+ children,
141141+ className
142142+}: {
143143+ href: string;
144144+ children: React.ReactNode;
145145+ className?: string;
146146+}) {
147147+ return (
148148+ <Link
149149+ href={href}
150150+ target="_blank"
151151+ className={cn("text-violet-400 underline decoration-violet-400", className)}
152152+ >
153153+ {children}
154154+ <HiExternalLink className="inline ml-1 mb-0.5" />
155155+ </Link>
104156 );
105157}