diff --git a/client/documentation/admin-dashboard/committee.md b/client/documentation/admin-dashboard/committee.md new file mode 100644 index 0000000..5127371 --- /dev/null +++ b/client/documentation/admin-dashboard/committee.md @@ -0,0 +1,13 @@ +## Committee Members + +Profiles of the Committee Members of the club that are displayed on the about page. + +## Fields + +**Id:** Required and unique field for the club member that is on the committee. It is an integer field that corresponds to the raw integer id of a row in the Member table, as a Foreign Key if you know databases. + +**Role:** Required and unique field for the specific role in the committee that this member has. It is something known as an Enum (Enumeration), which has a discrete number of custom choices. You can choose from 'President', 'Vice President', 'Secretary', 'Treasurer', 'Marketing', 'Events OCM', 'Projects OCM', and 'Fresher Rep'. Since they must be unique, you can only have 8 objects in the Committee table at a time for now. This can definitely be changed in the future when the committee grows. + +## Other Notes + +Before making a Committee object in the Committee table, you must make a Member object for the person that's on the committee and then link it through the id (just to clarify) diff --git a/client/documentation/pages/about-committee.md b/client/documentation/pages/about-committee.md new file mode 100644 index 0000000..38b8f54 --- /dev/null +++ b/client/documentation/pages/about-committee.md @@ -0,0 +1,11 @@ +## About/Committee Page + +Has a description of the club, it's aim's etc, along with a big feature photo, intended to be a group photo of the committee or a big event? Then below is a display of all the current committee members of the club, showing name, role and pronouns. + +## Hardcoded content to be modified by committee members + +The club description and feature photo are the only things hardcoded into the website's front-end. Starting from the root directory of this website's source, this code to modify can be found in /client/src/pages/about.tsx + +## Other Notes + +The Committee Members are always displayed in the same order on the about page, which is the order mentioned in admin-dashboard/committee.md. If a certain Committee object can't be retreived, a placeholder Committee Member portrait will be displayed to maintain the same order. \ No newline at end of file diff --git a/client/src/pages/about.tsx b/client/src/pages/about.tsx index df3e144..99bcedb 100644 --- a/client/src/pages/about.tsx +++ b/client/src/pages/about.tsx @@ -30,19 +30,25 @@ export default function AboutPage() {
+ {/*>>Hardcoded description of the club to be altered<<*/} Description of the clubs aims, why it exists, its mission, etc etc. Second paragraph here, a second paragraph would be pretty cool. The more info the better yippee!! + {/*>>Hardcoded description of the club to be altered<<*/}
+ {/*>>Hardcoded description of the club to be altered<<*/} Lorem ipsum dolor such and such I can't remember the rest. + {/*>>Hardcoded description of the club to be altered<<*/}