Skip to content

Commit

Permalink
fix: Change announcement card on highlight feed to starsearch (#3313)
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Taylor <nick@nickyt.co>
  • Loading branch information
BekahHW and nickytonline committed May 6, 2024
1 parent 1da1c51 commit a38af76
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions e2e/homepage.spec.ts
Expand Up @@ -12,7 +12,5 @@ test("Loads home page (logged out user)", async ({ page }) => {
await expect(page.getByRole("complementary", { name: "Repositories", exact: true })).toBeVisible();
await expect(page.getByRole("complementary", { name: "Featured Highlights", exact: true })).toBeVisible();
await expect(page.getByRole("complementary", { name: "Subscribe to our newsletter", exact: true })).toBeVisible();
await expect(
page.getByRole("complementary", { name: "Track your project with Workspaces!", exact: true })
).toBeVisible();
await expect(page.getByRole("complementary", { name: "Introducing Star Search!", exact: true })).toBeVisible();
});
10 changes: 5 additions & 5 deletions pages/feed/index.tsx
Expand Up @@ -199,13 +199,13 @@ const Feeds: WithPageLayout<HighlightSSRProps> = (props: HighlightSSRProps) => {
/>
)}
<AnnouncementCard
title="Track your project with Workspaces!"
title="Introducing Star Search!"
description={
"Set up your Workspace to get you and your team access to information about pull requests, issues, and contributors for all your repositories."
"Sign up for StarSearch, our AI-powered feature that provides in-depth insights into contributor history and activities, bringing a new depth of knowledge about open source projects."
}
bannerSrc={"/try-workspaces.png"}
url={"/workspaces/new?welcome=true"}
cta={"Try it"}
bannerSrc={"/assets/images/anouncement-cards/star-search-announcement-card.png"}
url={"/star-search/waitlist"}
cta={"Join the Waitlist!"}
/>
</div>
</div>
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a38af76

Please sign in to comment.