diff --git a/components/ActionBar/ActionButton.tsx b/components/ActionBar/ActionButton.tsx
index 6a4ebd46..0cd62d03 100644
--- a/components/ActionBar/ActionButton.tsx
+++ b/components/ActionBar/ActionButton.tsx
@@ -86,10 +86,3 @@ export const ActionButton = (
);
};
-
-// ok currently in the middle of making the actions on home, looseleaf, and pub appear at the top by the page title
-// i then need to find a good place for the publication list in the footer
-// but first i really need to refactor action button
-// 1) make a primary variant
-// 2) make a secondary variant
-//
\ No newline at end of file
diff --git a/components/ActionBar/MobileNavigation.tsx b/components/ActionBar/MobileNavigation.tsx
index 634fb343..db63d327 100644
--- a/components/ActionBar/MobileNavigation.tsx
+++ b/components/ActionBar/MobileNavigation.tsx
@@ -22,6 +22,7 @@ import { TagSmall } from "components/Icons/TagSmall";
import { Avatar } from "components/Avatar";
import { useProfileFromDid } from "src/utils/getRecordFromDid";
import { LoginActionButton } from "components/LoginButton";
+import { ButtonPrimary } from "components/Buttons";
export const MobileNavigation = (props: {
currentPage: navPages;
@@ -33,36 +34,94 @@ export const MobileNavigation = (props: {
let compactOnMobile =
props.currentPage === "home" ||
props.currentPage === "looseleafs" ||
- props.currentPage === "pub"
- ? false
- : true;
+ props.currentPage === "pub";
+ function getPubIcons() {
+ let hasLooseleafs = !!identity?.permission_token_on_homepage.find(
+ (f) =>
+ f.permission_tokens.leaflets_to_documents &&
+ f.permission_tokens.leaflets_to_documents[0]?.document,
+ );
+
+ if (identity && identity.publications.length >= 1) {
+ return (
+