diff --git a/app/components/case-studies.tsx b/app/components/case-studies.tsx index 616603f..e8dce1f 100644 --- a/app/components/case-studies.tsx +++ b/app/components/case-studies.tsx @@ -21,10 +21,7 @@ export default function CaseStudies() { columns={{ base: 1, md: 2, lg: 2 }} classNameCard="rounded-xl" /> - + ); diff --git a/app/components/footer.tsx b/app/components/footer.tsx index c776cfa..5dd923f 100644 --- a/app/components/footer.tsx +++ b/app/components/footer.tsx @@ -9,9 +9,8 @@ export default function Footer() { Footer background
- {title} ) : null} {category && ( diff --git a/app/components/hero.tsx b/app/components/hero.tsx index 6d881cb..184d1ad 100644 --- a/app/components/hero.tsx +++ b/app/components/hero.tsx @@ -1,9 +1,11 @@ -import "@/app/galaxy.css"; +import data from "@/data.json"; import { Button } from "@/components/ui/button"; import Image from "next/image"; import Link from "next/link"; import { PartnersList } from "./partner-list"; +import "@/app/galaxy.css"; + export default function Hero() { return (
@@ -32,10 +34,10 @@ export default function Hero() { className="transition-all duration-200 ease-in-out transform hover:shadow-md hover:scale-[1.02] text-hyperjump-blue bg-white hover:bg-white/90" > - Schedule Consultation + {data.cta.label}
diff --git a/app/components/nav.tsx b/app/components/nav.tsx index e018d5a..fe3f417 100644 --- a/app/components/nav.tsx +++ b/app/components/nav.tsx @@ -22,10 +22,6 @@ import LogoWithContextMenu from "./logo-with-context-menu"; export default function Nav() { const [isOpen, setIsOpen] = useState(false); - const scheduleButton = data.navLinks.find( - (item) => item.type === "button" && item.label === "Schedule Consultation" - ); - return ( {({ shouldBeWhite }) => ( @@ -38,41 +34,37 @@ export default function Nav() { - {data.navLinks - .filter((item) => item.type !== "button") - .map((item, idx) => ( - - - {item.label} - - - ))} + {data.navLinks.map((item, idx) => ( + + + {item.label} + + + ))} - {scheduleButton && ( - - {scheduleButton.label} - - )} + + {data.cta.label} + {/* Mobile Toggle */} @@ -111,26 +103,22 @@ export default function Nav() { {isOpen && (
- {data.navLinks - .filter((item) => item.type !== "button") - .map((item, idx) => ( - setIsOpen(false)} - > - {item.label} - - ))} - {scheduleButton && ( + {data.navLinks.map((item, idx) => ( setIsOpen(false)} > - {scheduleButton.label} + {item.label} - )} + ))} + + {data.cta.label} +
)} @@ -164,7 +152,7 @@ export function NavContainer({ children }: { children: ReactNode }) { ); } -export function CenterNavItems({ children }: { children: React.ReactNode }) { +function CenterNavItems({ children }: { children: React.ReactNode }) { return (
{children} diff --git a/app/components/open-source-products.tsx b/app/components/open-source-products.tsx index 0aef1e4..153a4be 100644 --- a/app/components/open-source-products.tsx +++ b/app/components/open-source-products.tsx @@ -23,7 +23,7 @@ export default function OpenSourceProducts() { diff --git a/app/components/services.tsx b/app/components/services.tsx index 30fb84f..2df3408 100644 --- a/app/components/services.tsx +++ b/app/components/services.tsx @@ -20,10 +20,7 @@ export default function Services() { columns={{ base: 1, sm: 2, md: 3, lg: 4 }} classNameCard="rounded-md" /> - + ); diff --git a/app/layout.tsx b/app/layout.tsx index 526c173..4d519c5 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -35,7 +35,6 @@ export const metadata: Metadata = { apple: "/icons/apple-touch-icon.png", shortcut: "/icons/icon-192x192.png", }, - themeColor: "#1C1F2E", }; export default function RootLayout({ diff --git a/data.json b/data.json index e2e3186..8ea467a 100644 --- a/data.json +++ b/data.json @@ -1,4 +1,8 @@ { + "cta": { + "link": "https://forms.office.com/Pages/ResponsePage.aspx?id=YB_vnVvdsku6UOy9eolc4lSE-1zhiHZGuckpAFLZgMNUNzFXVlZCQjA0UFJRR1IyUk9aSjBZVENENS4u", + "label": "Schedule Consultation" + }, "GTM_ID": "G-L825T5QT2S", "SMDD_2024_SUBMIT_FORM_EMAIL": "gary@hyperjump.tech", "title": "Hyperjump Technology", @@ -19,16 +23,10 @@ "imageAlt": "D.Lab Location" }, "navLinks": [ - { "label": "Services", "href": "#services", "type": "link" }, - { "label": "Case Studies", "href": "#case-studies", "type": "link" }, - { "label": "Open Source", "href": "#open-source", "type": "link" }, - { "label": "FAQ", "href": "#faqs", "type": "link" }, - { - "label": "Schedule Consultation", - "href": "https://forms.office.com/Pages/ResponsePage.aspx?id=YB_vnVvdsku6UOy9eolc4lSE-1zhiHZGuckpAFLZgMNUNzFXVlZCQjA0UFJRR1IyUk9aSjBZVENENS4u", - "type": "button", - "style": "outline" - } + { "label": "Services", "href": "#services" }, + { "label": "Case Studies", "href": "#case-studies" }, + { "label": "Open Source", "href": "#open-source" }, + { "label": "FAQ", "href": "#faqs" } ], "partners": [ "/icons/partners/amman.svg", diff --git a/public/images/banner.webp b/public/images/banner.webp index e7b7011..3e8d617 100644 Binary files a/public/images/banner.webp and b/public/images/banner.webp differ