diff --git a/frontends/mit-open/src/page-components/Header/UserMenu.tsx b/frontends/mit-open/src/page-components/Header/UserMenu.tsx index f06c30bfa8..e422394217 100644 --- a/frontends/mit-open/src/page-components/Header/UserMenu.tsx +++ b/frontends/mit-open/src/page-components/Header/UserMenu.tsx @@ -157,7 +157,7 @@ const UserMenu: React.FC = ({ variant }) => { reloadDocument={true} href={loginUrl} > - Sign Up / Log In + Log In ) : ( diff --git a/frontends/mit-open/src/pages/DepartmentListingPage/DepartmentListingPage.test.tsx b/frontends/mit-open/src/pages/DepartmentListingPage/DepartmentListingPage.test.tsx index 7d67007d27..512cf93d58 100644 --- a/frontends/mit-open/src/pages/DepartmentListingPage/DepartmentListingPage.test.tsx +++ b/frontends/mit-open/src/pages/DepartmentListingPage/DepartmentListingPage.test.tsx @@ -88,7 +88,7 @@ describe("DepartmentListingPage", () => { await waitFor(() => { expect(document.title).toBe("Departments | MIT Open") }) - screen.getByRole("heading", { name: "Departments" }) + screen.getByRole("heading", { name: "Browse by Academic Department" }) }) it("Lists schools and departments", async () => { diff --git a/frontends/mit-open/src/pages/DepartmentListingPage/DepartmentListingPage.tsx b/frontends/mit-open/src/pages/DepartmentListingPage/DepartmentListingPage.tsx index 90a4beed94..c22ccd71a5 100644 --- a/frontends/mit-open/src/pages/DepartmentListingPage/DepartmentListingPage.tsx +++ b/frontends/mit-open/src/pages/DepartmentListingPage/DepartmentListingPage.tsx @@ -218,7 +218,7 @@ const DepartmentListingPage: React.FC = () => { { return (
- Browse by Topics + Browse by Topic {topics?.results.map(({ id, name, channel_url: channelUrl }) => { return ( diff --git a/frontends/mit-open/src/pages/HomePage/HeroSearch.tsx b/frontends/mit-open/src/pages/HomePage/HeroSearch.tsx index a7ff529819..1ed4ade3cf 100644 --- a/frontends/mit-open/src/pages/HomePage/HeroSearch.tsx +++ b/frontends/mit-open/src/pages/HomePage/HeroSearch.tsx @@ -213,7 +213,7 @@ const HeroSearch: React.FC = () => { grow variant="outlined" size="medium" - label="Browse by Topics" + label="Browse by Topic" href="/topics/" /> { { label: "Upcoming", href: "/search?sortby=upcoming" }, { label: "Free", href: "/search?free=true" }, { label: "With Certificate", href: "/search?certification=true" }, - { label: "Browse by Topics", href: "/topics/" }, + { label: "Browse by Topic", href: "/topics/" }, { label: "Explore All", href: "/search/" }, ] expected.forEach(({ label, href }) => { @@ -131,7 +131,7 @@ describe("Home Page Carousel", () => { }, }, { - tab: "Professional and Executive Learning", + tab: "Professional & Executive Learning", params: { resource_type: ["course"], limit: 12, professional: true }, }, ])("Featured Courses Carousel Tabs", async ({ tab, params }) => { @@ -165,7 +165,7 @@ describe("Home Page Carousel", () => { within(featured).getByRole("tab", { name: "Free" }) within(featured).getByRole("tab", { name: "With Certificate" }) within(featured).getByRole("tab", { - name: "Professional and Executive Learning", + name: "Professional & Executive Learning", }) within(media).getByRole("tab", { name: "All" }) within(media).getByRole("tab", { name: "Videos" }) @@ -173,7 +173,7 @@ describe("Home Page Carousel", () => { }) }) -describe("Home Page Browse by Topics", () => { +describe("Home Page Browse by Topic", () => { test("Displays topics links", async () => { setupAPIs() const response = learningResources.topics({ count: 3 }) @@ -184,7 +184,7 @@ describe("Home Page Browse by Topics", () => { await waitFor(() => { const section = screen .getByRole("heading", { - name: "Browse by Topics", + name: "Browse by Topic", })! .closest("section")! diff --git a/frontends/mit-open/src/pages/HomePage/TestimonialsSection.tsx b/frontends/mit-open/src/pages/HomePage/TestimonialsSection.tsx index c76eeb3c58..068152db7f 100644 --- a/frontends/mit-open/src/pages/HomePage/TestimonialsSection.tsx +++ b/frontends/mit-open/src/pages/HomePage/TestimonialsSection.tsx @@ -258,7 +258,7 @@ const TestimonialsSection: React.FC = () => { From our Community - Here's what other subscribers had to say about MIT Open + Transforming education through the eyes of our learners diff --git a/frontends/mit-open/src/pages/HomePage/carousels.ts b/frontends/mit-open/src/pages/HomePage/carousels.ts index ec12cf29db..b77f549cb1 100644 --- a/frontends/mit-open/src/pages/HomePage/carousels.ts +++ b/frontends/mit-open/src/pages/HomePage/carousels.ts @@ -35,7 +35,7 @@ const FEATURED_RESOURCES_CAROUSEL: ResourceCarouselProps["config"] = [ }, }, { - label: "Professional and Executive Learning", + label: "Professional & Executive Learning", cardProps: { size: "medium" }, data: { type: "lr_featured", diff --git a/frontends/mit-open/src/pages/SearchPage/SearchPage.tsx b/frontends/mit-open/src/pages/SearchPage/SearchPage.tsx index cbc79c0f33..61d88de735 100644 --- a/frontends/mit-open/src/pages/SearchPage/SearchPage.tsx +++ b/frontends/mit-open/src/pages/SearchPage/SearchPage.tsx @@ -189,7 +189,7 @@ const SearchPage: React.FC = () => { onClear={() => { setCurrentTextAndQuery("") }} - placeholder="Search for resources" + placeholder="What do you want to learn?" /> diff --git a/frontends/mit-open/src/pages/TopicListingPage/TopicsListingPage.test.tsx b/frontends/mit-open/src/pages/TopicListingPage/TopicsListingPage.test.tsx index 0828c8efc2..fa3badbfb4 100644 --- a/frontends/mit-open/src/pages/TopicListingPage/TopicsListingPage.test.tsx +++ b/frontends/mit-open/src/pages/TopicListingPage/TopicsListingPage.test.tsx @@ -92,7 +92,7 @@ describe("DepartmentListingPage", () => { await waitFor(() => { expect(document.title).toBe("Topics | MIT Open") }) - screen.getByRole("heading", { name: "Topics" }) + screen.getByRole("heading", { name: "Browse by Topic" }) }) it("Lists subtopics grouped by topic", async () => { diff --git a/frontends/mit-open/src/pages/TopicListingPage/TopicsListingPage.tsx b/frontends/mit-open/src/pages/TopicListingPage/TopicsListingPage.tsx index cf3644a0bd..9126a3e3bd 100644 --- a/frontends/mit-open/src/pages/TopicListingPage/TopicsListingPage.tsx +++ b/frontends/mit-open/src/pages/TopicListingPage/TopicsListingPage.tsx @@ -287,8 +287,8 @@ const ToopicsListingPage: React.FC = () => { current="Topics" /> } - title="Topics" - description="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam." + title="Browse by Topic" + description="" backgroundUrl={TOPICS_BANNER_IMAGE} />