Skip to content

Commit

Permalink
Merge branch 'dev' into feature/responsive-tech-stack
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan-Y-Ko authored Sep 27, 2023
2 parents 8f77259 + a25d341 commit 167eec3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions src/components/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,17 @@ interface BannerProps {

function Banner({ image, alt, title, description }: BannerProps) {
return (
<div className="card w-full max-h-[320px] bg-primary-content flex flex-row px-20 py-10 box-border">
<Image src={image} alt={alt} width={454} height={200} priority={false} />
<div className="flex flex-col justify-center pl-24 gap-y-3.5">
<div className="card w-full max-h-[320px] bg-primary-content flex flex-row justify-between px-20 py-10 box-border gap-x-10 lg:gap-x-20">
<div className="h-[200px] w-[276px] relative shrink-0">
<Image
src={image}
alt={alt}
fill={true}
objectFit="contain"
priority={false}
/>
</div>
<div className="flex flex-col max-w-[700px] 2xl:max-w-none justify-center gap-y-3.5">
<h3 className="text-3xl font-bold text-base-300">{title}</h3>
<p className="text-lg font-medium text-base-300">{description}</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default function Sidebar() {
<aside
className={`overflow-y-auto ${
isOpenSidebar ? "w-[18.438rem]" : "w-[5.813rem]"
} text-center bg-base-200 flex flex-col justify-between border-r border-neutral-content`}
} text-center bg-base-200 flex flex-col justify-between border-r border-neutral-content shadow-[4px_4px_4px_0] shadow-neutral-focus/5`}
>
<ul
className={`flex flex-col ${
Expand Down

0 comments on commit 167eec3

Please sign in to comment.