diff --git a/package-lock.json b/package-lock.json index 1729f7d..a8812a3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vite_react_shadcn_ts", - "version": "0.0.0", + "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vite_react_shadcn_ts", - "version": "0.0.0", + "version": "0.0.1", "dependencies": { "@heroicons/react": "^2.2.0", "@hookform/resolvers": "^3.9.0", diff --git a/package.json b/package.json index cd67b06..ab5c282 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vite_react_shadcn_ts", "private": true, - "version": "0.0.0", + "version": "0.0.1", "type": "module", "scripts": { "dev": "vite", diff --git a/src/components/game/ExpertMemo.css b/src/components/game/ExpertMemo.css index 828adbd..a8ed1f9 100644 --- a/src/components/game/ExpertMemo.css +++ b/src/components/game/ExpertMemo.css @@ -34,10 +34,10 @@ ); background-size: 20px 20px, 20px 20px, 4px 4px; padding: 1rem; - border: 1px solid rgb(234 179 8); + border: 1px solid rgba(255, 255, 255, 0.08); font-family: 'IBM Plex Mono', monospace; box-shadow: - 0 0 20px rgba(234, 179, 8, 0.15), + 0 0 15px rgba(17, 24, 39, 0.4), inset 0 0 80px rgba(0, 0, 0, 0.7); width: 100%; max-width: 1200px; @@ -52,6 +52,22 @@ letter-spacing: 0.02em; } +.expert-memo::before { + content: ''; + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 6px; + background: linear-gradient( + 180deg, + rgba(234, 179, 8, 0.85), + rgba(234, 179, 8, 0.45) + ); + border-radius: 2px 0 0 2px; + pointer-events: none; +} + @media (min-width: 640px) { .expert-memo { padding: 2rem; @@ -65,6 +81,14 @@ inset 0 0 80px rgba(0, 0, 0, 0.7); } +.expert-memo.alert::before { + background: linear-gradient( + 180deg, + rgba(239, 68, 68, 0.9), + rgba(239, 68, 68, 0.5) + ); +} + .memo-header { border-bottom: 1px solid rgba(255, 255, 255, 0.15); padding-bottom: 1.25rem; diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index 1bda7e8..1b11b95 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -318,93 +318,116 @@ const Index = () => { return (
-
+
{showIntroDialog && setShouldStartAudio(true)} />} - - -
- - - {t('mission.topSecret')} - - - - - {t('mission.classified')} - -
- -
- - {t('mission.title', { operationName })} - -
- - {t('mission.classified')} - -
-
- - - - {t('mission.clearanceLevel')} - - -
- - -
-
-
-

{t('mission.directorate')}

-
-
-

{t('mission.to', { agentNumber })}

-

{t('mission.subject', { operationName })}

-

Date: {new Date().toLocaleDateString('en-GB')}

-
-
- -
-
-

Briefing Audio

- -
-
-

{t('mission.briefing.part1')}

+ +
+
+
+
+
+
+ + + {t('mission.topSecret')} + +
+ + + {t('mission.classified')} +
-

{t('mission.briefing.part2')}

+
+

+ {t('mission.directorate')} +

+
+ {t('mission.to', { agentNumber })} + {t('mission.subject', { operationName })} + + {new Date().toLocaleDateString('en-GB')} + +
+
+ +
+
+ + {t('mission.clearanceLevel')} + +

+ {t('mission.title', { operationName })} +

+
+

+ {t('mission.quote')} +

+
-

{t('mission.briefing.warning')}

+
+ +
+ +
+
+
+ +
+
+
+
+
+

+ {t('mission.briefingAudioLabel', 'Briefing Audio')} +

+ + +
+
+ + {t('mission.clearanceLevel')} +
+
+ +
+

{t('mission.briefing.part1')}

+

{t('mission.briefing.part2')}

+
+ +
+

+ {t('mission.briefing.warning')} +

+
+
- -
-

- {t('mission.quote')} -

- -
- -

- {t('warnings.selfDestruct')} -

-
-
- - +
+
+
+
); diff --git a/src/version.ts b/src/version.ts index 21be863..88cfa83 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,7 +1,13 @@ export const VERSION = { - current: '0.6.1', - releaseDate: '2025-05-08', + current: '0.6.2', + releaseDate: '2025-05-09', changelog: { + '0.6.2': [ + 'Redesigned mission intro screen with streamlined layout and spacing', + 'Softened expert memo visuals by replacing the full yellow border with an accent bar', + 'Refined accept mission CTA arrangement with improved typography and language switcher placement', + 'Updated briefing text styling and metadata formatting for better readability' + ], '0.6.1': [ 'Added Romanian translation for real world examples content', 'Improved real world examples UI with i18n support',