|
@@ -38,6 +38,23 @@ const RecentlyCreatedLinkButton = React.memo(() => {
|
|
|
|
|
|
|
|
RecentlyCreatedLinkButton.displayName = 'RecentlyCreatedLinkButton';
|
|
RecentlyCreatedLinkButton.displayName = 'RecentlyCreatedLinkButton';
|
|
|
|
|
|
|
|
|
|
+const RecentActivityLinkButton = React.memo(() => {
|
|
|
|
|
+ const { t } = useTranslation();
|
|
|
|
|
+ return (
|
|
|
|
|
+ <ScrollLink to="recent-activity-list" offset={-120}>
|
|
|
|
|
+ <button
|
|
|
|
|
+ type="button"
|
|
|
|
|
+ className="btn btn-sm btn-outline-neutral-secondary rounded-pill d-flex align-items-center w-100 px-3"
|
|
|
|
|
+ >
|
|
|
|
|
+ <span className="material-symbols-outlined mx-1">update</span>
|
|
|
|
|
+ <span>{t('user_home_page.recent_activity')}</span>
|
|
|
|
|
+ </button>
|
|
|
|
|
+ </ScrollLink>
|
|
|
|
|
+ );
|
|
|
|
|
+});
|
|
|
|
|
+
|
|
|
|
|
+RecentActivityLinkButton.displayName = 'RecentActivityLinkButton';
|
|
|
|
|
+
|
|
|
|
|
|
|
|
export type ContentLinkButtonsProps = {
|
|
export type ContentLinkButtonsProps = {
|
|
|
author?: IUserHasId,
|
|
author?: IUserHasId,
|
|
@@ -54,6 +71,7 @@ export const ContentLinkButtons = (props: ContentLinkButtonsProps): JSX.Element
|
|
|
<div className="d-grid gap-2">
|
|
<div className="d-grid gap-2">
|
|
|
<BookMarkLinkButton />
|
|
<BookMarkLinkButton />
|
|
|
<RecentlyCreatedLinkButton />
|
|
<RecentlyCreatedLinkButton />
|
|
|
|
|
+ <RecentActivityLinkButton />
|
|
|
</div>
|
|
</div>
|
|
|
);
|
|
);
|
|
|
};
|
|
};
|