import ApexChart from "@/app/_components/ApexChart";
import FooterForm from "@/app/_components/FooterForm";
import ImageWithFallback from "@/app/_components/ImageWithFallback";
import { cmsService } from "@/hooks/useCmsQueries";
import { CmsResponse } from "@/types/TCms";
import { Metadata } from "next";
import Image from "next/image";
import Link from "next/link";
export const metadata: Metadata = {
title: "Opp lens - Marketing",
description:
"Automated tender management platform for SMEs. Find tailored tenders, automate document handling, and get real-time alerts. Win more opportunities with less effort.",
keywords:
"tender management, AI tender search, SME tenders, public procurement, automated bidding, tender alerts",
authors: [{ name: "PBL Partners AB" }],
openGraph: {
title: "Opp lens - AI-Powered Tender Management",
description: "Win more tenders automatically with our AI-powered platform",
type: "website",
locale: "en_US",
siteName: "Opp lens",
},
icons: {
icon: "/fav-icon.svg",
},
};
interface IProps {
params: { id: string };
}
export default async function Home({ params }: IProps) {
const { id } = params;
let cmsData: CmsResponse | null = null;
try {
cmsData = await cmsService.getCms(id);
} catch (error) {
console.error("Error fetching CMS data:", error);
}
const centerFrames = [
{
src: "/magnifier.svg",
title: "1. Discover with AI",
alt: "Magnifier",
description:
"Our intelligent platform scours thousands of sources to find the perfect, most relevant tender opportunities for your specific business and expertise",
},
{
src: "/clipboard.svg",
title: "2. Prepare with Experts",
alt: "Clipboard",
description:
"Gain access to expert support and powerful tools to craft compelling, competitive, and high-quality bids that stand out from the competition.",
},
{
src: "/thumbs-up.svg",
title: "3. Win with a Partner",
alt: "thumbs-up",
description:
"We operate on a partnership model. We only succeed when you win. This aligns our goals and makes us a true partner in your growth.",
},
];
return (
<>
${cmsData?.data.chart.missedAmount ?? 1672}
total tender amount you missed today
{cmsData?.data.hero.Title}
{cmsData?.data.hero.Description}
{cmsData?.data.hero.ButtonText}
your in-house tender department, powered by
ai
Opplens is the end-to-end solution that gives you the power to
compete and win.
{centerFrames.map((frame, index) => (
{frame.title}
{frame.description}
))}
Tired of Complex Tenders & Lost Opportunities?
The procurement market is tough for SMEs. We get it. You're facing
an uphill battle.
Resource Drain
Lacking the time, dedicated staff, and expertise to constantly
monitor the market and prepare high-quality bids.
Overwhelming Complexity
Navigating complex requirements and processes designed for large
corporations with dedicated tender departments.
Low Win Rates
Did you know 68% of SMEs in Sweden rarely or never win public
tenders? It's time to change that.