ObieSource / obiesource.github.io

The ObieSource Website. Project Leader: Ajai Nelson
https://obiesource.github.io/
2 stars 22 forks source link

React #32

Closed wknowleskellett closed 1 year ago

wknowleskellett commented 1 year ago

Tagging @iosenberg as the project leader and @yen-mai-codes since she wrote *all* of this. I just fixed merge conflicts.

What I did: Yen's project should no longer have merge conflicts with the source branch. Additionally, since I don't understand how the react part of this project is configured, I've moved files I think we'll have to relocate into the ./old/ directory.

Notes to move forward: For Git to know which new files relate to which old files, we should use git mv instead of mv when moving files and folders around. For instance, I recommend the following workflow:

  1. Decide for some file in ./old/ where it should go for it to work with React.
    • For instance, move myfile.html to public/About
  2. Run git mv old/members/myfile.html public/About. Now the file is moved there, and Git knows it.
  3. Maybe commit right then, maybe don't, but then:
  4. Edit the file to work within the system (sandwich it in some React delivery code or something)
  5. Definitely commit now. Take credit for your changes! Seize the day!