Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): use opengraph-image.png instead of api endpoint #93

Merged
merged 2 commits into from
Sep 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 0 additions & 71 deletions docs/src/app/api/og/route.tsx

This file was deleted.

Binary file removed docs/src/app/fonts/CommitMono-400-Regular.otf
Binary file not shown.
Binary file removed docs/src/app/fonts/Satoshi-Medium.woff
Binary file not shown.
6 changes: 5 additions & 1 deletion docs/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ const description =
"bulloak is a powerful test generator that implements the Branching Tree Technique (BTT) for comprehensive smart contract testing.";

export const metadata: Metadata = {
metadataBase: new URL("https://www.bulloak.dev"),
alternates: {
canonical: "/",
},
title,
description,
openGraph: {
title,
description,
images: `${process.env.NEXT_PUBLIC_SITE_URL || "https://www.bulloak.dev"}/api/og`,
images: `/opengraph-image.png`,
},
};

Expand Down
Binary file added docs/src/app/opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/src/app/robots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function robots(): MetadataRoute.Robots {
rules: [
{
userAgent: "*",
allow: ["/", "/api/og/*"],
allow: "/",
},
],
sitemap: `${url}/sitemap.xml`,
Expand Down
Loading