update Header
This commit is contained in:
parent
3d0ab9b455
commit
16bea36f4f
16
dist/index.js
vendored
16
dist/index.js
vendored
@ -1800,24 +1800,24 @@ function yn({ children: e, ...r }) {
|
||||
{
|
||||
as: "header",
|
||||
w: "100%",
|
||||
h: "92px",
|
||||
borderBottom: "1px solid",
|
||||
h: "110px",
|
||||
borderBottom: "1px",
|
||||
borderColor: "gray.200",
|
||||
bg: "#fdfbff",
|
||||
bg: "blue.400",
|
||||
px: "20px",
|
||||
zIndex: 10,
|
||||
position: "fixed",
|
||||
top: 0,
|
||||
color: "white",
|
||||
...r,
|
||||
children: /* @__PURE__ */ b(W, { h: "100%", alignItems: "center", justifyContent: "space-between", children: e })
|
||||
}
|
||||
);
|
||||
}
|
||||
function bn({ children: e, ...r }) {
|
||||
return /* @__PURE__ */ b(W, { alignItems: "end", h: "100%", py: "10px", ...r, children: e });
|
||||
return /* @__PURE__ */ b(W, { alignItems: "center", h: "100%", py: "10px", ...r, children: e });
|
||||
}
|
||||
function vn(e) {
|
||||
return /* @__PURE__ */ b(Qe, { loading: "lazy", ...e });
|
||||
return /* @__PURE__ */ b(Qe, { loading: "lazy", alt: "logo", ...e });
|
||||
}
|
||||
function xn({ children: e, ...r }) {
|
||||
return /* @__PURE__ */ b(
|
||||
@ -1826,7 +1826,7 @@ function xn({ children: e, ...r }) {
|
||||
alignItems: "start",
|
||||
justifyContent: "end",
|
||||
h: "100%",
|
||||
spacing: 0,
|
||||
spacing: 1,
|
||||
...r,
|
||||
children: e
|
||||
}
|
||||
@ -1849,7 +1849,7 @@ function gn({ logoSrc: e = "/logob.png", ...r }) {
|
||||
...r,
|
||||
children: [
|
||||
/* @__PURE__ */ b(Qe, { src: e, loading: "lazy" }),
|
||||
/* @__PURE__ */ b(L, { fontSize: "xs", fontWeight: "bold", textAlign: "center", children: "موسسه تولید سیستم های خبره و هوشمند اسلامی باقرالعلوم(ع)" })
|
||||
/* @__PURE__ */ b(L, { fontSize: "xs", fontWeight: "bold", textAlign: "center", children: "موسسه تولید سیستم های خبره و هوشمند اسلامی باقرالعلوم (ع)" })
|
||||
]
|
||||
}
|
||||
);
|
||||
|
||||
@ -8,14 +8,14 @@ function HeaderRoot({ children, ...props }) {
|
||||
<Box
|
||||
as="header"
|
||||
w="100%"
|
||||
h="92px"
|
||||
borderBottom="1px solid"
|
||||
h="110px"
|
||||
borderBottom="1px"
|
||||
borderColor="gray.200"
|
||||
bg="#fdfbff"
|
||||
bg="blue.400"
|
||||
px="20px"
|
||||
zIndex={10}
|
||||
position="fixed"
|
||||
top={0}
|
||||
color="white"
|
||||
{...props}
|
||||
>
|
||||
<HStack h="100%" alignItems="center" justifyContent="space-between">
|
||||
@ -27,14 +27,14 @@ function HeaderRoot({ children, ...props }) {
|
||||
|
||||
function BrandSection({ children, ...props }) {
|
||||
return (
|
||||
<HStack alignItems="end" h="100%" py="10px" {...props}>
|
||||
<HStack alignItems="center" h="100%" py="10px" {...props}>
|
||||
{children}
|
||||
</HStack>
|
||||
);
|
||||
}
|
||||
|
||||
function Logo(props) {
|
||||
return <Image loading="lazy" {...props} />;
|
||||
return <Image loading="lazy" alt="logo" {...props} />;
|
||||
}
|
||||
|
||||
function Brand({ children, ...props }) {
|
||||
@ -43,7 +43,7 @@ function Brand({ children, ...props }) {
|
||||
alignItems="start"
|
||||
justifyContent="end"
|
||||
h="100%"
|
||||
spacing={0}
|
||||
spacing={1}
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
@ -74,7 +74,7 @@ function Bi({ logoSrc = "/logob.png", ...props }) {
|
||||
>
|
||||
<Image src={logoSrc} loading="lazy" />
|
||||
<Text fontSize="xs" fontWeight="bold" textAlign="center">
|
||||
موسسه تولید سیستم های خبره و هوشمند اسلامی باقرالعلوم(ع)
|
||||
موسسه تولید سیستم های خبره و هوشمند اسلامی باقرالعلوم (ع)
|
||||
</Text>
|
||||
</VStack>
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user