Go to utccf.com to view the current website.
To edit anything on the website, you will need to be added as a collaborator first. Please send your git email, username, and a short explanation to why you need to edit to utccfcommittee@gmail.com. Alternatively, login to GitHub using that email account if you have access.
To edit information, you can clone the repository and push changes OR edit directly from your browser.
All of the information displayed on the website can be found in public/docs/yyyy-yy
.
Within the /info
directory, edit xxxxx.json
to change information relating to:
- Advisors
- Committee
- Igs
- Ministries
- Subcommittees
Currently, the website supports Instagram, Facebook, and Email contact options.
- Find the leader whose contact info you want to update
- Inside the
contact
field, paste a new object of this form:
{
"type" : "Facebook" (replace with "Instagram" or "Email" depending on what you're adding)
"link" : "https://facebook.com/example" (for email, it needs to be "mailto:example@example.com" so it can redirect them -- see next section for an example)
}
- Export it to
.pdf
- Put it in the
/visions
directory - Find the ministry/leader in the
/info
and add/edit thevisionFile
attribute to be the exact name of the pdf
For example,
- You upload a new vision called "SocialCoordinator.pdf"
- Navigate to the
/info/committee.json
file - Under the
leaders
attribute for the leader you are looking for, you change theirvisionFile
{
"position": "Social Coordinator",
"name": "Super Cool Person",
"visionFile": "SocialCoordinator.pdf",
"contact": [{
"type": "Email",
"link": "mailto:MySuperCoolEmail@gmail.com"
}]
}
- In your terminal, run
npm run build && npm start
. - Click on the link, e.g.
http://localhost:3000
to view your changes.
Note: You do not have to do this if you edit in the browser.
- Navigate to
utccf-main
in your terminal and stage your changes withgit add .
orgit add [specific file]
(replace[specific file]
with the file you want to change). - Commit your changes with a commit message explaining the changes, e.g.
git commit -m 'Updated comm info for 2023-24'
. - Push your changes using
git push
- View your changes on utccf.com
Please direct all communication regarding the website to the current utccf committee. Happy coding!