Closed jtmichelson closed 1 year ago
So about that, the pages->about.tsx
directory path nesting means that's the file path to the about page file. While the directory path components->headers->about.tsx
is the file path to the about page's header file, since we have so many different variations of the header component. But I'll work on just having a single header component file that conditionally renders a given header based on which page you are on.
okay finished doing this.
There are too many duplicate file names and unnecessarily nested dirs. For example there is a
components->headers->about.tsx
and apages->about.tsx
. Does this mean there is a separate About Header component that is only used one time and that's in the About Page - does it just add the specific text to the base header component?