Skip to content

Commit

Permalink
images in public directory
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-defi committed Aug 22, 2024
1 parent 17f0f6e commit 71ef280
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { getUserNamePicture, UsernameTextRecordKeys } from 'apps/web/src/utils/u
import { USERNAME_L2_RESOLVER_ADDRESSES } from 'apps/web/src/addresses/usernames';
import L2ResolverAbi from 'apps/web/src/abis/L2Resolver';
import ImageRaw from 'apps/web/src/components/ImageRaw';
import registrationImageBackground from './registration-bg.png';
import registrationImageBackground from 'apps/web/public/images/frames/basenames/registration-bg.png';

export const config = {
runtime: 'edge',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ImageResponse } from '@vercel/og';
import { NextRequest } from 'next/server';
import { isDevelopment } from 'apps/web/src/constants';
import { openGraphImageHeight, openGraphImageWidth } from 'apps/web/src/utils/opengraphs';
import retrySearchImageBackground from './retry-search-image.png';
import retrySearchImageBackground from 'apps/web/public/images/frames/basenames/retry-search-image.png';

export const config = {
runtime: 'edge',
Expand Down
2 changes: 1 addition & 1 deletion apps/web/pages/api/basenames/frame/frameResponses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ export const txSuccessFrame = (name: string) =>
{
action: 'link',
label: `Go to your profile`,
target: `${DOMAIN}/name/${name}`,
},
],
image: {
src: `${DOMAIN}/images/basenames/contract-uri/feature-image.png`,
},
target: `${DOMAIN}/name/${name}`,
});

0 comments on commit 71ef280

Please sign in to comment.