const addressForArticles = "ndcGigArticle"; const authorsWhitelist = [ "neardigitalcollective.near", "blaze.near", "jlw.near", "kazanderdad.near", "joep.near", "sarahkornfeld.near", "yuensid.near", ]; const authorForWidget = "neardigitalcollective.near"; const accountId = props.accountId ?? context.accountId; if (!accountId) { return "No account ID"; } const profile = props.profile ?? Social.getr(`${accountId}/profile`); if (profile === null) { return "Loading"; } return ( <div className="container-fluid" style={{ backgroundColor: "rgb(230, 230, 230)", borderRadius: "20px", padding: "0", }} > <Widget src={`${authorForWidget}/widget/Gigs_MainNavigation`} props={{ currentNavPill: "articles", writersWhiteList }} /> <div style={{ margin: "0 auto", width: "90%", minWidth: "360px" }}> <Widget src={`${authorForWidget}/widget/Gigs_AllArticleList`} props={{ writersWhiteList }} /> </div> </div> );