diff --git a/frontend/src/App.css b/frontend/src/App.css index 333b924..08ad523 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -1,4 +1,8 @@ #root { + height: 100%; +} + +#app { max-width: 1280px; margin: 0 auto; padding: 2rem; diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 2da4a5d..d8d284f 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -33,12 +33,14 @@ function App() { return ( - - } /> - } /> - } /> - } /> - +
+ + } /> + } /> + } /> + } /> + +
) } diff --git a/frontend/src/routes/root.jsx b/frontend/src/routes/root.jsx index a18da81..f7b9a33 100644 --- a/frontend/src/routes/root.jsx +++ b/frontend/src/routes/root.jsx @@ -1,21 +1,52 @@ import '../App.css'; import LandingMic from '../widgets/LandingMic'; -import MemoryNote from '../widgets/MemoryNote'; import { Divider } from "antd"; +import { Input, Button, Card } from 'antd'; +import { StarOutlined } from '@ant-design/icons'; -function Root({ notes }) { +function Root() { return ( <> +

+ Welcome back, Janet +

+
+

Total Entries


+

9

+ +

Entries this week


+

3

+
+
-

Record a memory

- + } style={{ backgroundColor: '#bfdbfe' }}/> + } + size="large" + onSearch={value => console.log(value)} + /> + + + Example searches:
+ - Am I improving at collaboration?
+ - What are my best qualities?
+ - Do I overwork myself? +
-

Recent Memories

- {notes.slice(0, 3).map((note, index) => ( - - ))} +

Record a memory

+
) diff --git a/frontend/src/widgets/LandingMic.jsx b/frontend/src/widgets/LandingMic.jsx index 77fdcbd..4e73e63 100644 --- a/frontend/src/widgets/LandingMic.jsx +++ b/frontend/src/widgets/LandingMic.jsx @@ -7,9 +7,8 @@ function LandingMic(props) {