Skip to content

Commit b03b20c

Browse files
committed
⚗️(frontend) add Beta badge to header
We add a beta badge to the header to indicate that the app is in beta.
1 parent bcf5b7b commit b03b20c

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ and this project adheres to
2121
- ✨(frontend) offline mode (#88)
2222
- (frontend) translate cgu (#83)
2323
- ✨(service-worker) offline doc management (#94)
24+
- (frontend) Add beta tag on logo (#121)
2425

2526
## Changed
2627

27-
- Change most of the occurences from pad to document (#76)
2828
- Change site from Impress to Docs (#76)
2929
- Generate PDF from a modal (#68)
3030
- 🔧 (helm) sticky session by request_uri for signaling server (#78)
@@ -33,7 +33,6 @@ and this project adheres to
3333
- ⚡️(e2e) unique login between tests (#80)
3434
- ⚡️(CI) improve e2e job (#86)
3535
- ♻️(frontend) improve the error and message info ui (#93)
36-
- ♻️(frontend) improve the error and message info ui (#93)
3736
- ✏️(frontend) change all occurences of pad to doc (#99)
3837

3938
## Fixed
@@ -43,6 +42,7 @@ and this project adheres to
4342
## Delete
4443

4544
- Remove trigger workflow on push tags on CI (#68)
45+
- (frontend) Remove coming soon page (#121)
4646

4747
## [0.1.0] - 2024-05-24
4848

src/frontend/apps/impress/src/features/header/Header.tsx

+21-2
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,28 @@ export const Header = () => {
5050
}}
5151
/>
5252
<StyledLink href="/">
53-
<Box $align="center" $gap="0.8rem" $direction="row">
53+
<Box
54+
$align="center"
55+
$gap="0.8rem"
56+
$direction="row"
57+
$position="relative"
58+
>
5459
<Image priority src={IconDocs} alt={t('Docs Logo')} width={38} />
55-
<Text $margin="none" as="h2" $theme="primary">
60+
<Text
61+
$padding="3px 5px"
62+
$size="8px"
63+
$background="#368bd6"
64+
$color="white"
65+
$position="absolute"
66+
$radius="5px"
67+
$css={`
68+
top: 9px;
69+
right: -21px;
70+
`}
71+
>
72+
BETA
73+
</Text>
74+
<Text $margin="none" as="h2" $theme="primary" $zIndex={1}>
5675
{t('Docs')}
5776
</Text>
5877
</Box>

0 commit comments

Comments
 (0)