diff --git a/apps/web/src/components/landing-sections/how-it-works.tsx b/apps/web/src/components/landing-sections/how-it-works.tsx
index 427b1b8..f7bbb50 100644
--- a/apps/web/src/components/landing-sections/how-it-works.tsx
+++ b/apps/web/src/components/landing-sections/how-it-works.tsx
@@ -1,66 +1,69 @@
-
import { Sparkles, Upload, Zap } from "lucide-react";
import Features from "../ui/features";
import Header from "../ui/header";
const data = [
- {
- id: 1,
- title: "1. Set Your Filters",
- content:
- "Choose the languages, stack, activity level, and other preferences that matter to you.",
- image: "/assets/filter.webp",
- icon: ,
- },
- {
- id: 2,
- title: "2. Search Instantly",
- content:
- "Hit search and explore thousands of open-source repositories matched to your criteria.",
- image: "/assets/search.webp",
- icon: ,
- },
- {
- id: 3,
- title: "3. Discover & Contribute",
- content:
- "Find the perfect project for your stack, start exploring the code, and make meaningful contributions.",
- image: "/assets/contribute.webp",
- icon: ,
- },
+ {
+ id: 1,
+ title: "1. Set Your Filters",
+ content:
+ "Choose the languages, stack, activity level, and other preferences that matter to you.",
+ image: "/assets/filter.webp",
+ icon: ,
+ },
+ {
+ id: 2,
+ title: "2. Search Instantly",
+ content:
+ "Hit search and explore thousands of open-source repositories matched to your criteria.",
+ image: "/assets/search.webp",
+ icon: ,
+ },
+ {
+ id: 3,
+ title: "3. Discover & Contribute",
+ content:
+ "Find the perfect project for your stack, start exploring the code, and make meaningful contributions.",
+ image: "/assets/contribute.webp",
+ icon: ,
+ },
];
export default function HowItWorks() {
- return (
-
- );
+ return (
+
+ );
}
diff --git a/apps/web/src/components/landing-sections/navbar.tsx b/apps/web/src/components/landing-sections/navbar.tsx
index 8ae34f3..671a0c2 100644
--- a/apps/web/src/components/landing-sections/navbar.tsx
+++ b/apps/web/src/components/landing-sections/navbar.tsx
@@ -1,12 +1,12 @@
"use client";
import React, { useState } from "react";
-import PrimaryButton from "../ui/custom-button";
import { motion, useScroll, useMotionValueEvent } from "framer-motion";
import Image from "next/image";
-import { Terminal, Github, Menu, X } from "lucide-react";
+import { Github, Menu, Terminal, X } from "lucide-react";
import Link from "next/link";
import { usePathname } from "next/navigation";
import { cn } from "@/lib/utils";
+import PrimaryButton from "../ui/custom-button";
const Navbar = () => {
const { scrollYProgress } = useScroll();
@@ -37,7 +37,7 @@ const Navbar = () => {
{ name: "Pricing", href: "/pricing" },
{ name: "Features", href: "/#features" },
{ name: "Demo", href: "/#demo" },
- { name: "How it works", href: "/#HIW" },
+ { name: "Workflow", href: "/#workflow" },
{ name: "Stats", href: "/#Stats" },
{ name: "Contact", href: "/#Contact" },
{ name: "FAQ", href: "/#faq" },
@@ -52,93 +52,103 @@ const Navbar = () => {
" z-40 flex items-center justify-between px-4 py-3 bg-neutral-900/5 backdrop-blur-xl border-white/10",
isPricingPage
? "relative h-max md:w-full top-0 border-b"
- : "fixed rounded-3xl top-4 border w-[94%] md:w-[80%] mx-auto left-1/2 -translate-x-1/2"
+ : "fixed rounded-3xl top-4 border w-[96%] md:w-[80%] mx-auto left-1/2 -translate-x-1/2"
)}
>
-
-
-
-
-
+
+ {/* opensox logo */}
+
+
+
-
Opensox AI
-
-
- {links.map((link, index) => {
- const isActive = pathname === link.href;
- return (
-
- {link.name}
-
- );
- })}
-
-
-
-
-
Contribute
-
-
-
-
- Get Started
-
-
-
- {isOpen && (
-
- {links.map((link, index) => (
- setIsOpen(false)}
- className="text-white hover:text-gray-300 text-lg"
- >
- {link.name}
-
- ))}
+ {/* links to be rendered */}
+
+ {links.map((link, index) => {
+ const isActive = pathname === link.href;
+ return (
+
+ {link.name}
+
+ );
+ })}
+
+
+ {/* git link */}
+
setIsOpen(false)}
- className="flex items-center gap-2 px-4 py-2 bg-github-bg hover:bg-github-hover rounded-lg border border-github-border text-white transition-colors"
+ className="hidden xl:flex items-center gap-2 px-4 py-2.5 bg-[#0d1117] hover:bg-[#161b22] transition-colors rounded-lg border border-[#30363d] text-white"
>
Contribute
-
- )}
+
+
+
+ Get Started
+
+
+
+ {/* mobile nav dropdown */}
+ {isOpen && (
+
+ {links.map((link, index) => (
+ setIsOpen(false)}
+ className="text-white hover:text-gray-300 text-lg"
+ >
+ {link.name}
+
+ ))}
+ setIsOpen(false)}
+ className="flex items-center gap-2 px-4 py-2 bg-[#0d1117] hover:bg-[#161b22] rounded-lg border border-[#30363d] text-white transition-colors"
+ >
+
+ Contribute
+
+
+ )}
+
);
};
diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json
index 8163587..99459b8 100644
--- a/apps/web/tsconfig.json
+++ b/apps/web/tsconfig.json
@@ -15,7 +15,7 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
- "jsx": "react-jsx",
+ "jsx": "preserve",
"incremental": true,
"plugins": [
{