diff --git a/app/layout.tsx b/app/layout.tsx index be9a6b9..11bb295 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,4 +1,4 @@ -import type { Metadata, ResolvingMetadata, Viewport } from "next"; +import type { Metadata, Viewport } from "next"; import { Inter } from "next/font/google"; import { cn } from "@/lib/utils"; import { Providers } from "@/components/providers/providers"; @@ -6,19 +6,26 @@ import "./globals.css"; const inter = Inter({ subsets: ["latin"] }); -export async function generateMetadata( - { params, searchParams }: any, - parent: ResolvingMetadata -): Promise { - return { - title: "Gibwork | Find Talent, Find Work", +export const metadata: Metadata = { + metadataBase: new URL("https://gib.work"), + title: "Gibwork | Find Work. Get Paid Onchain.", + description: + "Discover paid tasks and GitHub bounties, submit work, and track approved stablecoin payouts on web, iOS, and Android.", + alternates: { + canonical: "/", + }, + manifest: "/site.webmanifest", + openGraph: { + title: "Gibwork | Find Work. Get Paid Onchain.", description: - "Gibwork connects skilled professionals with freelance work opportunities, offering seamless integration with all Solana tokens for secure and efficient transactions.", - openGraph: { - images: [`https://cdn.gib.work/metadata/default.png`], - }, - }; -} + "Discover paid tasks and bounties on web, iOS, and Android.", + url: "/", + images: ["https://cdn.gib.work/metadata/default.png"], + }, + other: { + "apple-itunes-app": "app-id=6757281508", + }, +}; export const viewport: Viewport = { themeColor: "#ffffff", diff --git a/app/page.tsx b/app/page.tsx index 3b9c101..33d1110 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -6,13 +6,33 @@ import { CTA } from "@/components/cta"; import { Footer } from "@/components/footer"; import { Testimonial } from "@/components/testimonial"; import { Faq } from "@/components/faq"; +import { MobileApp } from "@/components/mobile-app"; +import { siteConfig } from "@/lib/site-config"; + +const mobileAppStructuredData = { + "@context": "https://schema.org", + "@type": "MobileApplication", + name: "Gibwork", + operatingSystem: "iOS, Android", + applicationCategory: "BusinessApplication", + description: + "Discover paid tasks and bounties, submit work, and track earnings from your phone.", + downloadUrl: [siteConfig.appStoreUrl, siteConfig.playStoreUrl], +}; export default function Home() { return (
+