diff --git a/packages/app/src/domain/topical/components/topical-theme-header.tsx b/packages/app/src/domain/topical/components/topical-theme-header.tsx
index 32a329128b..b26cd806d5 100644
--- a/packages/app/src/domain/topical/components/topical-theme-header.tsx
+++ b/packages/app/src/domain/topical/components/topical-theme-header.tsx
@@ -6,25 +6,21 @@ import { TopicalIcon } from '@corona-dashboard/common/src/types';
import DynamicIcon from '~/components/get-icon-by-name';
import theme from '~/style/theme';
import { PortableTextEntry } from '@sanity/block-content-to-react';
-import { Markdown } from '~/components';
import { fontSizes } from '~/style/theme';
interface TopicalThemeHeaderProps {
title: string;
subtitle?: PortableTextEntry[] | null;
- subtitleThermometer?: string | null;
icon: TopicalIcon;
}
-export const TopicalThemeHeader = ({ title, subtitle, subtitleThermometer, icon }: TopicalThemeHeaderProps) => {
+export const TopicalThemeHeader = ({ title, subtitle, icon }: TopicalThemeHeaderProps) => {
return (
- {icon && (
-
-
-
- )}
+
+
+
{title}
{subtitle && (
@@ -32,11 +28,6 @@ export const TopicalThemeHeader = ({ title, subtitle, subtitleThermometer, icon
)}
- {subtitleThermometer && (
-
-
-
- )}
);
};
diff --git a/packages/app/src/pages/index.tsx b/packages/app/src/pages/index.tsx
index 6535b090b0..74f6b46aff 100644
--- a/packages/app/src/pages/index.tsx
+++ b/packages/app/src/pages/index.tsx
@@ -116,17 +116,7 @@ const Home = (props: StaticProps) => {
{currentSeverityLevelTexts && (
-
+
{
'level': level,
diff --git a/packages/app/src/queries/query-types.ts b/packages/app/src/queries/query-types.ts
index 6e5301c4a7..325bcd32ec 100644
--- a/packages/app/src/queries/query-types.ts
+++ b/packages/app/src/queries/query-types.ts
@@ -11,6 +11,7 @@ export interface TopicalSanityData {
interface ThermometerConfig {
title: string;
+ subTitle: PortableTextEntry[] | null;
currentLevel: SeverityLevel;
datesLabel: string;
levelDescription: string;
diff --git a/packages/cms/src/schemas/topical/thermometer.ts b/packages/cms/src/schemas/topical/thermometer.ts
index 254978d645..ff19b183bb 100644
--- a/packages/cms/src/schemas/topical/thermometer.ts
+++ b/packages/cms/src/schemas/topical/thermometer.ts
@@ -16,6 +16,11 @@ export const thermometer = {
type: 'localeString',
validation: REQUIRED,
},
+ {
+ title: 'De beschrijving van de thermometer',
+ name: 'subTitle',
+ type: 'localeRichContentBlock'
+ },
{
title: 'Huidige stand',
name: 'currentLevel',