🔥 Remove experimental header

This commit is contained in:
ajnart
2023-11-10 21:52:05 +01:00
parent 45b9caf231
commit 9d7a5abfd5
3 changed files with 3 additions and 26 deletions

View File

@@ -1,7 +1,4 @@
{ {
"experimentalNote": {
"label": "This is an experimental feature of Homarr. Please report any issues on <gh>GitHub</gh> or <dc>Discord</dc>."
},
"search": { "search": {
"label": "Search", "label": "Search",
"engines": { "engines": {

View File

@@ -257,7 +257,7 @@ export const ManageLayout = ({ children }: ManageLayoutProps) => {
</Navbar.Section> </Navbar.Section>
</Navbar> </Navbar>
} }
header={<MainHeader showExperimental logoHref="/b/" leftIcon={burgerMenu} />} header={<MainHeader showExperimental={false} logoHref="/b/" leftIcon={burgerMenu} />}
footer={ footer={
<Footer height={25}> <Footer height={25}>
<Group position="apart" px="md"> <Group position="apart" px="md">

View File

@@ -6,6 +6,7 @@ import {
Group, Group,
Header, Header,
Text, Text,
Title,
UnstyledButton, UnstyledButton,
useMantineTheme, useMantineTheme,
} from '@mantine/core'; } from '@mantine/core';
@@ -86,28 +87,7 @@ const ExperimentalHeaderNote = ({ visible = false, height = 30 }: ExperimentalHe
<Flex h="100%" align="center" columnGap={7}> <Flex h="100%" align="center" columnGap={7}>
<IconAlertTriangle color="white" size="1rem" style={{ minWidth: '1rem' }} /> <IconAlertTriangle color="white" size="1rem" style={{ minWidth: '1rem' }} />
<Text color="white" lineClamp={height === 30 ? 1 : 2}> <Text color="white" lineClamp={height === 30 ? 1 : 2}>
<Trans <Title>Make an announcement here</Title>
t={t}
i18nKey="experimentalNote.label"
components={{
gh: (
<Anchor
color="inherit"
style={{ textDecoration: 'underline' }}
target="_blank"
href="https://github.com/ajnart/homarr/issues/new?assignees=&labels=%F0%9F%90%9B+Bug&projects=&template=bug.yml&title=[Authentication%20Beta]:%20%3Ctitle%3E&version=1.14-beta"
/>
),
dc: (
<Anchor
color="inherit"
style={{ textDecoration: 'underline' }}
target="_blank"
href="https://discord.com/invite/aCsmEV5RgA"
/>
),
}}
/>
</Text> </Text>
</Flex> </Flex>
</Box> </Box>