No files matched your search
@@ -3,10 +3,37 @@ import Providers from "../providers"
|
|||||||
import { BareboneLayout, WideLayout } from "docs-ui"
|
import { BareboneLayout, WideLayout } from "docs-ui"
|
||||||
import { Inter, Roboto_Mono } from "next/font/google"
|
import { Inter, Roboto_Mono } from "next/font/google"
|
||||||
import clsx from "clsx"
|
import clsx from "clsx"
|
||||||
|
import { Metadata } from "next"
|
||||||
|
|
||||||
export const metadata = {
|
const ogImage =
|
||||||
|
"https://res.cloudinary.com/dza7lstvk/image/upload/v1732200992/Medusa%20Resources/opengraph-image_daq6nx.jpg"
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
title: "Medusa API Reference",
|
title: "Medusa API Reference",
|
||||||
description: "Check out Medusa's API reference",
|
description: "Check out Medusa's API reference",
|
||||||
|
metadataBase: new URL(
|
||||||
|
process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
|
||||||
|
),
|
||||||
|
openGraph: {
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: ogImage,
|
||||||
|
type: "image/jpeg",
|
||||||
|
height: "1260",
|
||||||
|
width: "2400",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
twitter: {
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: ogImage,
|
||||||
|
type: "image/jpeg",
|
||||||
|
height: "1260",
|
||||||
|
width: "2400",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
const inter = Inter({
|
const inter = Inter({
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 161 KiB |
|
Before Width: | Height: | Size: 161 KiB |
@@ -5,6 +5,9 @@ import { BareboneLayout } from "docs-ui"
|
|||||||
import { inter, robotoMono } from "./fonts"
|
import { inter, robotoMono } from "./fonts"
|
||||||
import clsx from "clsx"
|
import clsx from "clsx"
|
||||||
|
|
||||||
|
const ogImage =
|
||||||
|
"https://res.cloudinary.com/dza7lstvk/image/upload/v1732200992/Medusa%20Resources/opengraph-image_daq6nx.jpg"
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: {
|
title: {
|
||||||
template: `%s - ${config.titleSuffix}`,
|
template: `%s - ${config.titleSuffix}`,
|
||||||
@@ -14,6 +17,26 @@ export const metadata: Metadata = {
|
|||||||
metadataBase: new URL(
|
metadataBase: new URL(
|
||||||
process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
|
process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
|
||||||
),
|
),
|
||||||
|
openGraph: {
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: ogImage,
|
||||||
|
type: "image/jpeg",
|
||||||
|
height: "1260",
|
||||||
|
width: "2400",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
twitter: {
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: ogImage,
|
||||||
|
type: "image/jpeg",
|
||||||
|
height: "1260",
|
||||||
|
width: "2400",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 161 KiB |
|
Before Width: | Height: | Size: 161 KiB |
@@ -9,14 +9,20 @@ export const metadata = {
|
|||||||
images: [
|
images: [
|
||||||
{
|
{
|
||||||
url: ogImage,
|
url: ogImage,
|
||||||
width: 1600,
|
width: 800,
|
||||||
height: 900
|
height: 450,
|
||||||
|
type: "image/jpeg"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
twitter: {
|
twitter: {
|
||||||
images: [
|
images: [
|
||||||
ogImage
|
{
|
||||||
|
url: ogImage,
|
||||||
|
width: 800,
|
||||||
|
height: 450,
|
||||||
|
type: "image/jpeg"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ import clsx from "clsx"
|
|||||||
import { Feedback } from "@/components/Feedback"
|
import { Feedback } from "@/components/Feedback"
|
||||||
import EditButton from "@/components/EditButton"
|
import EditButton from "@/components/EditButton"
|
||||||
|
|
||||||
|
const ogImage =
|
||||||
|
"https://res.cloudinary.com/dza7lstvk/image/upload/v1732200992/Medusa%20Resources/opengraph-image_daq6nx.jpg"
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: {
|
title: {
|
||||||
template: `%s - ${config.titleSuffix}`,
|
template: `%s - ${config.titleSuffix}`,
|
||||||
@@ -18,6 +21,26 @@ export const metadata: Metadata = {
|
|||||||
metadataBase: new URL(
|
metadataBase: new URL(
|
||||||
process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
|
process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
|
||||||
),
|
),
|
||||||
|
openGraph: {
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: ogImage,
|
||||||
|
type: "image/jpeg",
|
||||||
|
height: "1260",
|
||||||
|
width: "2400",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
twitter: {
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: ogImage,
|
||||||
|
type: "image/jpeg",
|
||||||
|
height: "1260",
|
||||||
|
width: "2400",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
export const inter = Inter({
|
export const inter = Inter({
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 161 KiB |
|
Before Width: | Height: | Size: 161 KiB |
@@ -8,12 +8,35 @@ import { BareboneLayout, TightLayout } from "docs-ui"
|
|||||||
import { Inter, Roboto_Mono } from "next/font/google"
|
import { Inter, Roboto_Mono } from "next/font/google"
|
||||||
import clsx from "clsx"
|
import clsx from "clsx"
|
||||||
|
|
||||||
|
const ogImage =
|
||||||
|
"https://res.cloudinary.com/dza7lstvk/image/upload/v1732200992/Medusa%20Resources/opengraph-image_daq6nx.jpg"
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: siteConfig.name,
|
title: siteConfig.name,
|
||||||
description: siteConfig.description,
|
description: siteConfig.description,
|
||||||
metadataBase: new URL(
|
metadataBase: new URL(
|
||||||
process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
|
process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
|
||||||
),
|
),
|
||||||
|
openGraph: {
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: ogImage,
|
||||||
|
type: "image/jpeg",
|
||||||
|
height: "1260",
|
||||||
|
width: "2400",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
twitter: {
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: ogImage,
|
||||||
|
type: "image/jpeg",
|
||||||
|
height: "1260",
|
||||||
|
width: "2400",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
const inter = Inter({
|
const inter = Inter({
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 161 KiB |
|
Before Width: | Height: | Size: 161 KiB |
@@ -8,6 +8,9 @@ import clsx from "clsx"
|
|||||||
import Feedback from "../components/Feedback"
|
import Feedback from "../components/Feedback"
|
||||||
import EditButton from "../components/EditButton"
|
import EditButton from "../components/EditButton"
|
||||||
|
|
||||||
|
const ogImage =
|
||||||
|
"https://res.cloudinary.com/dza7lstvk/image/upload/v1732200992/Medusa%20Resources/opengraph-image_daq6nx.jpg"
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: {
|
title: {
|
||||||
template: `%s - ${config.titleSuffix}`,
|
template: `%s - ${config.titleSuffix}`,
|
||||||
@@ -17,6 +20,26 @@ export const metadata: Metadata = {
|
|||||||
metadataBase: new URL(
|
metadataBase: new URL(
|
||||||
process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
|
process.env.NEXT_PUBLIC_BASE_URL || "http://localhost:3000"
|
||||||
),
|
),
|
||||||
|
openGraph: {
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: ogImage,
|
||||||
|
type: "image/jpeg",
|
||||||
|
height: "1260",
|
||||||
|
width: "2400",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
twitter: {
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: ogImage,
|
||||||
|
type: "image/jpeg",
|
||||||
|
height: "1260",
|
||||||
|
width: "2400",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
export const inter = Inter({
|
export const inter = Inter({
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 161 KiB |
|
Before Width: | Height: | Size: 161 KiB |