Skip to content

Commit

Permalink
Testing PR for lzay loading
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek-01k committed Jul 29, 2024
1 parent d912a62 commit c1c83e4
Showing 1 changed file with 6 additions and 31 deletions.
37 changes: 6 additions & 31 deletions src/modules/dashboard/components/DashboardHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,43 +17,18 @@ const DashboardHeader: FC<DashboardHeaderProps> = ({ setSubHeaderVisibility, sho
justifyContent="space-between"
margin={showSubHeader ? 'spacing-none' : 'spacing-none spacing-none spacing-sm spacing-none'}
>
<Box
flexDirection="row"
display="flex"
gap="spacing-xs"
>
<Box flexDirection="row" display="flex" gap="spacing-xs">
<Text variant="h3-semibold">👋</Text>
<Text
variant="h3-semibold"
color="text-primary"
>
GM! Welcome to Push.
<Text variant="h3-semibold" color="text-primary">
GM! Welcome to Push Protocol.
</Text>
</Box>

<Box
display="flex"
alignItems="center"
onClick={() => setSubHeaderVisibility(!showSubHeader)}
>
<Box display="flex" alignItems="center" onClick={() => setSubHeaderVisibility(!showSubHeader)}>
{showSubHeader ? (
<HoverableSVG
icon={
<Dash
size={20}
color="icon-tertiary"
/>
}
></HoverableSVG>
<HoverableSVG icon={<Dash size={20} color="icon-tertiary" />}></HoverableSVG>
) : (
<HoverableSVG
icon={
<Add
size={20}
color="icon-tertiary"
/>
}
></HoverableSVG>
<HoverableSVG icon={<Add size={20} color="icon-tertiary" />}></HoverableSVG>
)}
</Box>
</Box>
Expand Down

0 comments on commit c1c83e4

Please sign in to comment.