🔥 Remove experimental header
This commit is contained in:
@@ -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": {
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user