Skip to content

Commit

Permalink
fix(docs): settle for directly adding a opengraph-image.png
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfertel committed Sep 21, 2024
1 parent 683fa01 commit a518c02
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 68 deletions.
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"}/opengraph-image`,
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.
66 changes: 0 additions & 66 deletions docs/src/app/opengraph-image.tsx

This file was deleted.

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

0 comments on commit a518c02

Please sign in to comment.