update Header

This commit is contained in:
Mohamadzadeh 2026-06-14 10:27:58 +03:30
parent 9f735a3468
commit 68c285d75c

View File

@ -3,7 +3,7 @@
import React from "react"; import React from "react";
import { Box, HStack, Image, Text, VStack } from "@chakra-ui/react"; import { Box, HStack, Image, Text, VStack } from "@chakra-ui/react";
function AppHeaderRoot({ children, ...props }) { function HeaderRoot({ children, ...props }) {
return ( return (
<Box <Box
as="header" as="header"
@ -80,7 +80,7 @@ function Bi({ logoSrc = "/logob.png", ...props }) {
); );
} }
export const AppHeader = Object.assign(AppHeaderRoot, { export const Header = Object.assign(HeaderRoot, {
BrandSection, BrandSection,
Logo, Logo,
Brand, Brand,