From 411e92829b8c96887e68f3d13b5d1c597aa617b5 Mon Sep 17 00:00:00 2001
From: Daniel Clifton
<110032454+DanielCliftonGuardian@users.noreply.github.com>
Date: Fri, 13 Dec 2024 10:13:59 +0000
Subject: [PATCH] Remove accreditation text (#12969)
* Remove accreditation text
* conflicts
---
.../src/components/Titlepiece.importable.tsx | 40 -------------------
dotcom-rendering/src/paletteDeclarations.ts | 7 ----
2 files changed, 47 deletions(-)
diff --git a/dotcom-rendering/src/components/Titlepiece.importable.tsx b/dotcom-rendering/src/components/Titlepiece.importable.tsx
index 497d852cf65..29e11681ac1 100644
--- a/dotcom-rendering/src/components/Titlepiece.importable.tsx
+++ b/dotcom-rendering/src/components/Titlepiece.importable.tsx
@@ -3,8 +3,6 @@ import {
from,
headlineBold14,
space,
- textSansBold14,
- textSansBold17,
until,
visuallyHidden,
} from '@guardian/source/foundations';
@@ -62,32 +60,6 @@ const slimNavEditionSwitcherOverrides = css`
}
`;
-const accreditationStyles = css`
- ${gridContent}
- grid-row: 1;
- justify-self: start;
- align-self: start;
- display: flex;
- flex-wrap: wrap;
- padding-top: 10px;
- color: ${themePalette('--masthead-accreditation-text')};
-
- ${textSansBold14}
-
- ${until.mobileMedium} {
- display: none;
- }
- ${until.mobileLandscape} {
- max-width: 100px;
- }
-`;
-
-const accreditationStylesFromLeftCol = css`
- ${from.leftCol} {
- ${textSansBold17}
- }
-`;
-
const logoStyles = css`
${gridMainColumn}
grid-row: 1;
@@ -540,18 +512,6 @@ export const Titlepiece = ({
- {/* Accreditation text */}
- {!showSlimNav && editionId === 'UK' && (
-
- News provider of the year
-
- )}
-
{/** Expanded menu checkbox */}
{
}
};
-const mastheadAccreditationText: PaletteFunction = () =>
- sourcePalette.brandAlt[400];
-
const pinnedPostBorderLight: PaletteFunction = ({ theme }) => {
switch (theme) {
case Pillar.News:
@@ -6640,10 +6637,6 @@ const paletteColours = {
light: liveBlockContainerBackgroundLight,
dark: liveBlockContainerBackgroundDark,
},
- '--masthead-accreditation-text': {
- light: mastheadAccreditationText,
- dark: mastheadAccreditationText,
- },
'--masthead-nav-background': {
light: mastheadNavBackground,
dark: mastheadNavBackground,