Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
feat: removed harcoded bg and updated code
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Fasih Ali Naqvi authored and Muhammad Fasih Ali Naqvi committed Mar 12, 2024
1 parent b7ea4e7 commit f0f8cbc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/blocks/src/lib/cta/cta-right/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const CTARight = ({
variant = 'content-right',
...rest
}: CTABlockProps) => {
return <CTALeft variant={variant} {...rest}></CTALeft>;
return <CTALeft variant={variant} {...rest} />;
};

export default CTARight;
3 changes: 2 additions & 1 deletion libs/blocks/src/lib/hero/content-less/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ const ContentLess = ({
title,
description,
children,
background,
}: HeroBlockProps) => {
return (
<BlockWrapper
title={title}
description={description}
heading="H1"
className={className}
background="light"
background={background}
>
{children}
</BlockWrapper>
Expand Down
1 change: 1 addition & 0 deletions libs/blocks/src/lib/hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export type HeroBlockProps = {
content?: ReactNode;
children?: ReactNode;
className?: string;
background?: 'gray' | 'light';
};

export interface HomeHeroProps {
Expand Down

0 comments on commit f0f8cbc

Please sign in to comment.