diff --git a/apps/web/src/components/faq/FaqSection.tsx b/apps/web/src/components/faq/FaqSection.tsx index f46b3931..f4ad32e6 100644 --- a/apps/web/src/components/faq/FaqSection.tsx +++ b/apps/web/src/components/faq/FaqSection.tsx @@ -1,3 +1,4 @@ +import React from "react"; import { Accordion, AccordionContent, @@ -6,6 +7,7 @@ import { } from "@/components/ui/accordion"; import Header from "../ui/header"; import { faqs } from "./faqData"; +import Image from "next/image"; export function FaqSection() { return ( @@ -13,43 +15,234 @@ export function FaqSection() {
- +
-
- +
+ background +
+
+
+
+ {faqs.map((faq, index) => ( - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {faq.question} - + {faq.answer} @@ -59,4 +252,4 @@ export function FaqSection() {
); -} \ No newline at end of file +} diff --git a/apps/web/src/components/landing-sections/Brands.tsx b/apps/web/src/components/landing-sections/Brands.tsx index 2437f035..7faccfcf 100644 --- a/apps/web/src/components/landing-sections/Brands.tsx +++ b/apps/web/src/components/landing-sections/Brands.tsx @@ -36,7 +36,6 @@ const Brands = () => { {queryCount} @@ -56,7 +55,6 @@ const Brands = () => { {userCount} diff --git a/apps/web/src/components/landing-sections/Hero.tsx b/apps/web/src/components/landing-sections/Hero.tsx index ab348352..9fcdf195 100644 --- a/apps/web/src/components/landing-sections/Hero.tsx +++ b/apps/web/src/components/landing-sections/Hero.tsx @@ -48,16 +48,23 @@ const Hero = () => { className="w-full lg:max-w-3xl space-y-3 text-center" > -
- Backed by + + +
+ + + + Backed by
-
- U +
+ U
- sers + sers
@@ -105,3 +112,43 @@ const Hero = () => { }; export default Hero; + +const SvgLines = ({ ...props }) => { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ) +} \ No newline at end of file diff --git a/apps/web/src/components/landing-sections/navbar.tsx b/apps/web/src/components/landing-sections/navbar.tsx index a38855cb..614d7fee 100644 --- a/apps/web/src/components/landing-sections/navbar.tsx +++ b/apps/web/src/components/landing-sections/navbar.tsx @@ -1,6 +1,6 @@ "use client"; import React, { useState } from "react"; -import PrimaryButton from "../ui/custom-button"; +import PrimaryButton, { SecondaryButton } from "../ui/custom-button"; import { motion, useScroll, useMotionValueEvent } from "framer-motion"; import Image from "next/image"; import { Terminal, Github, Menu, X } from "lucide-react"; @@ -64,7 +64,7 @@ const Navbar = () => { > {isOpen ? : } -
+
{ />
Opensox AI -
+
{links.map((link, index) => { @@ -93,15 +93,17 @@ const Navbar = () => { ); })}
-
+
- - Contribute + + + Contribute + diff --git a/apps/web/src/components/ui/accordion.tsx b/apps/web/src/components/ui/accordion.tsx index 9bcccfdf..f22c7bb1 100644 --- a/apps/web/src/components/ui/accordion.tsx +++ b/apps/web/src/components/ui/accordion.tsx @@ -28,13 +28,13 @@ const AccordionTrigger = React.forwardRef< svg]:rotate-180", + "flex flex-1 items-center justify-between py-2 text-sm font-medium transition-all text-left [&[data-state=open]>svg]:rotate-180", className )} {...props} > {children} - + )) diff --git a/apps/web/src/components/ui/custom-button.tsx b/apps/web/src/components/ui/custom-button.tsx index 803c0b05..2005a15e 100644 --- a/apps/web/src/components/ui/custom-button.tsx +++ b/apps/web/src/components/ui/custom-button.tsx @@ -28,4 +28,20 @@ const PrimaryButton = ({ children, animate = true, classname, onClick }: { child ) } +export const SecondaryButton = ({ children, animate = true, classname, onClick }: { children: React.ReactNode, animate?: boolean, classname?: string, onClick?: () => void }) => { + const transition = { + duration: 0.1, + ease: "easeInOut", + } + return ( + + {children} + + ) +} + export default PrimaryButton