File tree Expand file tree Collapse file tree 3 files changed +19
-68
lines changed
Expand file tree Collapse file tree 3 files changed +19
-68
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -289,15 +289,18 @@ export function getFaqs(lang: SupportedLanguage) {
289289 return [
290290 {
291291 question : mainFaq0Question ( lang ) ,
292- answer : mainFaq0Answer ( lang )
292+ answer : mainFaq0Answer ( lang ) ,
293+ url : `/${ lang } /services/cto-as-a-service`
293294 } ,
294295 {
295296 question : mainFaq1Question ( lang ) ,
296- answer : mainFaq1Answer ( lang )
297+ answer : mainFaq1Answer ( lang ) ,
298+ url : `/${ lang } /services/erp-implementation`
297299 } ,
298300 {
299301 question : mainFaq2Question ( lang ) ,
300- answer : mainFaq2Answer ( lang )
302+ answer : mainFaq2Answer ( lang ) ,
303+ url : `/${ lang } /services/tech-due-diligence`
301304 } ,
302305 {
303306 question : mainFaq3Question ( lang ) ,
Original file line number Diff line number Diff line change @@ -41,8 +41,7 @@ import {
4141 mainCaseStudiesCtaDesc ,
4242 mainCaseStudiesCtaExploreOurCaseStudies ,
4343 mainHeroHeading ,
44- mainFaqLearnMore ,
45- mainFaqLearnMoreChatbotMessage
44+ mainFaqLearnMore
4645} from "@/locales/.generated/server" ;
4746
4847import { Clients } from "./components/clients" ;
@@ -56,7 +55,6 @@ import {
5655} from "./data" ;
5756import { dynamicOpengraph } from "@/lib/default-metadata" ;
5857import { ArrowRightIcon } from "lucide-react" ;
59- import FaqLearnMore from "./components/faq-learn-more" ;
6058
6159const { github, socials, title, url } = data ;
6260
@@ -272,15 +270,18 @@ function Faqs({ lang }: HomeParams) {
272270 < CardContent className = "flex flex-col gap-4 px-4 pt-0 pb-4 text-base text-[#61656E] lg:text-lg" >
273271 { item . answer }
274272 </ CardContent >
275- < CardFooter className = "p-0 px-4" >
276- < FaqLearnMore
277- index = { i }
278- learnMoreChatbotMessage = { mainFaqLearnMoreChatbotMessage (
279- lang
280- ) } >
281- { mainFaqLearnMore ( lang ) }
282- </ FaqLearnMore >
283- </ CardFooter >
273+ { item ?. url && (
274+ < CardFooter className = "p-0 px-4" >
275+ < Link
276+ href = { item ?. url }
277+ className = "flex w-max cursor-pointer flex-row items-center justify-center gap-1 rounded-none border-b border-black px-0 text-black hover:no-underline lg:text-lg" >
278+ { mainFaqLearnMore ( lang ) }
279+ < span >
280+ < ArrowRightIcon className = "h-4 w-4" />
281+ </ span >
282+ </ Link >
283+ </ CardFooter >
284+ ) }
284285 </ AccordionContent >
285286 </ Card >
286287 </ AccordionItem >
You can’t perform that action at this time.
0 commit comments