@@ -8,6 +8,26 @@ import izabel from '@/assets/izabel.jfif'
88import rubio from '@/assets/rubio.jfif'
99import julia from '@/assets/julia.jfif'
1010import sakamoto from '@/assets/Sakamoto.jfif'
11+ import { Accordion , AccordionItem } from '@/shared/components/accordion'
12+ import { DotLottieReact } from '@lottiefiles/dotlottie-react'
13+
14+ const faqs = [
15+ {
16+ title : 'What kind of file can I upload?' ,
17+ content :
18+ 'Currently, you can upload PDF files. We are working on adding support for other file types in the future.'
19+ } ,
20+ {
21+ title : 'Can I create more than one model?' ,
22+ content :
23+ 'Yes, you can create multiple models with different knowledge bases.'
24+ } ,
25+ {
26+ title : 'Do I need to code?' ,
27+ content :
28+ 'No, you only need to upload the files and we take care of the rest.'
29+ }
30+ ]
1131
1232function BackgroundBlobs ( ) {
1333 return (
@@ -105,11 +125,58 @@ export function HomePage() {
105125 </ a >
106126 </ div >
107127 </ motion . section >
108- < section className = "flex h-screen items-center justify-center" >
109- < h1 > How Knowly works</ h1 >
110- < div > </ div >
111- < div > </ div >
112- < div > </ div >
128+
129+ < section
130+ id = "how-knowly-works"
131+ className = "flex h-screen flex-col items-center justify-center"
132+ >
133+ < h1 className = "text-6xl font-semibold" > How Knowly Works</ h1 >
134+ < div className = "flex w-full max-w-6xl justify-between gap-8" >
135+ { /* Parte da Esquerda */ }
136+ < div className = "flex flex-col items-center" >
137+ < div className = "h-100 w-100" >
138+ < DotLottieReact
139+ src = "https://lottie.host/ade48407-0fab-452b-8257-6bde53c7dc0c/QXs4qptUZD.lottie"
140+ loop
141+ autoplay
142+ />
143+ </ div >
144+ < h1 className = "mb-4 text-3xl font-semibold" > You Upload</ h1 >
145+ < p className = "text-center text-xl break-words text-white/50" >
146+ Upload the PDF files you wish to make up the knowledge base
147+ </ p >
148+ </ div >
149+ { /* Parte do Meio */ }
150+ < div className = "flex flex-col items-center" >
151+ < div className = "h-100 w-100" >
152+ < DotLottieReact
153+ src = "https://lottie.host/e10d7ded-6bde-4049-afd0-1d902c61d1d2/oSwowUt9Qm.lottie"
154+ loop
155+ autoplay
156+ segment = { [ 70 , 278 ] }
157+ />
158+ </ div >
159+ < h1 className = "mb-4 text-3xl font-semibold" > We Build</ h1 >
160+ < p className = "text-center text-xl break-words text-white/50" >
161+ We use the files to train a Gen AI model
162+ </ p >
163+ </ div >
164+
165+ { /* Parte da Direita */ }
166+ < div className = "flex flex-col items-center" >
167+ < div className = "h-100 w-100" >
168+ < DotLottieReact
169+ src = "https://lottie.host/e84fe9c7-0ada-4dcb-a6c0-3e5ae46e1354/GgsWdQCrtV.lottie"
170+ loop
171+ autoplay
172+ />
173+ </ div >
174+ < h1 className = "mb-4 text-3xl font-semibold" > You Enjoy</ h1 >
175+ < p className = "text-center text-xl break-words text-white/50" >
176+ After the model is done, you can try it and use it as you wish
177+ </ p >
178+ </ div >
179+ </ div >
113180 </ section >
114181 < section className = "flex h-screen items-center justify-center" >
115182 < h1 > Pricing</ h1 >
@@ -174,6 +241,18 @@ export function HomePage() {
174241 Vinícius Berti
175242 </ span >
176243 </ div >
244+ < section
245+ id = "faq"
246+ className = "flex h-screen flex-col items-center justify-center"
247+ >
248+ < h1 className = "mb-12 text-6xl font-semibold" > FAQ</ h1 >
249+ < Accordion className = "w-250" >
250+ { faqs . map ( ( faq , i ) => (
251+ < AccordionItem key = { i } title = { faq . title } >
252+ { faq . content }
253+ </ AccordionItem >
254+ ) ) }
255+ </ Accordion >
177256 </ section >
178257 </ Layout >
179258 </ Background >
0 commit comments