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

Fasih/DPROD-3003/Added heading option and removed content #391

Merged
merged 6 commits into from
Mar 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions libs/blocks/src/lib/hero/content-less/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Content from '../content';
import BlockWrapper from '../../block-wrapper';
import { HeroBlockProps } from '..';

Expand All @@ -9,10 +8,14 @@ const ContentLess = ({
children,
}: HeroBlockProps) => {
return (
<BlockWrapper className={className} background="light">
<Content title={title} description={description} center={true}>
{children}
</Content>
<BlockWrapper
title={title}
description={description}
heading="H1"
className={className}
background="light"
>
fasihali-deriv marked this conversation as resolved.
Show resolved Hide resolved
{children}
</BlockWrapper>
);
};
Expand Down
Loading