fix and polish the return button
This commit is contained in:
parent
10b38e392a
commit
c2d76e002e
4 changed files with 19 additions and 21 deletions
|
@ -29,12 +29,12 @@ const ContextItem: React.FC<ContextItemProps> = ({ item }) => {
|
|||
/>
|
||||
)}
|
||||
<p className="text-black dark:text-white">{item.description}</p>
|
||||
<div className="text-sm text-gray-500 dark:text-gray-400 mt-2">
|
||||
{item.provider[0].name} | {new Date(item.datePublished).toLocaleDateString()}
|
||||
</div>
|
||||
<a href={item.url} target="_blank" rel="noopener noreferrer" className="text-blue-500 hover:underline">
|
||||
Read more
|
||||
</a>
|
||||
<div className="text-sm text-gray-500 dark:text-gray-400 mt-2">
|
||||
{item.provider[0].name} | {new Date(item.datePublished).toLocaleDateString()}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue