diff --git a/e2e/profiles.spec.ts b/e2e/profiles.spec.ts index 78030f7..7a309e1 100644 --- a/e2e/profiles.spec.ts +++ b/e2e/profiles.spec.ts @@ -15,9 +15,9 @@ test.describe("Given a Profile link", async () => { "Hey", "LensFrens", "Lensta", - "Lenstube", "Riff", "Soclly", + "Tape" ]); }); }); @@ -90,9 +90,9 @@ test.describe("Given a Profile link with `by` attribution param", async () => { "Collectz", "LensFrens", "Lensta", - "Lenstube", "Riff", "Soclly", + "Tape", ]); }); }); diff --git a/e2e/publications.spec.ts b/e2e/publications.spec.ts index 35aea4c..70d0236 100644 --- a/e2e/publications.spec.ts +++ b/e2e/publications.spec.ts @@ -122,8 +122,8 @@ test.describe("Given a Video Publication link", async () => { "Buttrfly", "Collectz", "Hey", - "Lenstube", "Soclly", + "Tape", ]); }); }); @@ -132,10 +132,10 @@ test.describe("Given a Video Publication link", async () => { test.describe("Given a Publication link with `by` attribution param", async () => { test.describe("When opening it", async () => { test("Then it should show the specified app first", async ({ videoPost }) => { - await videoPost.openAsSharedBy("lenstube"); + await videoPost.openAsSharedBy("tape"); await expect(videoPost.options).toHaveText([ - "Lenstube", + "Tape", "Buttrfly", "Collectz", "Hey", diff --git a/manifests/lenstube.json b/manifests/lenstube.json deleted file mode 100644 index 726a16e..0000000 --- a/manifests/lenstube.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "appId": "lenstube", - "name": "Lenstube", - "description": "Lenstube is a decentralized video-sharing social media platform built with Lens protocol.", - "platform": "web", - "icon": { - "url": "https://static.lenstube.xyz/images/brand/lenstube.svg", - "background": "#15192c" - }, - "routes": { - "home": "https://lenstube.xyz/", - "profile": { - "url": "https://lenstube.xyz/channel/:handle" - }, - "publication": { - "url": "https://lenstube.xyz/watch/:id", - "supports": ["VIDEO"] - } - } -} diff --git a/manifests/tape.json b/manifests/tape.json new file mode 100644 index 0000000..d565140 --- /dev/null +++ b/manifests/tape.json @@ -0,0 +1,20 @@ +{ + "appId": "tape", + "name": "Tape", + "description": "Talk, Amplify, Post, Explore.", + "platform": "web", + "icon": { + "url": "https://static.tape.xyz/brand/logo.svg", + "background": "#15192c" + }, + "routes": { + "home": "https://tape.xyz/", + "profile": { + "url": "https://tape.xyz/channel/:handle" + }, + "publication": { + "url": "https://tape.xyz/watch/:id", + "supports": ["VIDEO"] + } + } +} diff --git a/next.config.js b/next.config.js index 627f2ee..ab96396 100644 --- a/next.config.js +++ b/next.config.js @@ -29,6 +29,30 @@ const nextConfig = { destination: "/u/:handle?by=Hey", permanent: false, }, + { + source: "/p/:id", + has: [ + { + type: "query", + key: "by", + value: "lenstube", + }, + ], + destination: "/p/:id?by=tape", + permanent: false, + }, + { + source: "/u/:handle", + has: [ + { + type: "query", + key: "by", + value: "lenstube", + }, + ], + destination: "/u/:handle?by=tape", + permanent: false, + }, ]; }, };