Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 40f46be

Browse filesBrowse files
committed
fix faqs
1 parent 5374464 commit 40f46be
Copy full SHA for 40f46be

File tree

Expand file treeCollapse file tree

2 files changed

+10
-10
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+10
-10
lines changed

‎components/components/ui/accordion.tsx

Copy file name to clipboardExpand all lines: components/components/ui/accordion.tsx
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from "react"
22
import * as AccordionPrimitive from "@radix-ui/react-accordion"
3-
import { ChevronDownIcon } from "@radix-ui/react-icons"
3+
import { PlusIcon } from "@radix-ui/react-icons"
44

55
import { cn } from "../../lib/utils"
66

@@ -32,7 +32,7 @@ const AccordionTrigger = React.forwardRef<
3232
{...props}
3333
>
3434
{children}
35-
<ChevronDownIcon className="h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" />
35+
<PlusIcon className="h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" />
3636
</AccordionPrimitive.Trigger>
3737
</AccordionPrimitive.Header>
3838
))

‎components/faqs/index.tsx

Copy file name to clipboardExpand all lines: components/faqs/index.tsx
+8-8Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,25 @@ export default function Faqs() {
2222
<div className="mt-6">
2323
<Accordion type="multiple" className="w-full">
2424
<AccordionItem value="item-1">
25-
<AccordionTrigger>What is ancodeai?</AccordionTrigger>
26-
<AccordionContent>
25+
<AccordionTrigger className="text-lg">What is ancodeai?</AccordionTrigger>
26+
<AccordionContent className="text-base text-slate-500">
2727
By using OpenAI and Gemini technologies to generate highly available code, it supports web (React, Vue, Tailwind CSS, shadcn/ui), native (react native) and other codes. It is generated using GPT-4 Vision. Code is generated by taking screenshots, drawing drafts, and inputting ideas.
2828
</AccordionContent>
2929
</AccordionItem>
3030
<AccordionItem value="item-2">
31-
<AccordionTrigger>Can I see a history of all my generations?</AccordionTrigger>
32-
<AccordionContent>
31+
<AccordionTrigger className="text-lg">Can I see a history of all my generations?</AccordionTrigger>
32+
<AccordionContent className="text-base text-slate-500">
3333
ancodeai currently does not store your historical data, you need to save it yourself after generating it. </AccordionContent>
3434
</AccordionItem>
3535
<AccordionItem value="item-3">
36-
<AccordionTrigger>Can I deploy independently?</AccordionTrigger>
37-
<AccordionContent>
36+
<AccordionTrigger className="text-lg">Can I deploy independently?</AccordionTrigger>
37+
<AccordionContent className="text-base text-slate-500">
3838
This is an open source project, so you can deploy your own version.<a className="text-blue-500" target="_blank" href="https://github.com/sparrow-js/an-codeAI">➡️ here</a>
3939
</AccordionContent>
4040
</AccordionItem>
4141
<AccordionItem value="item-4">
42-
<AccordionTrigger>Can ancodeai generate data fetching code?</AccordionTrigger>
43-
<AccordionContent>
42+
<AccordionTrigger className="text-lg">Can ancodeai generate data fetching code?</AccordionTrigger>
43+
<AccordionContent className="text-base text-slate-500">
4444
While in Beta, ancodeai is focused on frontend code generation. As we continue to build ancodeai and prepare for general availability, we will explore adding support for data fetching code.
4545
</AccordionContent>
4646
</AccordionItem>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.