Skip to content

Commit

Permalink
fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
markvanaalst committed Mar 8, 2024
1 parent ddc30c1 commit 1d3c0ce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const Default = (props: VenueProps): JSX.Element => {
className="component-content"
>
<Flex minWidth={{ base: '100%', md: '50%' }} alignSelf={'center'} px={{ base: '8', md: 0 }}>
<Stack width={{ base: '100%', md: '70%', xl: "50%" }} gap={8} alignSelf={'flex-end'}>
<Stack width={{ base: '100%', md: '70%', xl: '50%' }} gap={8} alignSelf={'flex-end'}>
<Heading as={'h2'}>
<JssText field={props.fields.Headline} />
</Heading>
Expand Down Expand Up @@ -101,7 +101,11 @@ export const Default = (props: VenueProps): JSX.Element => {

{/* Render carousel if there are images */}
{props.fields.VenueImages != null && (
<Box minWidth={{ base: '100%', md: '50%' }} as={SliderWrapper} mt={{ base: '10', md: '0' }} >
<Box
minWidth={{ base: '100%', md: '50%' }}
as={SliderWrapper}
mt={{ base: '10', md: '0' }}
>
<Slider {...settings} ref={() => setSlider(slider)}>
{props.fields.VenueImages?.map((image, index) => (
<Image src={image.url} key={index} borderRadius={{ base: 'none', md: '2xl' }} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ export const Default: Story = {
value: 'Additional Info Title',
},
AdditionalInfoText: {
value: '<p>Feel free to imagine this luxurious retreat nestled by the turquoise waters, where guests can unwind in hammocks under swaying palm trees</p>',
value:
'<p>Feel free to imagine this luxurious retreat nestled by the turquoise waters, where guests can unwind in hammocks under swaying palm trees</p>',
},
ButtonLink: {
value: {
Expand Down

0 comments on commit 1d3c0ce

Please sign in to comment.