diff --git a/packages/app/src/Element/Trending/ShortNote.tsx b/packages/app/src/Element/Trending/ShortNote.tsx
new file mode 100644
index 000000000..afe1da33c
--- /dev/null
+++ b/packages/app/src/Element/Trending/ShortNote.tsx
@@ -0,0 +1,19 @@
+import { NostrLink, TaggedNostrEvent } from "@snort/system";
+import ProfileImage from "@/Element/User/ProfileImage";
+import Text from "@/Element/Text";
+import { Link } from "react-router-dom";
+import NoteTime from "@/Element/Event/NoteTime";
+
+export default function ShortNote({ event }: { event: TaggedNostrEvent }) {
+ return (
+
+
+
+
+
+
+ );
+}
diff --git a/packages/app/src/Element/Trending/TrendingPosts.tsx b/packages/app/src/Element/Trending/TrendingPosts.tsx
index a4bf73f95..6c3514da1 100644
--- a/packages/app/src/Element/Trending/TrendingPosts.tsx
+++ b/packages/app/src/Element/Trending/TrendingPosts.tsx
@@ -8,6 +8,8 @@ import NostrBandApi from "@/External/NostrBand";
import { ErrorOrOffline } from "@/Element/ErrorOrOffline";
import { useLocale } from "@/IntlProvider";
import useModeration from "@/Hooks/useModeration";
+import ShortNote from "@/Element/Trending/ShortNote";
+import classNames from "classnames";
export default function TrendingNotes({ count = Infinity, small = false }) {
// Added count prop with a default value
@@ -45,13 +47,17 @@ export default function TrendingNotes({ count = Infinity, small = false }) {
};
return (
-
+
{posts
.filter(a => !isEventMuted(a))
.slice(0, count) // Limit the number of posts displayed
- .map(e => (
-
- ))}
+ .map(e =>
+ small ? (
+
+ ) : (
+
+ ),
+ )}
);
}
diff --git a/packages/app/src/Pages/Layout/RightColumn.tsx b/packages/app/src/Pages/Layout/RightColumn.tsx
index 571eec3f1..dc146159c 100644
--- a/packages/app/src/Pages/Layout/RightColumn.tsx
+++ b/packages/app/src/Pages/Layout/RightColumn.tsx
@@ -15,11 +15,11 @@ export default function RightColumn() {