Skip to content

Commit

Permalink
[ECO-1896] update metadata and social preview (#135)
Browse files Browse the repository at this point in the history
Co-authored-by: alnoki <[email protected]>
  • Loading branch information
CRBl69 and alnoki authored Jun 28, 2024
1 parent f890d3a commit 27ea844
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 57 deletions.
Binary file modified src/typescript/frontend/public/social-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 0 additions & 51 deletions src/typescript/frontend/src/configs/default-metadata.ts

This file was deleted.

11 changes: 5 additions & 6 deletions src/typescript/frontend/src/configs/meta.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { type Metadata } from "next";

export const DEFAULT_TITLE = "Emojicoin";
export const OG_DESC = "Econia Labs' project is in progress";
export const DEFAULT_TITLE = "emojicoin.fun";
export const DEFAULT_DESCRIPTION = "Emojicoin degeneracy starts here";
export const OG_IMAGES = "/social-preview.png";
export const OG_TYPE = "website";
export const TWITTER_CARD = "summary";
export const TWITTER_DESC = "Econia Labs' project is in progress";
export const TWITTER_IMAGES = "/social-preview.png";

export const getDefaultMetadata = (): Metadata => {
Expand Down Expand Up @@ -33,18 +32,18 @@ export const getDefaultMetadata = (): Metadata => {
url: "https://econialabs.com",
},
title: DEFAULT_TITLE,
description: "Econia Labs' project is in progress",
description: DEFAULT_DESCRIPTION,
keywords: "aptos, tokens, emoji, emojicoins",
openGraph: {
title: DEFAULT_TITLE,
description: OG_DESC,
description: DEFAULT_DESCRIPTION,
images: OG_IMAGES,
type: OG_TYPE,
},
twitter: {
card: TWITTER_CARD,
title: DEFAULT_TITLE,
description: TWITTER_DESC,
description: DEFAULT_DESCRIPTION,
images: TWITTER_IMAGES,
},
icons: {
Expand Down

0 comments on commit 27ea844

Please sign in to comment.