diff --git a/app/home/LeafletList.tsx b/app/home/LeafletList.tsx index 45533755..c7483e62 100644 --- a/app/home/LeafletList.tsx +++ b/app/home/LeafletList.tsx @@ -54,7 +54,7 @@ export function LeafletList(props: { .map((ll) => ll.token); return ( -
+
{leaflets.map((leaflet, index) => ( { let { identity } = useIdentityData(); // if (!identity || !identity.atp_did) return ; return ( -
+
- - New Publication - +
+ + new + + {identity && identity?.publications.length > 2} + + all + +
); }; @@ -33,10 +43,13 @@ const PublicationList = (props: { let { identity } = useIdentityData(); return ( -
- +
+
+ +
+ {/* {props.publications?.map((d) => (
@@ -63,7 +76,7 @@ function Publication(props: { uri: string; name: string; handle: string }) { function HardCodePublication(props: { name: string }) { return (
diff --git a/app/home/page.tsx b/app/home/page.tsx index 16649370..c2759c5a 100644 --- a/app/home/page.tsx +++ b/app/home/page.tsx @@ -15,6 +15,7 @@ import { getIdentityData } from "actions/getIdentityData"; import { getFactsFromHomeLeaflets } from "app/api/rpc/[command]/getFactsFromHomeLeaflets"; import { HomeSidebar } from "./HomeSidebar"; import { HomeFooter } from "./HomeFooter"; +import { Media } from "components/Media"; import { MyPublicationList } from "./Publications"; import { supabaseServerClient } from "supabase/serverClient"; @@ -96,7 +97,13 @@ export default async function Home() {
- + +
+
+ +
+
+
diff --git a/components/Icons/GoToArrow.tsx b/components/Icons/GoToArrow.tsx new file mode 100644 index 00000000..55bf39ce --- /dev/null +++ b/components/Icons/GoToArrow.tsx @@ -0,0 +1,18 @@ +import { Props } from "./Props"; + +export const GoToArrow = (props: Props) => { + return ( + + + + ); +};