Skip to content

Commit

Permalink
Merge pull request #13 from purwadhikafullstack/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
jordansmrd authored Jul 16, 2024
2 parents a08c204 + 368dbaa commit c25d743
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 120 deletions.
17 changes: 9 additions & 8 deletions apps/web/src/components/hero/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function Hero() {
base: '30%',
sm: '10px',
md: '10px',
lg: '20px',
lg: '160px',
});

const cards = [
Expand Down Expand Up @@ -68,9 +68,9 @@ export default function Hero() {
<Box display={{ base: 'none', sm: 'block', md: 'none', xs: 'none' }}>
<IconButton
aria-label="left-arrow"
colorScheme="gray"
colorScheme="green"
variant={'outline'}
_hover={{ bgColor: 'gray' }}
_hover={{ bgColor: 'white' }}
borderRadius="full"
position="absolute"
left={side}
Expand All @@ -79,13 +79,13 @@ export default function Hero() {
zIndex={2}
onClick={() => slider?.slickPrev()}
>
<BiLeftArrowAlt color="white" />
<BiLeftArrowAlt color="green" />
</IconButton>
<IconButton
aria-label="right-arrow"
colorScheme="gray"
colorScheme="green"
variant={'outline'}
_hover={{ bgColor: 'gray' }}
_hover={{ bgColor: 'white' }}
borderRadius="full"
position="absolute"
right={side}
Expand All @@ -94,7 +94,7 @@ export default function Hero() {
zIndex={99}
onClick={() => slider?.slickNext()}
>
<BiRightArrowAlt color="white" />
<BiRightArrowAlt color="green" />
</IconButton>
</Box>
<Slider {...settings} ref={(slider) => setSlider(slider)}>
Expand All @@ -105,8 +105,9 @@ export default function Hero() {
position="relative"
backgroundPosition="center"
backgroundRepeat="no-repeat"
backgroundSize="cover"
backgroundSize="contain"
backgroundImage={`url(${card.image})`}
bgPos={'top'}
>
<Link href={card.link}></Link>
</Box>
Expand Down
112 changes: 0 additions & 112 deletions apps/web/src/components/promo/bannerPromo/page.tsx

This file was deleted.

0 comments on commit c25d743

Please sign in to comment.