cognovi-ai / the-cdj

The Cognitive Distortion Journal (CDJ) is a smart journaling tool that helps remedy distorted thinking. It can feel impossible to follow the CBT technique of labeling distorted thinking and finding alternative modes of thought (i.e. reframing) while cognitive distortions are occurring. The CDJ does that work for you. -- The CDJ is in beta testing!!
https://thecdj.app
3 stars 0 forks source link

Add Home page. #35

Closed hiyaryan closed 9 months ago

hiyaryan commented 9 months ago

This PR adds the Home page. The initial commit adds the Home page to React Router route with some initial text including the title, some body text describing cognitive distortions, and an Iris Murdoch quote.

hiyaryan commented 9 months ago

It seems more than the home page has been targeted in this PR. The plan is to reset this PR back to where styles were starting to be worked on in different components.

The issue seems to be that a mixture of styles is being used and styles of one is spilling over into styles of other components.

Going back a few commits will allow this PR to focus only on home. But before implementing the home page, it may be worth doing an intermediate PR that moves all styles into MUI styles components.

hiyaryan commented 9 months ago

The previous commit reverts this PR back to the initial commit and refocuses the commit on creating a home page. All styles should be applied only to the home page. If this doesn't work as expected due to the current method of applying styles, then work on refactoring or experimenting with how styles can be applied in PR #36.