Skip to content

Commit

Permalink
chore : global prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
kangjuhyup authored Oct 7, 2024
1 parent c1d5d6b commit 1b98182
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/component/card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ interface CardProps {
}

const Card = ({ image, title, category, detail }: CardProps) => {
const backgroundImageUrl = `${import.meta.env.BASE_URL}${image}`;
return (
<Paper
shadow="md"
p="xl"
radius="md"
style={{ backgroundImage: `url(${image})` }}
style={{ backgroundImage: `url(${backgroundImageUrl})` }}
className={classes.card}
>
<div>
Expand Down

0 comments on commit 1b98182

Please sign in to comment.