mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
## Feature - [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [x] [e2e](https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs) tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)
22 lines
468 B
TypeScript
22 lines
468 B
TypeScript
export default function page() {
|
|
return 'twitter player'
|
|
}
|
|
|
|
export const metadata = {
|
|
twitter: {
|
|
card: 'player',
|
|
title: 'Twitter Title',
|
|
description: 'Twitter Description',
|
|
siteId: 'siteId',
|
|
creator: 'creator',
|
|
creatorId: 'creatorId',
|
|
images: 'https://twitter.com/image.png',
|
|
players: {
|
|
playerUrl: 'https://twitter.com/player',
|
|
streamUrl: 'https://twitter.com/stream',
|
|
width: 100,
|
|
height: 100,
|
|
},
|
|
},
|
|
}
|