fix header
All checks were successful
Build and Deploy Next.js + Nginx Docker Image / build-and-deploy (push) Successful in 50s
Build and Deploy Next.js + Nginx Docker Image / deploy (push) Successful in 7s

This commit is contained in:
Mohamadzadeh 2026-09-01 19:13:32 +03:30
parent 10c6006112
commit 1161dad904
3 changed files with 79 additions and 74 deletions

136
dist/layout.js vendored

File diff suppressed because one or more lines are too long

View File

@ -18,10 +18,7 @@ function ActualHeader() {
<Header.Logo src={demoLogo} /> <Header.Logo src={demoLogo} />
<Header.Brand> <Header.Brand>
<Header.Title>سامانه نمونه هوش تجاری</Header.Title> <Header.Title>سامانه مدیریت کاربران</Header.Title>
{/* <Header.Description>
پیشنمایش مستقیم کامپوننت Header از سورس UI Kit
</Header.Description>*/}
</Header.Brand> </Header.Brand>
</Header.BrandSection> </Header.BrandSection>

View File

@ -34,6 +34,7 @@ function BrandSection({ children, ...props }) {
return ( return (
<HStack <HStack
alignItems="center" alignItems="center"
justifyContent="flex-start"
h="100%" h="100%"
minW={0} minW={0}
flex="1" flex="1"
@ -64,11 +65,12 @@ function Logo(props) {
function Brand({ children, ...props }) { function Brand({ children, ...props }) {
return ( return (
<VStack <VStack
alignItems="start" alignItems="flex-start"
justifyContent="center" justifyContent="center"
h="100%" h="100%"
minW={0} minW={0}
flex="1" maxW="100%"
flex="0 1 auto"
spacing={{ base: 0, lg: 1 }} spacing={{ base: 0, lg: 1 }}
{...props} {...props}
> >
@ -80,10 +82,11 @@ function Brand({ children, ...props }) {
function Title({ children, ...props }) { function Title({ children, ...props }) {
return ( return (
<Text <Text
w="100%" maxW="100%"
fontWeight="bold" fontWeight="bold"
fontSize={{ base: "15px", lg: "20px" }} fontSize={{ base: "15px", lg: "20px" }}
lineHeight="short" lineHeight="short"
textAlign="start"
noOfLines={1} noOfLines={1}
{...props} {...props}
> >
@ -95,9 +98,10 @@ function Title({ children, ...props }) {
function Description({ children, ...props }) { function Description({ children, ...props }) {
return ( return (
<Text <Text
w="100%" maxW="100%"
fontSize={{ base: "10px", sm: "11px", lg: "16px" }} fontSize={{ base: "10px", sm: "11px", lg: "16px" }}
lineHeight={{ base: "shorter", lg: "normal" }} lineHeight={{ base: "shorter", lg: "normal" }}
textAlign="start"
noOfLines={1} noOfLines={1}
{...props} {...props}
> >