Open drjova opened 2 years ago
Plan:
for ideas: https://raygun.com/blog/javascript-unit-testing-frameworks/
I managed to adapt the styles for the header. There are small differences- the font looks bigger on the original CAT. However, none of the buttons and neither search field doesn't work.
The original intention was to continue using the same style files as the CAT project is currently using. The React app project and NextJS, however, do not load styles in the same way. Because style classes are grouped for various cases and components, it is very challenging to investigate each class separately. As a result, it becomes difficult to keep track of each of them.
Due to the simplicity of the library, it has been decided to switch to using styled-components. We can style each component individually with styled-components, which makes it simpler to comprehend how each component is styled.
The new strategy is to replace all CSS classes that are currently being read from files with the built-in styling of styled-components.
Started the lecture page:
more improvements on the lecture page:
Got rid off App.css file
Setup the next js project on git: https://github.com/cern-sis/cern-academic-training-next-js