Skip to content

Commit

Permalink
better references, fix notification
Browse files Browse the repository at this point in the history
  • Loading branch information
lassejaco committed Nov 10, 2024
1 parent e612085 commit 8177039
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ export const NotificationCard = (props: any) => {
return (
<div className="flex justify-between gap-0 border border-solid border-gray-200 rounded-xl p-4 w-full bg-white mb-2 relative">
<div className="flex flex-col gap-2">
<p className="text-sm semi-bold pr-10">{notification.title}</p>
<p className="text-sm semi-bold pr-11">{notification.title}</p>
<p className="text-xs pr-4">{notification.message}</p>
</div>
<div className="flex flex-col gap-1 shrink-0 items-end absolute right-4 top-4">
<div className="flex flex-col gap-1 shrink-0 items-end absolute right-4 top-4 lg:top-[18px]">
<p className="text-xs text-[#7D52F4] shrink-0 font-semibold">{getTimeAgo(notification.sendAt)}</p>
{isNew && <div className="text-[#7D52F4] h-[12px] flex items-center justify-center text-base"></div>}
</div>
Expand Down
7 changes: 7 additions & 0 deletions lib/components/ai/overlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,13 @@ const DevaBot = ({
</Link>
);
}
} else if (
file?.filename?.includes(
"Devcon Thrival Guide"
)
) {
// TODO: add link to thrival guide
return;
} else {
otherReferences.push(
<div key={index}>
Expand Down

0 comments on commit 8177039

Please sign in to comment.