diff --git a/pages/researchhub-journal/index.tsx b/pages/researchhub-journal/index.tsx index 61c783cab..1edcf86a7 100644 --- a/pages/researchhub-journal/index.tsx +++ b/pages/researchhub-journal/index.tsx @@ -10,9 +10,12 @@ import ScrollingHubTags from "~/components/ResearchHubJournal/ScrollingHubTags"; import { useState } from "react"; import { useRouter } from 'next/router'; import JournalLayout from "~/components/ResearchHubJournal/JournalLayout"; +import PaperVersionModal from "~/components/Document/lib/PaperVersion/PaperVersionModal"; +import { ACTION } from "~/components/Document/lib/PaperVersion/PaperVersionTypes"; function ResearchHubJournalPage(): JSX.Element { const router = useRouter(); + const [showPaperModal, setShowPaperModal] = useState(false); const scrollToHowItWorks = () => { const howItWorksSection = document.getElementById('how-it-works'); @@ -42,7 +45,7 @@ function ResearchHubJournalPage(): JSX.Element {
-
Coming Soon
+
Available Now
@@ -56,10 +59,10 @@ function ResearchHubJournalPage(): JSX.Element {
+ + {showPaperModal && ( + setShowPaperModal(false)} + action="PUBLISH_IN_JOURNAL" + /> + )}
);