+
+
+ )}
diff --git a/app/scripts/components/publication-tool/atoms.ts b/app/scripts/components/publication-tool/atoms.ts
new file mode 100644
index 000000000..62787f13b
--- /dev/null
+++ b/app/scripts/components/publication-tool/atoms.ts
@@ -0,0 +1,272 @@
+import { atomWithStorage } from 'jotai/utils';
+import { useParams } from 'react-router';
+import { useAtom, useAtomValue, useSetAtom } from 'jotai';
+import { useCallback, useMemo } from 'react';
+import { EditorStory } from './types';
+import { toEditorDataStory, toMDXDocument } from './utils';
+
+const DEFAULT_STORY: EditorStory = {
+ frontmatter: {
+ id: 'example-data-story',
+ name: 'Example Data Story',
+ description: 'This is an example data story',
+ pubDate: '2023-01-01',
+ taxonomy: []
+ },
+ currentBlockId: '1',
+ blocks: [
+ {
+ id: '1',
+ tag: 'Block',
+ mdx: `
+
+ ### Your markdown header
+
+ Your markdown contents comes here.
+
+
+
+ Levels in 10¹⁵ molecules cm⁻². Darker colors indicate higher nitrogen dioxide (NO₂) levels associated and more activity. Lighter colors indicate lower levels of NO₂ and less activity.
+