diff --git a/apps/ui/modules/style/typography.tsx b/apps/ui/modules/style/typography.tsx deleted file mode 100644 index 3ad2ec960a..0000000000 --- a/apps/ui/modules/style/typography.tsx +++ /dev/null @@ -1,6 +0,0 @@ -import styled from "styled-components"; - -export const HeroSubheading = styled.p` - font-size: var(--fontsize-body-l); - line-height: var(--lineheight-xl); -`; diff --git a/apps/ui/pages/recurring/[id]/index.tsx b/apps/ui/pages/recurring/[id]/index.tsx index 35d918d249..f16da28b30 100644 --- a/apps/ui/pages/recurring/[id]/index.tsx +++ b/apps/ui/pages/recurring/[id]/index.tsx @@ -1,6 +1,5 @@ import React from "react"; import { useTranslation } from "next-i18next"; -import styled from "styled-components"; import type { GetServerSidePropsContext } from "next"; import { Notification } from "hds-react"; import { serverSideTranslations } from "next-i18next/serverSideTranslations"; @@ -15,7 +14,6 @@ import { } from "@gql/gql-types"; import { filterNonNullable } from "common/src/helpers"; import { SeasonalSearchForm } from "@/components/search/SeasonalSearchForm"; -import { HeroSubheading } from "@/modules/style/typography"; import { createApolloClient } from "@/modules/apolloClient"; import BreadcrumbWrapper from "@/components/common/BreadcrumbWrapper"; import { ReservationUnitCard } from "@/components/search/ReservationUnitCard"; @@ -65,12 +63,6 @@ export async function getServerSideProps(ctx: GetServerSidePropsContext) { }; } -// Uses larger font size -// TODO should move the default 0 margin to the typography file -const Ingress = styled(HeroSubheading)` - margin: 0; -`; - function SeasonalSearch({ applicationRounds, unitOptions, @@ -116,8 +108,10 @@ function SeasonalSearch({ ) : null} -

{t("search:recurring.heading")}

- {t("search:recurring.text")} +
+

{t("search:recurring.heading")}

+

{t("search:recurring.text")}

+
{t("recurringLander:heading")} - {t("recurringLander:subHeading")} +

{t("recurringLander:subHeading")}

<> {activeApplicationRounds.length > 0 ? (