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

Add metadata for link preview on discord/slack/other services #25

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
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
10 changes: 10 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/images/communityFocus.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="CommunityFocus" />
<meta name="twitter:description" content="Create a sharable timer for your team or friends!" />
<meta name="twitter:image" content="https://i.imgur.com/gPkVD1Q.png" />

<meta property="og:title" content="CommunityFocus" />
<meta property="og:description" content="Create a sharable timer for your team or friends!" />
<meta property="og:image" content="https://i.imgur.com/gPkVD1Q.png" />
<meta property="og:url" content="https://www.CommunityFocus.app" />
<meta property="og:type" content="website" />
Copy link
Member

Choose a reason for hiding this comment

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

when in a room like https://deploy-preview-32--communityfocus.netlify.app/tender-brainy-cricket, discord (and possibly other services), don't show the preview.

Can we make it so that when a user shares a link when in a room, it shows the preview.

For the title, it can say Join tender-brainy-cricket's shared timer
For the description, it can say Create a sharable timer for your team or friends!

Something like this would be great

image

Copy link
Member

Choose a reason for hiding this comment

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

Would you also be able to make the icon smaller like the above screenshot?

Currently, it shows up much bigger like

image

<title>Community Focus</title>
</head>
<body>
Expand Down