@homefile/components-v2 2.40.36 → 2.40.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Container, Flex, Image, Stack } from '@chakra-ui/react';
|
|
3
|
-
import {
|
|
3
|
+
import { HomefileUpdate } from '../../../assets/images';
|
|
4
4
|
export const PanelLogoHeader = ({ children }) => {
|
|
5
|
-
return (_jsx(Container, { variant: "secondary", p: "4", children: _jsxs(Stack, { children: [_jsx(Flex, { justifyContent: "space-between", alignItems: "center", children: _jsx(Image, { src:
|
|
5
|
+
return (_jsx(Container, { variant: "secondary", p: "4", children: _jsxs(Stack, { children: [_jsx(Flex, { justifyContent: "space-between", alignItems: "center", children: _jsx(Image, { src: HomefileUpdate, alt: "Homefile", h: "image.logo" }) }), children] }) }));
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Center, Container, Image } from '@chakra-ui/react';
|
|
3
|
-
import {
|
|
3
|
+
import { HomefileUpdate } from '../../assets/images';
|
|
4
4
|
export const Logo = () => {
|
|
5
|
-
return (_jsx(Container, { variant: "ghost", size: "full", children: _jsx(Center, { h: "container.xxs", children: _jsx(Image, { src:
|
|
5
|
+
return (_jsx(Container, { variant: "ghost", size: "full", children: _jsx(Center, { h: "container.xxs", children: _jsx(Image, { src: HomefileUpdate, alt: "Homefile", h: "image.logo" }) }) }));
|
|
6
6
|
};
|
|
@@ -2,9 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { t } from 'i18next';
|
|
3
3
|
import { Flex, Text, Box, Image } from '@chakra-ui/react';
|
|
4
4
|
import { Logo } from '../../../components';
|
|
5
|
-
import {
|
|
5
|
+
import { HomefileUpdate } from '../../../assets/images';
|
|
6
6
|
export const AuthHeader = ({ isPartner = false }) => {
|
|
7
7
|
if (!isPartner)
|
|
8
8
|
return _jsx(Logo, {});
|
|
9
|
-
return (_jsxs(Flex, { align: "center", justify: "space-between", w: "full", h: "container.xxs", px: ['container.sm', 'container.md', 'container.lg'], children: [_jsx(Image, { src:
|
|
9
|
+
return (_jsxs(Flex, { align: "center", justify: "space-between", w: "full", h: "container.xxs", px: ['container.sm', 'container.md', 'container.lg'], children: [_jsx(Image, { src: HomefileUpdate, alt: "Homefile", h: "image.logo" }), _jsx(Box, { pl: "base", borderLeft: "1px solid", borderColor: "gray.200", children: _jsx(Text, { fontSize: "lg", fontWeight: "medium", children: t('partner.admin') }) })] }));
|
|
10
10
|
};
|