Skip to content

Commit

Permalink
fix: 1.1 => 1:1 aspect ratio examples in readme (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovalencia authored Feb 9, 2024
1 parent 7f06a9a commit 00a7b3e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default function HomePage() {
]}
image={{
src: 'https://zizzamia.xyz/park-3.png',
aspectRatio: '1.1'
aspectRatio: '1:1'
}}
input={{
text: 'Tell me a boat story',
Expand Down Expand Up @@ -132,7 +132,7 @@ type FrameButtonMetadata =

type FrameImageMetadata = {
src: string;
aspectRatio?: '1.91:1' | '1.1';
aspectRatio?: '1.91:1' | '1:1';
};

type FrameInputMetadata = {
Expand Down Expand Up @@ -168,7 +168,7 @@ type FrameMetadataReact = FrameMetadataType & {
<meta name="fc:frame:button:3" content="Redirect to cute pictures" />
<meta name="fc:frame:button:3:action" content="post_redirect" />
<meta name="fc:frame:image" content="https://zizzamia.xyz/park-3.png" />
<meta name="fc:frame:image:aspect_ratio" content="1.1" />
<meta name="fc:frame:image:aspect_ratio" content="1:1" />
<meta name="fc:frame:input:text" content="Tell me a boat story" />
<meta name="fc:frame:post_url" content="https://zizzamia.xyz/api/frame" />
```
Expand Down Expand Up @@ -225,7 +225,7 @@ type FrameButtonMetadata =

type FrameImageMetadata = {
src: string;
aspectRatio?: '1.91:1' | '1.1';
aspectRatio?: '1.91:1' | '1:1';
};

type FrameInputMetadata = {
Expand Down Expand Up @@ -395,7 +395,7 @@ type FrameButtonMetadata =

type FrameImageMetadata = {
src: string;
aspectRatio?: '1.91:1' | '1.1';
aspectRatio?: '1.91:1' | '1:1';
};

type FrameInputMetadata = {
Expand Down

0 comments on commit 00a7b3e

Please sign in to comment.