-
Notifications
You must be signed in to change notification settings - Fork 509
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import type { Metadata } from "next"; | ||
import Image from "next/image"; | ||
import ogInvoice from "../invoice-og.png"; | ||
|
||
export const metadata: Metadata = { | ||
title: "Open Graph Template | Midday", | ||
description: "A Next.js Open Graph template for invoices.", | ||
}; | ||
|
||
export default function Page() { | ||
return ( | ||
<div className="container mt-24 max-w-[540px]"> | ||
<Image src={ogInvoice} alt="Invoice" className="border border-border" /> | ||
<div className="mt-8"> | ||
<div className="border bg-card text-card-foreground shadow-sm"> | ||
<div className="flex flex-col space-y-1.5 p-6"> | ||
<h3 className="text-xl font-medium">Open Graph Template</h3> | ||
<p className="text-sm text-[#878787]"> | ||
Get started with our Next.js Open Graph template | ||
</p> | ||
</div> | ||
<div className="p-6 pt-0"> | ||
<a | ||
href="https://go.midday.ai/inv-og" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className="inline-flex items-center justify-center text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground hover:bg-primary/90 h-10 px-4 py-2" | ||
> | ||
View implementation | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters