Skip to content

Commit

Permalink
tweak image routing
Browse files Browse the repository at this point in the history
  • Loading branch information
francisco-leal committed Feb 23, 2024
1 parent 2b69cf9 commit 5492f5c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions resources/views/pages/leaderboard.edge
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>farscout - leaderboard</title>
<meta property="fc:frame" content="vNext" />
<meta property="fc:frame:image" content="https://farscout.xyz{{route('generated_images.leaderboard')}}" />
<meta property="fc:frame:image" content="https://farscout.xyz/generated_images/leaderboard" />
<meta property="fc:frame:image:aspect_ratio" content="1:1" />
<meta property="fc:frame:button:1" content="My score" />
<meta property="fc:frame:button:1:action" content="post" />
Expand All @@ -19,7 +19,7 @@
<meta property="fc:frame:post_url" content="https://farscout.xyz/frames/leaderboard" />
<meta property="og:title" content="farscout - leaderboard" />
<meta property="og:description" content="revealing your farcaster score" />
<meta property="fc:frame:image" content="https://farscout.xyz{{route('generated_images.leaderboard')}}" />
<meta property="fc:frame:image" content="https://farscout.xyz/generated_images/leaderboard" />
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>

Expand Down
4 changes: 2 additions & 2 deletions resources/views/pages/score.edge
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>farscout</title>
<meta property="fc:frame" content="vNext" />
<meta property="fc:frame:image" content="https://farscout.xyz{{route('generated_images.score', [fid])}}" />
<meta property="fc:frame:image" content="https://farscout.xyz/generated_images/score/{{fid}}" />
<meta property="fc:frame:image:aspect_ratio" content="1:1" />
<meta property="fc:frame:button:1" content="Search" />
<meta property="fc:frame:button:1:action" content="post" />
Expand All @@ -19,7 +19,7 @@
<meta property="fc:frame:post_url" content="https://farscout.xyz/frames/score" />
<meta property="og:title" content="farscout" />
<meta property="og:description" content="revealing your farcaster score" />
<meta property="og:image" content="https://farscout.xyz{{route('generated_images.score', [fid])}}" />
<meta property="og:image" content="https://farscout.xyz/generated_images/score/{{fid}}" />

@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/pages/search.edge
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>farscout - search</title>
<meta property="fc:frame" content="vNext" />
<meta property="fc:frame:image" content="https://farscout.xyz/images/thumbnail.png" />
<meta property="fc:frame:image" content="https://farscout.xyz/images/main.png" />
<meta property="fc:frame:image:aspect_ratio" content="1:1" />
<meta property="fc:frame:input:text" content="farcaster username" />
<meta property="fc:frame:button:1" content="Search" />
<meta property="fc:frame:button:1:action" content="post" />
<meta property="fc:frame:post_url" content="https://farscout.xyz/frames/search" />
<meta property="og:title" content="farscout" />
<meta property="og:description" content="revealing your farcaster score" />
<meta property="og:image" content="https://farscout.xyz/images/thumbnail.png" />
<meta property="og:image" content="https://farscout.xyz/images/main.png" />

@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/pages/top_followers.edge
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>farscout - followers</title>
<meta property="fc:frame" content="vNext" />
<meta property="fc:frame:image" content="https://farscout.xyz{{route('generated_images.followers', [fid])}}" />
<meta property="fc:frame:image" content="https://farscout.xyz/generated_images/followers/{{fid}}" />
<meta property="fc:frame:image:aspect_ratio" content="1:1" />
<meta property="fc:frame:button:1" content="My score" />
<meta property="fc:frame:button:1:action" content="post" />
Expand All @@ -19,7 +19,7 @@
<meta property="fc:frame:post_url" content="https://farscout.xyz/frames/followers" />
<meta property="og:title" content="farscout - leaderboard" />
<meta property="og:description" content="revealing your farcaster score" />
<meta property="fc:frame:image" content="https://farscout.xyz{{route('generated_images.followers', [fid])}}" />
<meta property="fc:frame:image" content="https://farscout.xyz/generated_images/followers/{{fid}}" />
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>

Expand Down

0 comments on commit 5492f5c

Please sign in to comment.