From acfcf523a7e14bb812aca26356ddb02ab4f0d9f8 Mon Sep 17 00:00:00 2001
From: TomNUSDS <74203452+TomNUSDS@users.noreply.github.com>
Date: Mon, 7 Jun 2021 09:22:07 -0700
Subject: [PATCH] Add timeline page (#105)
* Add timeline page
* Factor out common aside into component.
* Update J40Footer.spec.tsx.snap
TODO: Get nav menu working.
---
client/src/components/J40Aside.tsx | 56 +++++++++++++
client/src/components/J40Footer.tsx | 3 +-
.../__snapshots__/J40Footer.spec.tsx.snap | 2 +-
client/src/pages/index.tsx | 53 +------------
client/src/pages/timeline.tsx | 79 +++++++++++++++++++
client/src/styles/global.scss | 14 +++-
6 files changed, 152 insertions(+), 55 deletions(-)
create mode 100644 client/src/components/J40Aside.tsx
create mode 100644 client/src/pages/timeline.tsx
diff --git a/client/src/components/J40Aside.tsx b/client/src/components/J40Aside.tsx
new file mode 100644
index 00000000..8f97a2d1
--- /dev/null
+++ b/client/src/components/J40Aside.tsx
@@ -0,0 +1,56 @@
+import * as React from 'react';
+
+// @ts-ignore
+import chatIcon from '/node_modules/uswds/dist/img/usa-icons/chat.svg';
+// @ts-ignore
+import githubIcon from '/node_modules/uswds/dist/img/usa-icons/github.svg';
+
+const J40Aside = () => {
+ return (
+ <>
+
+ >
+ );
+};
+
+export default J40Aside;
diff --git a/client/src/components/J40Footer.tsx b/client/src/components/J40Footer.tsx
index c6b0a46c..6210597c 100644
--- a/client/src/components/J40Footer.tsx
+++ b/client/src/components/J40Footer.tsx
@@ -11,8 +11,7 @@ const J40Footer = () => {
primary={<>>}
secondary={