Skip to content

Commit

Permalink
πŸ’„ design: 일뢀 색상 μˆ˜μ • #188
Browse files Browse the repository at this point in the history
  • Loading branch information
dannysir committed Nov 26, 2024
1 parent 74090ae commit afbfdc9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions FE/src/components/News/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ type CardWithImageProps = {
export default function Card({ data }: CardWithImageProps) {
return (
<a
className='flex cursor-pointer flex-col rounded-lg border p-4 transition-all hover:bg-gray-50'
className='flex cursor-pointer flex-col rounded-lg border p-4 transition-all hover:bg-juga-grayscale-50'
href={data.link}
target='_blank'
rel='noopener noreferrer'
>
<div className={'mb-2 flex w-full flex-row items-center justify-between'}>
<div className={'flex flex-row items-center gap-3'}>
<span className='rounded-full bg-blue-50 px-2 py-0.5 text-xs text-blue-600'>
<span className='rounded-full bg-juga-blue-10 px-2 py-0.5 text-xs text-juga-blue-50'>
증ꢌ
</span>
<h3 className='w-[320px] truncate text-left text-base font-medium'>
Expand All @@ -23,10 +23,10 @@ export default function Card({ data }: CardWithImageProps) {
<span className={'w-fit text-sm text-gray-500'}>{data.date}</span>
</div>
<div className='flex w-full items-center justify-between gap-4'>
<p className='w-96 truncate text-left text-sm text-gray-500'>
<p className='w-96 truncate text-left text-sm text-juga-grayscale-500'>
{data.img}
</p>
<span className='whitespace-nowrap text-sm text-gray-500'>
<span className='whitespace-nowrap text-sm text-juga-grayscale-500'>
{data.publisher}
</span>
</div>
Expand Down

0 comments on commit afbfdc9

Please sign in to comment.