Skip to content

Commit 24e008e

Browse files
Info messages (#886)
* remove modals and style info message * remove hero.utils.ts file * remove unused props from dictionary * remove unused props from ja dictionary * fix playwright alerts * disable no-experimental-strip-types * Revert "disable no-experimental-strip-types" This reverts commit 3242917. * Revert "fix playwright alerts" This reverts commit ea25f77. * update color_fg_default variable
1 parent ab18c28 commit 24e008e

File tree

19 files changed

+66
-544
lines changed

19 files changed

+66
-544
lines changed

src/app/[language]/page.tsx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ import {
1616
DECODED_PAYLOAD_DESCRIPTION_KEY,
1717
DECODED_PAYLOAD_FORMAT_KEY,
1818
} from "@/features/decoder/config/decoder.config";
19-
import {
20-
JWT_INFO_STATE_KEY,
21-
JWT_WARNING_STATE_KEY,
22-
} from "@/features/home/config/home.config";
23-
import { HeroModalStateValues } from "@/features/home/values/hero-modal-state.values";
24-
import { getSanitizedHeroModalStateValue } from "@/features/common/services/hero.utils";
2519
import { getSanitizedDescriptionVisibilityValue } from "@/features/common/services/decoder.utils";
2620
import { ClaimDescriptionVisibilityValues } from "@/features/common/values/claim-description-visibility.values";
2721
import { getSanitizedDebuggerModeValues } from "@/features/common/services/debugger.utils";
@@ -60,15 +54,6 @@ export default function Home({
6054
cookies().get(DECODED_PAYLOAD_DESCRIPTION_KEY)?.value || null,
6155
) || ClaimDescriptionVisibilityValues.VISIBLE;
6256

63-
const jwtInfoState =
64-
getSanitizedHeroModalStateValue(
65-
cookies().get(JWT_INFO_STATE_KEY)?.value || null,
66-
) || HeroModalStateValues.OPEN;
67-
const jwtWarningState =
68-
getSanitizedHeroModalStateValue(
69-
cookies().get(JWT_WARNING_STATE_KEY)?.value || null,
70-
) || HeroModalStateValues.OPEN;
71-
7257
const debuggerInitialMode: DebuggerModeValues =
7358
getSanitizedDebuggerModeValues(
7459
cookies().get(DEBUGGER_MODE_KEY)?.value || null,
@@ -81,8 +66,6 @@ export default function Home({
8166
decodedPayloadInitialTabId={decodedPayloadInitialTabId}
8267
decodedHeaderDescriptionVisibility={decodedHeaderDescriptionVisibility}
8368
decodedPayloadDescriptionVisibility={decodedPayloadDescriptionVisibility}
84-
jwtInfoState={jwtInfoState}
85-
jwtWarningState={jwtWarningState}
8669
// debuggerInitialMode={debuggerInitialMode}
8770
/>
8871
);

src/features/common/components/headers/header/header.module.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
@media #{$breakpoint-dimension-sm} {
2222
display: block;
2323
}
24+
@media #{$breakpoint-dimension-xl} {
25+
max-width: $inner-content-grid-max-width;
26+
}
2427
}
2528

2629
.wrapper {

src/features/common/components/hero/hero-banner-modal.module.scss

Lines changed: 0 additions & 147 deletions
This file was deleted.

src/features/common/components/hero/hero-banner.component.tsx

Lines changed: 0 additions & 86 deletions
This file was deleted.

src/features/common/components/hero/hero-info-banner.component.tsx

Lines changed: 0 additions & 76 deletions
This file was deleted.

src/features/common/components/hero/hero-warning-banner.component.tsx

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)