Skip to content

Commit

Permalink
chore: meta images
Browse files Browse the repository at this point in the history
  • Loading branch information
arshad-yaseen committed Nov 12, 2023
1 parent be95168 commit d270251
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Meet MarkDX, an AI-powered markdown editor for top-notch markdown writing.

![MarkDX Screenshot](https://shiny.link/HQuQyZ)
![MarkDX Screenshot](/public/og.png)

## Running Locally

Expand Down
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const metadata: Metadata = {
card: "summary_large_image",
title: siteConfig.name,
description: siteConfig.description,
creator: "@arshadyaseeen",
creator: siteConfig.creator.twitterId,
},
icons: {
icon: "/favicon.ico",
Expand Down
Binary file modified 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.
Binary file removed app/twitter-image.png
Binary file not shown.
7 changes: 4 additions & 3 deletions components/site-assets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ function SiteAssets({
src={`/markdx-editor-frame-${theme === "dark" ? "dark" : "light"}.png`}
priority
alt="hero"
className={cn("absolute lg:-top-24", className)}
width={1000}
height={1000}
className={cn("absolute lg:-top-10", className)}
width={900}
height={900}
loading="eager"
/>
) : null
}
Expand Down
1 change: 1 addition & 0 deletions config/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const siteConfig: SiteConfig = {
creator: {
name: "Arshad Yaseen",
twitter: "https://twitter.com/arshadyaseeen",
twitterId: "@arshadyaseeen",
github: "https://github.com/arshad-yaseen",
website: "https://arshadd.site",
mail: "arshadpyaseen@gmail.com",
Expand Down
Binary file modified public/markdx-editor-frame-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/markdx-editor-frame-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export type SiteConfig = {
creator: {
name: string
twitter: string
twitterId: string
github: string
website: string
mail: string
Expand Down

1 comment on commit d270251

@vercel
Copy link

@vercel vercel bot commented on d270251 Nov 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.